| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 4658 人关注过本帖
标题:【急】.NET UserControl解析方法
只看楼主 加入收藏
swqqcs
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2016-3-10
收藏
 问题点数:0 回复次数:0 
【急】.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>
搜索更多相关主题的帖子: children Object null 
2016-03-10 12:08
快速回复:【急】.NET UserControl解析方法
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019463 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved