Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Button_turnon = ((ArduinoCommunication.MainWindow)(target));
     return;
     case 2:
     this.Grid_parent = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Button_Close = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.StatusBar_mystatus = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 5:
     this.TextBlock_StatusCaption = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.Menu_MyMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 7:
     this.MenuItem1 = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 8:
     
     #line 29 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.MenuItem2 = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 10:
     this.Slider_Deg1 = ((System.Windows.Controls.Slider)(target));
     
     #line 40 "..\..\MainWindow.xaml"
     this.Slider_Deg1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.Slider_Deg1_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Textbox_test = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Button_turnon = ((ArduinoCommunication.MainWindow)(target));
                return;

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

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

            case 4:
                this.StatusBar_mystatus = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

            case 6:
                this.Menu_MyMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 7:
                this.MenuItem1 = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.MenuItem2 = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.Slider_Deg1 = ((System.Windows.Controls.Slider)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.Slider_Deg1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_Deg1_ValueChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.Textbox_test = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }