Search Results

Search found 1 results on 1 pages for 'ikel'.

Page 1/1 | 1 

  • dialogresult does not work or partially work for some reason

    - by ikel
    I made a form to be a dialog and the form only has one textbox, one OK button and one Cancel button. somehow, when the following does not work unless i change rnmForm.DialogResult!=DialogResult.OK), why is that???? frmRename rnmForm = new frmRename(); rnmForm.ShowDialog(new Form()); if (rnmForm.DialogResult==DialogResult.OK) { MessageBox.Show("test"); }

    Read the article

1