private void button3_Click(object sender, EventArgs e) { DemoCommand cmd = new DemoCommand("Demo02ExecCmd"); cmd.SetDemoModuleCore(m_DemoPlugin); cmd.Execute(); CommandManager.Instance.InsertIntoUndoList(cmd); }
private void button2_Click(object sender, EventArgs e) { DemoCommand cmd = new DemoCommand("Demo01UnExecCmd"); cmd.SetDemoModuleCore(m_DemoPlugin); CommandManager.Instance.Insert(cmd); }