void Initialize(string datapath) { cardedit = new CardEdit(this); tmpCodes = new List<string>(); ygopath = new YgoPath(Application.StartupPath); InitPath(datapath); InitializeComponent(); title = this.Text; nowCdbFile = ""; cmdManager.UndoStateChanged += delegate (bool val) { if (val) btn_undo.Enabled = true; else btn_undo.Enabled = false; }; }
public CopyCommand(CardEdit cardedit) { this.cardedit = cardedit; this.dataform = cardedit.dataform; }
public ModCommand(CardEdit cardedit) { this.dataform = cardedit.dataform; }
public ModCommand(CardEdit cardedit) { this.cardedit = cardedit; this.dataform = cardedit.dataform; }
void Initialize(string datapath) { cardedit = new CardEdit(this); tmpCodes = new List<string>(); ygopath = new YgoPath(Application.StartupPath); InitPath(datapath); InitializeComponent(); title = this.Text; nowCdbFile = ""; }
public AddCommand(CardEdit cardedit) { dataform = cardedit.dataform; }