예제 #1
0
 public ArgumentInputWindow(string path, string parentText, string arguments)
 {
     _path      = path;
     _arguments = arguments;
     InitializeComponent();
     TxtArguments.Focus();
     Title = "Input - " + parentText;
 }
예제 #2
0
        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;
            }
        }