private void SaveRefCust_Click(object sender, RoutedEventArgs e) { string desiredName; if (ExolutioInputBox.Show("FileName: ", out desiredName) == true) { SaveRef(desiredName); } }
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(); } } }