mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add Welcome Pages
This commit is contained in:
parent
699bcfd8e5
commit
37a8f26a74
7 changed files with 134 additions and 0 deletions
18
Flow.Launcher/Resources/Pages/WelcomePage1.xaml
Normal file
18
Flow.Launcher/Resources/Pages/WelcomePage1.xaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<Page
|
||||
x:Class="Flow.Launcher.Resources.Pages.WelcomePage1"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Title="WelcomePage1"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<ScrollViewer>
|
||||
<Grid>
|
||||
<TextBlock>Page1</TextBlock>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
</Page>
|
||||
28
Flow.Launcher/Resources/Pages/WelcomePage1.xaml.cs
Normal file
28
Flow.Launcher/Resources/Pages/WelcomePage1.xaml.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Flow.Launcher.Resources.Pages
|
||||
{
|
||||
/// <summary>
|
||||
/// WelcomePage1.xaml에 대한 상호 작용 논리
|
||||
/// </summary>
|
||||
public partial class WelcomePage1 : Page
|
||||
{
|
||||
public WelcomePage1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
17
Flow.Launcher/Resources/Pages/WelcomePage2.xaml
Normal file
17
Flow.Launcher/Resources/Pages/WelcomePage2.xaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<Page
|
||||
x:Class="Flow.Launcher.Resources.Pages.WelcomePage2"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="http://schemas.modernwpf.com/2019"
|
||||
Title="WelcomePage2"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<ScrollViewer>
|
||||
<Grid>
|
||||
<TextBlock>Page2</TextBlock>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
</Page>
|
||||
28
Flow.Launcher/Resources/Pages/WelcomePage2.xaml.cs
Normal file
28
Flow.Launcher/Resources/Pages/WelcomePage2.xaml.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Flow.Launcher.Resources.Pages
|
||||
{
|
||||
/// <summary>
|
||||
/// WelcomePage2.xaml에 대한 상호 작용 논리
|
||||
/// </summary>
|
||||
public partial class WelcomePage2 : Page
|
||||
{
|
||||
public WelcomePage2()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
14
Flow.Launcher/Resources/Pages/WelcomePage3.xaml
Normal file
14
Flow.Launcher/Resources/Pages/WelcomePage3.xaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<Page
|
||||
x:Class="Flow.Launcher.Resources.Pages.WelcomePage3"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Title="WelcomePage3"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid />
|
||||
</Page>
|
||||
28
Flow.Launcher/Resources/Pages/WelcomePage3.xaml.cs
Normal file
28
Flow.Launcher/Resources/Pages/WelcomePage3.xaml.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Flow.Launcher.Resources.Pages
|
||||
{
|
||||
/// <summary>
|
||||
/// WelcomePage3.xaml에 대한 상호 작용 논리
|
||||
/// </summary>
|
||||
public partial class WelcomePage3 : Page
|
||||
{
|
||||
public WelcomePage3()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -24,6 +24,7 @@ namespace Flow.Launcher
|
|||
public WelcomeWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
ContentFrame.Navigate(typeof(SamplePages.SamplePage1));
|
||||
}
|
||||
|
||||
private void ForwardButton_Click(object sender, RoutedEventArgs e)
|
||||
|
|
|
|||
Loading…
Reference in a new issue