コード例 #1
0
        private void SaveRefCust_Click(object sender, RoutedEventArgs e)
        {
            string desiredName;

            if (ExolutioInputBox.Show("FileName: ", out desiredName) == true)
            {
                SaveRef(desiredName);
            }
        }
コード例 #2
0
 public override void Execute(object parameter = null)
 {
     if (Current.ActiveOCLScript != null)
     {
         string newName;
         if (ExolutioInputBox.Show("Enter new name of the script", Current.ActiveOCLScript.Name, out newName) == true)
         {
             cmdRenameComponent c = new cmdRenameComponent(Current.Controller);
             c.ComponentGuid = Current.ActiveOCLScript;
             c.NewName       = newName;
             c.Execute();
         }
     }
 }