Exemplo n.º 1
0
        private void browseServerButton_Click(object sender, EventArgs e)
        {
            PickServerForm dial = new PickServerForm();
            if (dial.ShowDialog() == DialogResult.OK)
                serverTextBox.Text = dial.ServerName;

            dial.Dispose();
        }
Exemplo n.º 2
0
        private void browseServerButton_Click(object sender, EventArgs e)
        {
            PickServerForm dial = new PickServerForm();

            if (dial.ShowDialog() == DialogResult.OK)
            {
                serverTextBox.Text = dial.ServerName;
            }

            dial.Dispose();
        }