示例#1
0
 public ATKD_Editor(string atkdPath)
 {
     InitializeComponent();
     filePath = atkdPath;
     atkd     = new ATKD().Read(filePath);
     InitDataGridTable();
 }
示例#2
0
 public ATKD_Editor(string atkdPath, ModelViewport mvp)
 {
     InitializeComponent();
     filePath = atkdPath;
     atkd     = new ATKD().Read(filePath);
     InitDataGridTable();
     this.mvp = mvp;
 }
示例#3
0
 public ATKD_Editor(ATKD atkd)
 {
     InitializeComponent();
     this.atkd = atkd;
     tbl       = new DataTable();
     tbl.Columns.Add(new DataColumn("ID/Name")
     {
         ReadOnly = true
     });
     tbl.Columns.Add("Unknown");
     tbl.Columns.Add("Start Frame");
     tbl.Columns.Add("End Frame");
     tbl.Columns.Add("X Min");
     tbl.Columns.Add("X Max");
     tbl.Columns.Add("Y Min");
     tbl.Columns.Add("Y Max");
     dataGridView1.DataSource = tbl;
 }