Exemplo n.º 1
0
 private void settingsMenu_Click(object sender, RoutedEventArgs e)
 {
     projSettingWnd = new ProjectSettingsWindow();
     projSettingWnd.ShowDialog();
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ProjectSettingsWindow1 = ((DTVT_VIEW.ProjectSettingsWindow)(target));
                return;

            case 2:
                this.prjSettingGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lblImportRule = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lblImportData = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblImportSydb = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lblImportConst = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.txtImportRule = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtImportData = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txtImportSydb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txtImportConst = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.btnImportRule = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\ProjectSettingsWindow.xaml"
                this.btnImportRule.Click += new System.Windows.RoutedEventHandler(this.btnImportRule_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnImportData = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\ProjectSettingsWindow.xaml"
                this.btnImportData.Click += new System.Windows.RoutedEventHandler(this.btnImportData_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnImportSydb = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\ProjectSettingsWindow.xaml"
                this.btnImportSydb.Click += new System.Windows.RoutedEventHandler(this.btnImportSydb_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnImportConst = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\ProjectSettingsWindow.xaml"
                this.btnImportConst.Click += new System.Windows.RoutedEventHandler(this.btnImportConst_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\ProjectSettingsWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\ProjectSettingsWindow.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }