Пример #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebControl;component/Views/TestView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.heater4    = ((WebControl.HMIRectangle)(this.FindName("heater4")));
     this.btnDraw    = ((System.Windows.Controls.Button)(this.FindName("btnDraw")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebControl;component/Views/%D0%9A%D0%BE%D0%BF%D0%B8%D1%8F%20AngidritVVU2HeaterVi" +
                                                                   "ew.xaml", System.UriKind.Relative));
     this.heater1        = ((WebControl.HMIRectangle)(this.FindName("heater1")));
     this.heater1_Copy   = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy")));
     this.heater1_Copy1  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy1")));
     this.heater1_Copy2  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy2")));
     this.heater1_Copy3  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy3")));
     this.heater1_Copy4  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy4")));
     this.heater1_Copy5  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy5")));
     this.heater1_Copy6  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy6")));
     this.heater1_Copy7  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy7")));
     this.heater1_Copy8  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy8")));
     this.heater1_Copy9  = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy9")));
     this.heater1_Copy10 = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy10")));
     this.heater1_Copy11 = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy11")));
     this.heater1_Copy12 = ((WebControl.HMIRectangle)(this.FindName("heater1_Copy12")));
 }