Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Border_Title = ((System.Windows.Controls.Border)(target));

            #line 20 "..\..\D_StationHourData.xaml"
                this.Border_Title.Loaded += new System.Windows.RoutedEventHandler(this.Border_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.maxButton = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\D_StationHourData.xaml"
                this.maxButton.Click += new System.Windows.RoutedEventHandler(this.MaxButton_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\D_StationHourData.xaml"
                this.mniButton.Click += new System.Windows.RoutedEventHandler(this.MinButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.closeButton = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\D_StationHourData.xaml"
                this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.dp_CollectTime = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.rb_OneSide = ((System.Windows.Controls.RadioButton)(target));

            #line 50 "..\..\D_StationHourData.xaml"
                this.rb_OneSide.Click += new System.Windows.RoutedEventHandler(this.OneSide_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.rb_TwoSide = ((System.Windows.Controls.RadioButton)(target));

            #line 51 "..\..\D_StationHourData.xaml"
                this.rb_TwoSide.Click += new System.Windows.RoutedEventHandler(this.TwoSide_Checked);

            #line default
            #line hidden
                return;

            case 11:

            #line 52 "..\..\D_StationHourData.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.dataGridUser = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 13:
                this.pag = ((TestDesigner.controls.ucPager)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Border_Title = ((System.Windows.Controls.Border)(target));

            #line 20 "..\..\A_RealTimeAlarm.xaml"
                this.Border_Title.Loaded += new System.Windows.RoutedEventHandler(this.Border_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.maxButton = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\A_RealTimeAlarm.xaml"
                this.maxButton.Click += new System.Windows.RoutedEventHandler(this.MaxButton_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\A_RealTimeAlarm.xaml"
                this.mniButton.Click += new System.Windows.RoutedEventHandler(this.MinButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.closeButton = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\A_RealTimeAlarm.xaml"
                this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:

            #line 56 "..\..\A_RealTimeAlarm.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.dataGridUser = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 10:
                this.pag = ((TestDesigner.controls.ucPager)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Border_Title = ((System.Windows.Controls.Border)(target));

            #line 20 "..\..\S_MenuManage.xaml"
                this.Border_Title.Loaded += new System.Windows.RoutedEventHandler(this.Border_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.maxButton = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\S_MenuManage.xaml"
                this.maxButton.Click += new System.Windows.RoutedEventHandler(this.MaxButton_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\S_MenuManage.xaml"
                this.mniButton.Click += new System.Windows.RoutedEventHandler(this.MinButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.closeButton = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\S_MenuManage.xaml"
                this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:

            #line 48 "..\..\S_MenuManage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 49 "..\..\S_MenuManage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 50 "..\..\S_MenuManage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteMoreRows_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.dataGridUser = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 15:
                this.pag = ((TestDesigner.controls.ucPager)(target));
                return;
            }
            this._contentLoaded = true;
        }