예제 #1
0
        public void EditCommandMethod(IScriptCommand command)
        {
            if (command == null)
            {
                return;
            }
            var dlg = new ScriptCommandEdit(command.GetConfig());

            dlg.ShowDialog();
        }
예제 #2
0
        public void EditCommandMethod(IScriptCommand command)
        {
            if (command == null)
            {
                return;
            }
            if (!command.HaveEditControl)
            {
                MessageBox.Show("Use script editor to edit this script");
                return;
            }
            var dlg = new ScriptCommandEdit(command.GetConfig());

            dlg.ShowDialog();
        }
예제 #3
0
 public void EditCommandMethod(IScriptCommand command)
 {
     if (command == null)
         return;
     if (!command.HaveEditControl)
     {
         MessageBox.Show("Use script editor to edit this script");
         return;
     }
     var dlg = new ScriptCommandEdit(command.GetConfig());
     dlg.ShowDialog();
 }