91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0.06M
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2024-04-26
  • 語言: C#
  • 標簽:

資源簡介


資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;
using?System.xml;

namespace?xml生成按鈕操作
{
????public?partial?class?Form1?:?Form
????{
????????Boolean?bis?=?false;
????????TextBox[]?Ptexbox?=?new?TextBox[6];
????????Button[]?Savebtn?=?new?Button[6];
????????Button[]?Movbtn?=?new?Button[6];
????????int?textSposX?=?102;
????????int?TextOfposY?=?55;
????????public?xmlDocument?xmldoc?=?new?xmlDocument();
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????private?void?button8_Click(object?sender?EventArgs?e)
????????{
????????????xmlCreate_Poss();
????????}

????????private?void?button7_Click(object?sender?EventArgs?e)
????????{

????????????xmlDocument?doc?=?new?xmlDocument();
????????????doc?=?new?xmlDocument();
????????????doc.Load(Application.StartupPath?+?“/Poss.xml“);
????????????FillTexrtext();
????????}
????????public?void?xmlCreate_Poss()
????????{

????????????//?存在文件?--刪除
????????????if?(System.IO.File.Exists(Application.StartupPath?+?“/Poss.xml“))
????????????{
????????????????System.IO.File.Delete((Application.StartupPath?+?“/Poss.xml“));
????????????????System.Threading.Thread.Sleep(500);
????????????}

????????????xmlDocument?doc?=?new?xmlDocument();
????????????xmlDeclaration?dec?=?doc.CreatexmlDeclaration(“1.0“?“utf-8“?“yes“);
????????????doc.AppendChild(dec);
????????????xmlElement?items?=?doc.CreateElement(“Poss“);
????????????doc.AppendChild(items);


????????????xmlElement[]?Possp?=?new?xmlElement[6];
????????????xmlElement[]?PosValue?=?new?xmlElement[6];
????????????xmlElement[]?savebtn?=?new?xmlElement[6];
????????????xmlElement[]?movbtn?=?new?xmlElement[6];


????????????for?(int?i?=?0;?i?????????????{
????????????????Possp[i]?=?doc.CreateElement(“Pos“);//創建節點
????????????????Possp[i].SetAttribute(“Name“?(“Pos“?+?Convert.ToString(i)));
????????????????PosValue[i]?=?doc.CreateElement(“Posvalue“);
????????????????PosValue[i].InnerText?=?“4.58“;
????????????????Possp[i].AppendChild(PosValue[i]);//添加節點屬性1
????????????????savebtn[i]?=?doc.CreateElement(“Savebt“);
????????????????savebtn[i].InnerText?=?“Savebt“?+?Convert.ToString(i);
????????????????Possp[i].AppendChild(savebtn[i]);//添加節點屬性2
????????????????movbtn[i]?=?doc.CreateElement(“Movebt“);
????????????????movbtn[i].InnerText?=?“Movebt“?+?Convert.ToString(i);
????????????????Possp[i].AppendChild(movbtn[i]);//添加節點屬性3
????????????????items.AppendChild(Possp[i]);
????????????}
????????????doc.Save(Application.StartupPath?+?“/Poss.xml“);//保存xml

????????}
????????private?void?FillTexrtext()
????????{
????????????int?k?=?0;
????????????string?str1?=?“Pos0“;
????????????xmlDocument?doc?=?new?xmlDocument();
????????????doc.Load(Application.StartupPath?+?“/Poss.xml“);

????????????foreac

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????..A..H.?????45568??2020-06-22?09:08??xml生成按鈕操作\.vs\xml生成按鈕操作\v14\.suo

?????文件????????189??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\App.config

?????文件????????800??2020-06-22?09:03??xml生成按鈕操作\xml生成按鈕操作\bin\Debug\Poss.xml

?????文件??????13312??2020-06-22?09:02??xml生成按鈕操作\xml生成按鈕操作\bin\Debug\xml生成按鈕操作.exe

?????文件????????189??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\bin\Debug\xml生成按鈕操作.exe.config

?????文件??????26112??2020-06-22?09:02??xml生成按鈕操作\xml生成按鈕操作\bin\Debug\xml生成按鈕操作.pdb

?????文件??????22696??2020-06-22?09:04??xml生成按鈕操作\xml生成按鈕操作\bin\Debug\xml生成按鈕操作.vshost.exe

?????文件????????189??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\bin\Debug\xml生成按鈕操作.vshost.exe.config

?????文件????????490??2019-03-19?12:46??xml生成按鈕操作\xml生成按鈕操作\bin\Debug\xml生成按鈕操作.vshost.exe.manifest

?????文件???????9945??2020-06-22?09:08??xml生成按鈕操作\xml生成按鈕操作\Form1.cs

?????文件???????2889??2020-06-19?22:26??xml生成按鈕操作\xml生成按鈕操作\Form1.Designer.cs

?????文件???????5817??2020-06-19?22:26??xml生成按鈕操作\xml生成按鈕操作\Form1.resx

?????文件???????1464??2020-06-19?20:22??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????7220??2020-06-19?13:22??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件??????????0??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

?????文件??????????0??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

?????文件??????????0??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

?????文件????????942??2020-06-22?09:04??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\xml生成按鈕操作.csproj.FileListAbsolute.txt

?????文件???????1012??2020-06-19?22:26??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\xml生成按鈕操作.csproj.GenerateResource.Cache

?????文件???????2384??2020-06-19?14:36??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\xml生成按鈕操作.csprojResolveAssemblyReference.cache

?????文件??????13312??2020-06-22?09:02??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\xml生成按鈕操作.exe

?????文件????????180??2020-06-19?22:26??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\xml生成按鈕操作.Form1.resources

?????文件??????26112??2020-06-22?09:02??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\xml生成按鈕操作.pdb

?????文件????????180??2020-06-19?14:36??xml生成按鈕操作\xml生成按鈕操作\obj\Debug\xml生成按鈕操作.Properties.Resources.resources

?????文件????????533??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\Program.cs

?????文件???????1350??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\Properties\AssemblyInfo.cs

?????文件???????2855??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\Properties\Resources.Designer.cs

?????文件???????5612??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\Properties\Resources.resx

?????文件???????1108??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\Properties\Settings.Designer.cs

?????文件????????249??2020-06-19?13:21??xml生成按鈕操作\xml生成按鈕操作\Properties\Settings.settings

............此處省略16個文件信息

評論

共有 條評論

相關資源