示例#1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightDemo;component/ZDIMSDemo/Controls/Comm/PointStyle.xaml", System.UriKind.Relative));
     this.LayoutRoot    = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.label1        = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.label2        = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.label3        = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.label4        = ((System.Windows.Controls.Label)(this.FindName("label4")));
     this.label5        = ((System.Windows.Controls.Label)(this.FindName("label5")));
     this.label6        = ((System.Windows.Controls.Label)(this.FindName("label6")));
     this.patternID     = ((wmtLibrarys.Controls.wmtLibComboBoxEditable)(this.FindName("patternID")));
     this.patternWidth  = ((System.Windows.Controls.TextBox)(this.FindName("patternWidth")));
     this.patternHeight = ((System.Windows.Controls.TextBox)(this.FindName("patternHeight")));
     this.patternAngle  = ((System.Windows.Controls.TextBox)(this.FindName("patternAngle")));
     this.patternColor  = ((wmtLibrarys.Controls.wmtLibComboBoxEditable)(this.FindName("patternColor")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ZDIMSDemo;component/Controls/Comm/LineStyle.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.label1     = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.label2     = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.label3     = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.label4     = ((System.Windows.Controls.Label)(this.FindName("label4")));
     this.label5     = ((System.Windows.Controls.Label)(this.FindName("label5")));
     this.label6     = ((System.Windows.Controls.Label)(this.FindName("label6")));
     this.label7     = ((System.Windows.Controls.Label)(this.FindName("label7")));
     this.patternID  = ((wmtLibrarys.Controls.wmtLibComboBoxEditable)(this.FindName("patternID")));
     this.patternID2 = ((wmtLibrarys.Controls.wmtLibComboBoxEditable)(this.FindName("patternID2")));
     this.penWidth   = ((System.Windows.Controls.TextBox)(this.FindName("penWidth")));
     this.lineScaleX = ((System.Windows.Controls.TextBox)(this.FindName("lineScaleX")));
     this.lineScaleY = ((System.Windows.Controls.TextBox)(this.FindName("lineScaleY")));
     this.color      = ((wmtLibrarys.Controls.wmtLibComboBoxEditable)(this.FindName("color")));
 }