გამარჯობათ,
როგორ შეიძლება გავაკეთო Form1.Designer.cs გადავიტანო *xml ფაილში.
ყველა კონტროლერი.
მაგალითად ეს ყველა კონტროლერი აისახოს ფორმის გახსნის დროს.
მადლობა.
<Object type="System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="form1" children="Controls">
<Object type="System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="textBox2" children="Controls">
<Property name="Size">180, 20</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Name">textBox2</Property>
<Property name="Location">132, 38</Property>
<Property name="TabIndex">2</Property>
</Object>
<Object type="System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="textBox1" children="Controls">
<Property name="Size">180, 20</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="Name">textBox1</Property>
<Property name="Location">132, 12</Property>
<Property name="TabIndex">1</Property>
</Object>
<Object type="System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="button1" children="Controls">
<Property name="TabIndex">0</Property>
<Property name="Name">button1</Property>
<Property name="Size">75, 23</Property>
<Property name="UseVisualStyleBackColor">True</Property>
<Property name="Text">button1</Property>
<Property name="UseCompatibleTextRendering">True</Property>
<Property name="Location">12, 79</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
</Object>
<Object type="System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="button2" children="Controls">
<Property name="TabIndex">0</Property>
<Property name="Name">button2</Property>
<Property name="Size">75, 23</Property>
<Property name="UseVisualStyleBackColor">True</Property>
<Property name="Text">button2</Property>
<Property name="UseCompatibleTextRendering">True</Property>
<Property name="Location">20, 20</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
</Object>
<Property name="Icon">
<Binary>AAABAAEAICAQAAEABADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiAAAAAAAAAAAAAAAAAAAD4iAAAAAAAAAAAAAAACIAHiIgAAAAAAAAAAAAACPiIAPiIAAAAAAAAAAAAAAj4iI+IiAAAAAAAAAAAAAAI+IgIeIgAAAAAAAMzMAAAAAiID4eHAAAAAAADOzAAAAj4iAD3hwAAAACDNzswAACPeIiPd4cAAAAAN3OwMAAACPeHj3eHAAAAADc7AwAAAAAHiAj3hwAAAzOzsDAAAAAI94cI94cAADd7OwMAAAAAj3eHj3d3AAA7s7AwAAAAAI93iPd4iIADezsDAAAAAAAI9493gzMzO7OwMAAAAAAACPj3cz///7u7AwAAAAAAAI+Pdz/7u7u7szAAAAAAAAj3j/P7u7u7u7MAAAAAAACPd49z+7u7u7uzAAAAAAAI93ePP7uwsLu7swAAAAAAj3d3jz+7uwsLu7MAAAAAAI93d3g/u7uwsLuzAAAAAACPd3cAP7uICwu7swAAAAAAj3dwjz8AB3Cwu7AAAAAAAI/3cIcwiIBwu7swAAAAAAAI/3CICPAIALuzAAAAAAAAAI//AIc/AAuzMAAAAAAAAAAI//CHg3+7MAAAAAAAAAAAAIiAiI+DMwAAAAAAAAAAAAAAAI//gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/+f////D///5gf//8AH//+AB///gAf/H4AH/h/AB/4fgAfwHwAH8B+AB/AfwAeAP4AHAH8ABwD/AAIB/4AAA/+AAAf/AAAP/gAAH/wAAB/4AAAf8AAAH/AAAB/wAAA/8AAAP/AAAD/4AAB//AAA//4AAf//AAf//+A////wf//w==</Binary>
</Property>
<Property name="Text">Log</Property>
<Property name="MaximizeBox">False</Property>
<Property name="Name">form1</Property>
<Property name="DataBindings">
<Property name="DefaultDataSourceUpdateMode">OnValidation</Property>
</Property>
<Property name="MinimizeBox">False</Property>
<Property name="ClientSize">324, 114</Property>
<Property name="FormBorderStyle">FixedSingle</Property>
</Object>
File Attachment(s):
DesignerHosting.rar
(351kb) downloaded 7 time(s). Log.rar
(1kb) downloaded 5 time(s).