public ATKD_Editor(string atkdPath) { InitializeComponent(); filePath = atkdPath; atkd = new ATKD().Read(filePath); InitDataGridTable(); }
public ATKD_Editor(string atkdPath, ModelViewport mvp) { InitializeComponent(); filePath = atkdPath; atkd = new ATKD().Read(filePath); InitDataGridTable(); this.mvp = mvp; }
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; }