Skip to content

Commit 37a8f26

Browse files
committed
Add Welcome Pages
1 parent 699bcfd commit 37a8f26

File tree

7 files changed

+134
-0
lines changed

7 files changed

+134
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Page
2+
x:Class="Flow.Launcher.Resources.Pages.WelcomePage1"
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
Title="WelcomePage1"
9+
d:DesignHeight="450"
10+
d:DesignWidth="800"
11+
mc:Ignorable="d">
12+
13+
<ScrollViewer>
14+
<Grid>
15+
<TextBlock>Page1</TextBlock>
16+
</Grid>
17+
</ScrollViewer>
18+
</Page>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using System.Windows;
7+
using System.Windows.Controls;
8+
using System.Windows.Data;
9+
using System.Windows.Documents;
10+
using System.Windows.Input;
11+
using System.Windows.Media;
12+
using System.Windows.Media.Imaging;
13+
using System.Windows.Navigation;
14+
using System.Windows.Shapes;
15+
16+
namespace Flow.Launcher.Resources.Pages
17+
{
18+
/// <summary>
19+
/// WelcomePage1.xaml에 대한 상호 작용 논리
20+
/// </summary>
21+
public partial class WelcomePage1 : Page
22+
{
23+
public WelcomePage1()
24+
{
25+
InitializeComponent();
26+
}
27+
}
28+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<Page
2+
x:Class="Flow.Launcher.Resources.Pages.WelcomePage2"
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
xmlns:ui="http://schemas.modernwpf.com/2019"
9+
Title="WelcomePage2"
10+
mc:Ignorable="d">
11+
12+
<ScrollViewer>
13+
<Grid>
14+
<TextBlock>Page2</TextBlock>
15+
</Grid>
16+
</ScrollViewer>
17+
</Page>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using System.Windows;
7+
using System.Windows.Controls;
8+
using System.Windows.Data;
9+
using System.Windows.Documents;
10+
using System.Windows.Input;
11+
using System.Windows.Media;
12+
using System.Windows.Media.Imaging;
13+
using System.Windows.Navigation;
14+
using System.Windows.Shapes;
15+
16+
namespace Flow.Launcher.Resources.Pages
17+
{
18+
/// <summary>
19+
/// WelcomePage2.xaml에 대한 상호 작용 논리
20+
/// </summary>
21+
public partial class WelcomePage2 : Page
22+
{
23+
public WelcomePage2()
24+
{
25+
InitializeComponent();
26+
}
27+
}
28+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page
2+
x:Class="Flow.Launcher.Resources.Pages.WelcomePage3"
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
Title="WelcomePage3"
9+
d:DesignHeight="450"
10+
d:DesignWidth="800"
11+
mc:Ignorable="d">
12+
13+
<Grid />
14+
</Page>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using System.Windows;
7+
using System.Windows.Controls;
8+
using System.Windows.Data;
9+
using System.Windows.Documents;
10+
using System.Windows.Input;
11+
using System.Windows.Media;
12+
using System.Windows.Media.Imaging;
13+
using System.Windows.Navigation;
14+
using System.Windows.Shapes;
15+
16+
namespace Flow.Launcher.Resources.Pages
17+
{
18+
/// <summary>
19+
/// WelcomePage3.xaml에 대한 상호 작용 논리
20+
/// </summary>
21+
public partial class WelcomePage3 : Page
22+
{
23+
public WelcomePage3()
24+
{
25+
InitializeComponent();
26+
}
27+
}
28+
}

Flow.Launcher/WelcomeWindow.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public partial class WelcomeWindow : Window
2424
public WelcomeWindow()
2525
{
2626
InitializeComponent();
27+
ContentFrame.Navigate(typeof(SamplePages.SamplePage1));
2728
}
2829

2930
private void ForwardButton_Click(object sender, RoutedEventArgs e)

0 commit comments

Comments
 (0)