示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\CommonCtrlKirishi.xaml"
                ((WpfStackerLibrary.CommonCtrlKirishi)(target)).Initialized += new System.EventHandler(this.UserControl_Initialized);

            #line default
            #line hidden
                return;

            case 2:

            #line 25 "..\..\CommonCtrlKirishi.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Park);

            #line default
            #line hidden
                return;

            case 3:

            #line 26 "..\..\CommonCtrlKirishi.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Take);

            #line default
            #line hidden
                return;

            case 4:

            #line 27 "..\..\CommonCtrlKirishi.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Push);

            #line default
            #line hidden
                return;

            case 5:

            #line 28 "..\..\CommonCtrlKirishi.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Stop);

            #line default
            #line hidden
                return;

            case 6:

            #line 63 "..\..\CommonCtrlKirishi.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 7:

            #line 64 "..\..\CommonCtrlKirishi.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 8:
                this.Console = ((WpfStackerLibrary.Console)(target));
                return;

            case 9:
                this.TabsCellContent = ((System.Windows.Controls.TabControl)(target));
                return;

            case 10:
                this.CBProduct = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 12:
                this.PCount = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 112 "..\..\CommonCtrlKirishi.xaml"
                this.btn_add_prod.Click += new System.Windows.RoutedEventHandler(this.btn_add_prod_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.DGVProducts = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 16:
                this.CBProductTel = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.PFilterTel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.PCountTel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.btn_add_prod_tel = ((System.Windows.Controls.Button)(target));

            #line 165 "..\..\CommonCtrlKirishi.xaml"
                this.btn_add_prod_tel.Click += new System.Windows.RoutedEventHandler(this.btn_add_prod_tel_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.DGVProductsTel = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 22:
                this.CmdQueue = ((WpfStackerLibrary.CmdQManager)(target));
                return;

            case 23:
                this.stacker1 = ((WpfStackerLibrary.StackerControl)(target));
                return;

            case 24:
                this.stacker1_man = ((WpfStackerLibrary.StackerManBNR)(target));
                return;

            case 25:
                this.BTNswitchmode = ((System.Windows.Controls.Button)(target));

            #line 218 "..\..\CommonCtrlKirishi.xaml"
                this.BTNswitchmode.Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 26:

            #line 219 "..\..\CommonCtrlKirishi.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);

            #line default
            #line hidden
                return;

            case 27:
                this.cell_to_select = ((System.Windows.Controls.TextBox)(target));

            #line 220 "..\..\CommonCtrlKirishi.xaml"
                this.cell_to_select.KeyUp += new System.Windows.Input.KeyEventHandler(this.cell_to_select_KeyUp);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        private static void DepParamsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CmdQManager ctrl = (CmdQManager)d;

            ctrl.SetParam(e.Property.Name, e.NewValue, e.OldValue);
        }