main
1using momoney.presentation.model.menu.file;
2using momoney.presentation.presenters;
3using momoney.presentation.views;
4using MoMoney.Presentation.Winforms.Helpers;
5using MoMoney.Presentation.Winforms.Resources;
6
7namespace MoMoney.Presentation.Winforms.Views
8{
9 public partial class WelcomeScreen : ApplicationDockedWindow, IGettingStartedView
10 {
11 public WelcomeScreen()
12 {
13 InitializeComponent();
14 titled("Getting Started").icon(ApplicationIcons.Home);
15
16 ux_open_existing_file_button.will_be_shown_as(ApplicationImages.OpenExistingFile)
17 .when_hovered_over_will_show(ApplicationImages.OpenExistingFileSelected)
18 .will_execute<IOpenCommand>(() => true)
19 .with_tool_tip("Open Existing File", "Open an existing project.");
20
21 ux_create_new_file_button.will_be_shown_as(ApplicationImages.CreateNewFile)
22 .when_hovered_over_will_show(ApplicationImages.CreateNewFileSelected)
23 .will_execute<INewCommand>(() => true)
24 .with_tool_tip("Create New File", "Create a new project.");
25 }
26
27 public void attach_to(IGettingStartedPresenter presenter)
28 {
29 }
30 }
31}