コード例 #1
0
ファイル: Form1.cs プロジェクト: tiestvilee/GUI-experiment
        public Form1()
        {
            InitializeComponent();

            var wizardView = new WizardViewWidget();
            var secondPage = new PageExample(null, "second page");
            var firstPage = new PageExample(secondPage, "first page");
            var localInstancePage = new LocalServerPickerPage(new LocalServerPickerWidget(), firstPage,
                                                              new TestConnection(), new GetLocalInstances());
            var introPage = new IntroPageViewModel(new IntroPageWidget(), localInstancePage);
            new WizardViewModel(wizardView, introPage, cancel, cancel);

            Controls.Add(wizardView);
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: jryder/Resume
        public Form1()
        {
            InitializeComponent();

            var wizardView        = new WizardViewWidget();
            var secondPage        = new PageExample(null, "second page");
            var firstPage         = new PageExample(secondPage, "first page");
            var localInstancePage = new LocalServerPickerPage(new LocalServerPickerWidget(), firstPage,
                                                              new TestConnection(), new GetLocalInstances());
            var introPage = new IntroPageViewModel(new IntroPageWidget(), localInstancePage);

            new WizardViewModel(wizardView, introPage, cancel, cancel);

            Controls.Add(wizardView);
        }