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

            #line 6 "..\..\..\MainWindow.xaml"
                ((WpfStacker.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.stacker1 = ((WpfStackerLibrary.CommonCtrlUlyanovsk)(target));
                return;

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

            #line 63 "..\..\..\MainWindow.xaml"
                this.filter_productname.KeyUp += new System.Windows.Input.KeyEventHandler(this.filter_productname_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.RBSAll = ((WpfStackerLibrary.MyRadioButton)(target));
                return;

            case 5:
                this.RBS1 = ((WpfStackerLibrary.MyRadioButton)(target));
                return;

            case 6:
                this.RBS2 = ((WpfStackerLibrary.MyRadioButton)(target));
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:
                this.dgSearched = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:
                this.prods_grid = ((System.Windows.Controls.DataGrid)(target));

            #line 111 "..\..\..\MainWindow.xaml"
                this.prods_grid.RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.DataGrid_RowEditEnding);

            #line default
            #line hidden

            #line 111 "..\..\..\MainWindow.xaml"
                this.prods_grid.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.prods_grid_CellEditEnding);

            #line default
            #line hidden
                return;

            case 15:
                this.BugText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

            #line 199 "..\..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click_1);

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

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