public ArgumentInputWindow(string path, string parentText, string arguments) { _path = path; _arguments = arguments; InitializeComponent(); TxtArguments.Focus(); Title = "Input - " + parentText; }
void ReleaseDesignerOutlets() { if (TxtFilename != null) { TxtFilename.Dispose(); TxtFilename = null; } if (TxtArguments != null) { TxtArguments.Dispose(); TxtArguments = null; } if (ChkWaitEnd != null) { ChkWaitEnd.Dispose(); ChkWaitEnd = null; } if (CmdSave != null) { CmdSave.Dispose(); CmdSave = null; } if (CmdCancel != null) { CmdCancel.Dispose(); CmdCancel = null; } if (CmdBrowse != null) { CmdBrowse.Dispose(); CmdBrowse = null; } }