Esempio n. 1
0
        public void DoLoad()
        {
            LoadForm testDialog = new LoadForm();
            testDialog.ShowDialog();
            storage_lbl.Text += " " + testDialog._Loc.Trim();
            Draft_label.Text += " " + testDialog._Draft.Trim();
            testDialog.Dispose();

        }
Esempio n. 2
0
        public void DoLoad()
        {
            LoadForm testDialog = new LoadForm();

            //Show testDialog as a modal dialog and determine if DialogResult = OK.
            //testDialog.CenterForm();
            if (testDialog.ShowDialog() == DialogResult.OK)
            {
                // Read the contents of testDialog's TextBox.
                

            }
            else
            {
                
            }
            testDialog.Dispose();

        }