コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Container = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 2:
                this.dtp = ((Microsoft.Windows.Controls.DateTimePicker)(target));

            #line 11 "..\..\..\..\Manager\UserControls\DatePickerControl.xaml"
                this.dtp.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dtp_ValueChanged);

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

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

            #line default
            #line hidden

            #line 6 "..\..\..\AlarmSet.xaml"
                ((CoreTest.AlarmSet)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.tab1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.list0 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.list2 = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 6:
                this.dtstart = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

            case 7:
                this.dtend = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

            case 8:
                this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target));

            #line 75 "..\..\..\AlarmSet.xaml"
                this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.list1 = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:
                this.list3 = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: ReporterSet.g.i.cs プロジェクト: ztxyzu/SharpSCADA
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\ReporterSet.xaml"
                ((CoreTest.ReporterSet)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.textBox1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.dtstart = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

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

            case 7:
                this.dtend = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

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

            #line 29 "..\..\..\ReporterSet.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\ReporterSet.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.rp = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
                return;

            case 11:
                this.rp2 = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Container = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
     return;
     case 2:
     this.dtp = ((Microsoft.Windows.Controls.DateTimePicker)(target));
     
     #line 11 "..\..\..\..\Manager\UserControls\DatePickerControl.xaml"
     this.dtp.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.dtp_ValueChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #5
0
ファイル: Trend.g.i.cs プロジェクト: lanicon/SharpSCADA
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Trend.xaml"
                ((CoreTest.Trend)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 3:
                this.dtstart = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

            case 4:
                this.dtend = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

            case 5:
                this.PCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.popusBottom = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 7:
                this.chklist = ((Microsoft.Windows.Controls.CheckListBox)(target));
                return;

            case 8:
                this.comodel = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\..\Trend.xaml"
                this.comodel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comodel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.chkshow = ((System.Windows.Controls.CheckBox)(target));

            #line 45 "..\..\..\Trend.xaml"
                this.chkshow.Click += new System.Windows.RoutedEventHandler(this.chkshow_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target));

            #line 46 "..\..\..\Trend.xaml"
                this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.chartPlotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 12:
                this.hTimeSpanAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 13:
                this.cursor = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.CursorCoordinateGraph)(target));
                return;

            case 14:
                this.axiscuror = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.AxisCursorGraph)(target));
                return;
            }
            this._contentLoaded = true;
        }