【急】.NET UserControl解析方法
附件下载:
Form1.zip
(30.98 KB)
详情如下:
<Object type="System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="UserControl1" children="Controls">
<Object type="Library.Lable, Library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" name="Lable1" children="Controls">
<Property name="isVisible">True</Property>
<Property name="ClickEvent" />
<Property name="DoubleEvent" />
<Property name="bHaveAction">False</Property>
<Property name="Format">{0:F2}单位</Property>
<Property name="textName" />
<Property name="xName" />
<Property name="yName" />
<Property name="widthName" />
<Property name="heightName" />
<Property name="visibleName" />
<Property name="FillColorName" />
<Property name="newFillColor">Red</Property>
<Property name="oldFillColor">DarkGray</Property>
<Property name="Text">Sensor:</Property>
<Property name="BackColor">AppWorkspace</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Font">宋体, 12pt, style=Bold</Property>
<Property name="Location">115, 474</Property>
<Property name="Name">Lable1</Property>
<Property name="Size">80, 21</Property>
<Property name="TabIndex">6</Property>
</Object>
<Object type="Library.TextBox, Library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" name="TextBox1" children="Controls">
<Property name="isVisible">True</Property>
<Property name="ID">
</Property>
<Property name="RelatedDeviceType">
</Property>
<Property name="BoardNumber">
</Property>
<Property name="RelatedPort">
</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Location">201, 474</Property>
<Property name="Name">TextBox1</Property>
<Property name="Size">100, 21</Property>
<Property name="TabIndex">5</Property>
</Object>
<Object type="Library.PictureBox, Library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" name="PictureBox1" children="Controls">
<Property name="isVisible">True</Property>
<Property name="ID">
</Property>
<Property name="RelatedDeviceType">
</Property>
<Property name="Image">
<Binary> </Binary>
</Property>
<Property name="SizeMode">StretchImage</Property>
<Property name="TabStop">False</Property>
<Property name="TabIndex">0</Property>
<Property name="BackColor">Transparent</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Location">76, 200</Property>
<Property name="Name">PictureBox1</Property>
<Property name="Size">139, 243</Property>
</Object>
<Object type="Library.PictureBox, Library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" name="PictureBox5" children="Controls">
<Property name="isVisible">True</Property>
<Property name="ID">
</Property>
<Property name="RelatedDeviceType">
</Property>
<Property name="Image">
<Binary>iVBORw0KGgoAAAANSUhEUgAAAH0AAAAKCAYAAACZp1FcAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAAF1JREFUWEftmDENgEAQBNcHHdJwQYMI/HxC9V6+OgNclqBjthgDc8VOTuPaHVgOVM/pwHKg7nZgOdC7pgPLge5jc2A5UCKOFXH/vRNywJBVVTmwHCTkgCGbTQc+pz5bVOhBi1253gAAAABJRU5ErkJggg==</Binary>
</Property>
<Property name="SizeMode">StretchImage</Property>
<Property name="TabStop">False</Property>
<Property name="TabIndex">4</Property>
<Property name="BackColor">Transparent</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Location">210, 435</Property>
<Property name="Name">PictureBox5</Property>
<Property name="Size">227, 8</Property>
</Object>
<Object type="Library.PictureBox, Library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" name="PictureBox3" children="Controls">
<Property name="isVisible">True</Property>
<Property name="ID">
</Property>
<Property name="RelatedDeviceType">
</Property>
<Property name="Image">
<Binary></Binary>
</Property>
<Property name="SizeMode">StretchImage</Property>
<Property name="TabStop">False</Property>
<Property name="TabIndex">2</Property>
<Property name="BackColor">Transparent</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Location">468, 302</Property>
<Property name="Name">PictureBox3</Property>
<Property name="Size">102, 90</Property>
</Object>
<Object type="Library.PictureBox, Library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" name="PictureBox4" children="Controls">
<Property name="isVisible">True</Property>
<Property name="ID">
</Property>
<Property name="RelatedDeviceType">
</Property>
<Property name="Image">
<Binary>iVBORw0KGgoAAAANSUhEUgAAAH0AAAAKCAYAAACZp1FcAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAAAF1JREFUWEftmDENgEAQBNcHHdJwQYMI/HxC9V6+OgNclqBjthgDc8VOTuPaHVgOVM/pwHKg7nZgOdC7pgPLge5jc2A5UCKOFXH/vRNywJBVVTmwHCTkgCGbTQc+pz5bVOhBi1253gAAAABJRU5ErkJggg==</Binary>
</Property>
<Property name="SizeMode">StretchImage</Property>
<Property name="TabStop">False</Property>
<Property name="TabIndex">3</Property>
<Property name="BackColor">Transparent</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Location">210, 417</Property>
<Property name="Name">PictureBox4</Property>
<Property name="Size">227, 8</Property>
</Object>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Name">UserControl1</Property>
<Property name="Size">827, 699</Property>
</Object>