private void Button_Click(object sender, RoutedEventArgs e) { ConvertModelToString tmp = new ConvertModelToString(); Int32 cmd_Type = Convert.ToInt32(ModelItem.Properties["cmdTYPE"].ComputedValue); ParametersWizard wizard = new ParametersWizard(ModelItem, cmd_Type, "", ""); wizard.ShowOkCancel(); }
public CheckIDWizard(Type_of_Command CmdTYPE, String ObjectName, Hashtable HashData) { cmdTYPE = Type_of_Command.JustDisplay; HashGeneralData = HashData; InitializeComponent(); this.Title = "List of fields from " + ObjectName; this.WindowStartupLocation = WindowStartupLocation.Manual; parentWindow = null; objToReturn = null; }
private void Button_Click(object sender, RoutedEventArgs e) { ConvertModelToString tmp = new ConvertModelToString(); Int32 cmd_Type = Convert.ToInt32(ModelItem.Properties["cmdTYPE"].ComputedValue); String ID2 = tmp.ConvertModelItem(ModelItem.Properties["CampaignID"].ComputedValue); if (ID2 == null) { ID2 = ""; } ParametersWizard wizard = new ParametersWizard(ModelItem, cmd_Type, "", ID2); wizard.ShowOkCancel(); }
public CheckIDWizard(String AuthToken, String ServiceURL, Type_of_Command CmdTYPE, String Name, String ID, ParametersWizard ParentWindow, String NameOfService, Type_of_Command CmdTYPEMandatory) { cmdTYPE = CmdTYPE; InitializeComponent(); authToken = AuthToken; serviceURL = ServiceURL; id = ID; name = Name; parentWindow = ParentWindow; nameOfService = NameOfService; cmdTYPEMandatory = CmdTYPEMandatory; if (cmdTYPE != Type_of_Command.CheckID) { this.WindowStartupLocation = WindowStartupLocation.Manual; } else { this.Topmost = false; this.Title = "Check ID in " + name; } }