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

            #line 4 "..\..\..\AGVParaSetting.xaml"
                this.clos.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\..\AGVParaSetting.xaml"
                this.clos.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.tbMapScale = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 7:
                this.cbTrafficFun = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.cbDockFun = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 10:
                this.cbCallFun = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.clos = ((AGV_WPF.AGVParaSetting)(target));
     
     #line 4 "..\..\..\AGVParaSetting.xaml"
     this.clos.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\AGVParaSetting.xaml"
     this.clos.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.tbAGVnum = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.tbMapScale = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.cbTrafficFun = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.cbDockFun = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 9:
     this.cbChargeFun = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 10:
     this.cbCallFun = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }