示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.lv_geraete = ((System.Windows.Controls.ListView)(target));

            #line 21 "..\..\..\UC\geraeteInfo.xaml"
                this.lv_geraete.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_geraete_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.progressBlack = ((DesignInControl.CircularProgressBar)(target));
                return;

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

            case 5:
                this.progressCyan = ((DesignInControl.CircularProgressBar)(target));
                return;

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

            case 7:
                this.progressMagenta = ((DesignInControl.CircularProgressBar)(target));
                return;

            case 8:
                this.lb_percentageMagenta = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.progressYellow = ((DesignInControl.CircularProgressBar)(target));
                return;

            case 10:
                this.lb_percentageYellow = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.St = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 3:
     this.progressBar = ((DesignInControl.CircularProgressBar)(target));
     return;
     case 4:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\MainWindow.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.pause_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.recoilTo20 = ((System.Windows.Controls.Button)(target));
     
     #line 55 "..\..\MainWindow.xaml"
     this.recoilTo20.Click += new System.Windows.RoutedEventHandler(this.recoilTo20_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.recoilTo30 = ((System.Windows.Controls.Button)(target));
     
     #line 67 "..\..\MainWindow.xaml"
     this.recoilTo30.Click += new System.Windows.RoutedEventHandler(this.recoilTo30_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.recoilTo60 = ((System.Windows.Controls.Button)(target));
     
     #line 78 "..\..\MainWindow.xaml"
     this.recoilTo60.Click += new System.Windows.RoutedEventHandler(this.recoilTo60_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.restartbtn = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.restartbtn.Click += new System.Windows.RoutedEventHandler(this.restartbtn_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }