Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StreamTaskWindow = ((StreamController.StreamWindow)(target));
     return;
     case 2:
     
     #line 12 "..\..\StreamWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.TitleText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.textblock_settingdata = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.textblock_dataamounts = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.progressbar_dataamounts = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 7:
     this.Button_RecStart = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\StreamWindow.xaml"
     this.Button_RecStart.Click += new System.Windows.RoutedEventHandler(this.Button_RecStart_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Button_Start = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\StreamWindow.xaml"
     this.Button_Start.Click += new System.Windows.RoutedEventHandler(this.Button_Start_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Button_Stop = ((System.Windows.Controls.Button)(target));
     
     #line 40 "..\..\StreamWindow.xaml"
     this.Button_Stop.Click += new System.Windows.RoutedEventHandler(this.Button_Stop_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.textblock_starttime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.textblock_nowtime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.textblock_passedtime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.textblock_nowfram = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.textblock_states = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.textblock_remaintime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.progressbar_datastream = ((System.Windows.Controls.ProgressBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.StreamTaskWindow = ((StreamController.StreamWindow)(target));
                return;

            case 2:

            #line 12 "..\..\StreamWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.progressbar_dataamounts = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 7:
                this.Button_RecStart = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\StreamWindow.xaml"
                this.Button_RecStart.Click += new System.Windows.RoutedEventHandler(this.Button_RecStart_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\StreamWindow.xaml"
                this.Button_Start.Click += new System.Windows.RoutedEventHandler(this.Button_Start_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\StreamWindow.xaml"
                this.Button_Stop.Click += new System.Windows.RoutedEventHandler(this.Button_Stop_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.textblock_starttime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.textblock_nowtime = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 13:
                this.textblock_nowfram = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.textblock_states = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.textblock_remaintime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.progressbar_datastream = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }