示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            DemoCommand cmd = new DemoCommand("Demo02ExecCmd");

            cmd.SetDemoModuleCore(m_DemoPlugin);
            cmd.Execute();
            CommandManager.Instance.InsertIntoUndoList(cmd);
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            DemoCommand cmd = new DemoCommand("Demo01UnExecCmd");

            cmd.SetDemoModuleCore(m_DemoPlugin);

            CommandManager.Instance.Insert(cmd);
        }