コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.parentdrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 36 "..\..\testGrid.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Newbtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.RecieveOrderDGV = ((DataGrid2DLibrary.DataGrid2D)(target));

            #line 50 "..\..\testGrid.xaml"
                this.RecieveOrderDGV.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.RecieveOrderDGV_MouseDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.solution_output_label = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.solution_output_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

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

            case 4:
                this.actual_solution_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 5:
                this.cost_label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.calc_window = ((DecisionMaking.Views.CalculationView)(target));
                return;

            case 2:
                this.cost_matrix_label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.cost_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

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

            case 5:
                this.solution_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

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

            case 7:
                this.calculate_Btn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dataGrid = ((DataGrid2DLibrary.DataGrid2D)(target));
     return;
     case 2:
     
     #line 36 "..\..\..\ProblemManager.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnAddRow_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 37 "..\..\..\ProblemManager.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnShow_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MatrixDimensionsInput = ((System.Windows.Controls.TextBox)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.MatrixDimensionsInput.KeyUp += new System.Windows.Input.KeyEventHandler(this.MatrixDimensionInput_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.MatrixGrid = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 3:
                this.GeneratedVectorsTextBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.DecimalNumbersCount = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.VectorsCount = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:

            #line 37 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GenerateVectors_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 38 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RestartRandomCalculate_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.supply_label = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.supply_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

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

            case 4:
                this.demand_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

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

            case 6:
                this.prob_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 7:
                this.mode_listbox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.calculate_Btn = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.exit_Btn = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.matrix_label = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.matrix_dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.VectorV = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 2:
                this.Matrix = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 3:
                this.VectorH = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sigmaLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.sigmaCalcLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.aSolutionMatrix = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.add_Value_Label = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.add_Value_TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.criteria_Listbox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.calculate_Btn = ((System.Windows.Controls.Button)(target));
                return;

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

            case 6:
                this.wins_DataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 7:
                this.result_Label = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.result_DataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        private static void ItemsSource2DPropertyChanged(DependencyObject source, DependencyPropertyChangedEventArgs e)
        {
            DataGrid2D dataGrid2D = source as DataGrid2D;

            dataGrid2D.OnItemsSource2DChanged(e.OldValue as IEnumerable, e.NewValue as IEnumerable);
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TerminalSymbol = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.SymbolOfState = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.countFinalState = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.SetSymbolOfAlphabet = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\Lab2.xaml"
                this.SetSymbolOfAlphabet.Click += new System.Windows.RoutedEventHandler(this.SetSymbolOfAlphabet_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.listSymbol = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.Start = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.Final = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.transition = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 10:
                this.propertiesListBox = ((System.Windows.Controls.ListBox)(target));

            #line 56 "..\..\Lab2.xaml"
                this.propertiesListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.propertiesListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.chainOfcommand = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 64 "..\..\Lab2.xaml"
                this.setChainOfCommand.Click += new System.Windows.RoutedEventHandler(this.setChainOfCommand_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.workProcess = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
ファイル: MainWindow.g.i.cs プロジェクト: wancheez/GameLife
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainGrid = ((DataGrid2DLibrary.DataGrid2D)(target));
     return;
     case 2:
     this.ButtonReset = ((System.Windows.Controls.Button)(target));
     return;
     case 3:
     this.ButtonInputData = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.ButtonNextStep = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 19 "..\..\MainWindow.xaml"
                ((Wpf_Matrices.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                ((Wpf_Matrices.MainWindow)(target)).Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                ((Wpf_Matrices.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 160 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Compute_Expression);

            #line default
            #line hidden
                return;

            case 3:
                this.txtBox_Expression = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.ComboBox_orientation = ((System.Windows.Controls.ComboBox)(target));

            #line 177 "..\..\MainWindow.xaml"
                this.ComboBox_orientation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_orientation_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ComboBox_common_elts = ((System.Windows.Controls.ComboBox)(target));

            #line 197 "..\..\MainWindow.xaml"
                this.ComboBox_common_elts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_common_elts_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.comboBox_name = ((System.Windows.Controls.ComboBox)(target));

            #line 201 "..\..\MainWindow.xaml"
                this.comboBox_name.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_name_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.DG_Expressions = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:

            #line 227 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_plus);

            #line default
            #line hidden
                return;

            case 9:

            #line 228 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_inverse);

            #line default
            #line hidden
                return;

            case 10:

            #line 229 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_multiple);

            #line default
            #line hidden
                return;

            case 11:

            #line 230 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_minus);

            #line default
            #line hidden
                return;

            case 12:
                this.Matrix_name_1st_page = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:

            #line 265 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Matrix_Dialog);

            #line default
            #line hidden
                return;

            case 14:
                this.dataGrid2D = ((DataGrid2DLibrary.DataGrid2D)(target));
                return;

            case 15:
                this.NumericUpDown = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 16:

            #line 307 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Create_Matrix);

            #line default
            #line hidden
                return;

            case 17:
                this.Button_Orientation_chnge = ((System.Windows.Controls.Button)(target));

            #line 310 "..\..\MainWindow.xaml"
                this.Button_Orientation_chnge.Click += new System.Windows.RoutedEventHandler(this.Button_Orientation_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.Image_OR = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.textBox_typical_elt = ((System.Windows.Controls.TextBox)(target));

            #line 315 "..\..\MainWindow.xaml"
                this.textBox_typical_elt.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 315 "..\..\MainWindow.xaml"
                this.textBox_typical_elt.MouseLeave += new System.Windows.Input.MouseEventHandler(this.textBox_typical_elt_MouseLeave);

            #line default
            #line hidden
                return;

            case 20:

            #line 322 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Auto_Fill);

            #line default
            #line hidden
                return;

            case 21:

            #line 323 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Add_To_List);

            #line default
            #line hidden
                return;

            case 22:

            #line 324 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Open_existing_Matrix_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 325 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_save_as_left_expander_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 326 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_delete_from_Matrix_List);

            #line default
            #line hidden
                return;

            case 25:
                this.Label_Matrix_Name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.dataGrid2D_sec_page = ((DataGrid2DLibrary.DataGrid2D)(target));

            #line 348 "..\..\MainWindow.xaml"
                this.dataGrid2D_sec_page.KeyDown += new System.Windows.Input.KeyEventHandler(this.dataGrid2D_sec_page_KeyDown);

            #line default
            #line hidden
                return;

            case 27:
                this.TabItem_Normal_Form = ((System.Windows.Controls.TabItem)(target));

            #line 364 "..\..\MainWindow.xaml"
                this.TabItem_Normal_Form.GotFocus += new System.Windows.RoutedEventHandler(this.TabItem_GotFocus_Matrix_Form);

            #line default
            #line hidden
                return;

            case 28:
                this.TabItem_Dense_Form = ((System.Windows.Controls.TabItem)(target));

            #line 365 "..\..\MainWindow.xaml"
                this.TabItem_Dense_Form.GotFocus += new System.Windows.RoutedEventHandler(this.TabItem_GotFocus_Dense_Form);

            #line default
            #line hidden
                return;

            case 29:
                this.text_box_search = ((System.Windows.Controls.TextBox)(target));

            #line 388 "..\..\MainWindow.xaml"
                this.text_box_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.List_Matrices = ((System.Windows.Controls.ListView)(target));

            #line 393 "..\..\MainWindow.xaml"
                this.List_Matrices.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.List_Matrices_MouseDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #14
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ProblemManagerWindow = ((BadaniaOperacyjne.Windows.ProblemManager.ProblemManager)(target));
     return;
     case 2:
     
     #line 16 "..\..\..\..\..\Windows\ProblemManager\ProblemManager.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.newBinding_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 19 "..\..\..\..\..\Windows\ProblemManager\ProblemManager.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.openBinding_Executed);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 22 "..\..\..\..\..\Windows\ProblemManager\ProblemManager.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.saveBinding_Executed);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 25 "..\..\..\..\..\Windows\ProblemManager\ProblemManager.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.saveAsBinding_Executed);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 28 "..\..\..\..\..\Windows\ProblemManager\ProblemManager.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.closeBinding_Executed);
     
     #line default
     #line hidden
     return;
     case 7:
     this.dataGrid = ((DataGrid2DLibrary.DataGrid2D)(target));
     return;
     case 10:
     
     #line 96 "..\..\..\..\..\Windows\ProblemManager\ProblemManager.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSolve_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }