コード例 #1
0
 public LinkTypeWizardStep(LinkDescriptor linkDescriptor)
 {
     _linkDescriptor = linkDescriptor;
     _page           = new LinkTypePage(HandleLinkTypeSelected);
     _buttons        = new[] { new ButtonDescriptor {
                                   CanExecute = true, Exetute = HandleCancel, Text = "Отмена"
                               } };
 }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: eugene-blokhin/WinLinker
 private void ApplicationStartup(object sender, StartupEventArgs e)
 {
     var destinationPath = Path.GetDirectoryName(e.Args[0]);
     var linkDescriptor = new LinkDescriptor {DestinationPath = destinationPath};
     var initialStep = new LinkTypeWizardStep(linkDescriptor);
     var wizardWindow = new WizardWindow("Создание ссылки", initialStep);
     MainWindow = wizardWindow;
     MainWindow.Show();
 }
コード例 #3
0
 public LinkTypeWizardStep(LinkDescriptor linkDescriptor)
 {
     _linkDescriptor = linkDescriptor;
     _page = new LinkTypePage(HandleLinkTypeSelected);
     _buttons = new[] { new ButtonDescriptor{CanExecute = true, Exetute = HandleCancel, Text = "Отмена"} };
 }