添加项目文件。
This commit is contained in:
29
U8AppMain/FrmMain.cs
Normal file
29
U8AppMain/FrmMain.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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.Serialization;
|
||||
namespace U8AppMain
|
||||
{
|
||||
public partial class FrmMain : Form
|
||||
{
|
||||
public FrmMain()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void BtnBomImport_Click(object sender, EventArgs e)
|
||||
{
|
||||
var bom = new Bom.ufinterface();
|
||||
bom.Bom.ComponentBodies.Add(new Bom.ComponentBody());
|
||||
bom.Bom.ComponentBodies.Add(new Bom.ComponentBody());
|
||||
|
||||
MessageBox.Show(XmlHelper.XmlSerialize(bom, Encoding.UTF8));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user