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

            dlg.ShowDialog();
        }
        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();
        }
 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();
 }