Exemplo n.º 1
0
        private void button_findProjectName_Click(object sender, EventArgs e)
        {
            GetProjectNameDialog dlg = new GetProjectNameDialog();

            dlg.dom = this.dom;
            dlg.ProjectName = this.textBox_defaultProjectName.Text;
            dlg.StartPosition = FormStartPosition.CenterScreen;
            dlg.ShowDialog(this);

            if (dlg.DialogResult != DialogResult.OK)
                return;

            this.textBox_defaultProjectName.Text = dlg.ProjectName;
        }
Exemplo n.º 2
0
        private void button_findProjectName_Click(object sender, EventArgs e)
        {
            GetProjectNameDialog dlg = new GetProjectNameDialog();

            dlg.dom           = this.dom;
            dlg.ProjectName   = this.textBox_defaultProjectName.Text;
            dlg.StartPosition = FormStartPosition.CenterScreen;
            dlg.ShowDialog(this);

            if (dlg.DialogResult != DialogResult.OK)
            {
                return;
            }

            this.textBox_defaultProjectName.Text = dlg.ProjectName;
        }