H
Hrvoje Voda
private void buttonBrowse_Click(object sender, System.EventArgs e)
{
Domains dmn = new Domains ();
if (dmn.ShowDialog () == DialogResult.OK )
{
textBoxUserName.Text =
System.Environment.UserName ;
textBoxDomain.Text = dmn.DomainName ;
}
}
What is wrong with this code?
I press the OK button in the Domains form, but I don't get the result.
Hrcko
{
Domains dmn = new Domains ();
if (dmn.ShowDialog () == DialogResult.OK )
{
textBoxUserName.Text =
System.Environment.UserName ;
textBoxDomain.Text = dmn.DomainName ;
}
}
What is wrong with this code?
I press the OK button in the Domains form, but I don't get the result.
Hrcko