J
Jim Heavey
Hello
If I have created a form which will be used as a dialog box, how do I get
the results passed pack from the dialog box?
I tried this
DialogResult rslt = frm.ShowDialog();
I do not get any compile error, but when I try to use the "rslt" I thought
When I go to check the value, I use statements like:
if (rslt == DialogResult.Cancel)
( return; }
and it does not like these. How do I test the value returned?
One final question...
When I call the constructor for the new form (dialog box), I call it with
my own constructor. I believe I am suppose to call the Original
constructor that has the "Initialize" method in it. How do I call the
original constructor? I think there is a special command for this, I tried
"this.MyConstructor()" but it does not like that and it does not like
"MyConstructor()". So what do I call?
Thanks in advance for your assistance!!!!!!!!!!
If I have created a form which will be used as a dialog box, how do I get
the results passed pack from the dialog box?
I tried this
DialogResult rslt = frm.ShowDialog();
I do not get any compile error, but when I try to use the "rslt" I thought
When I go to check the value, I use statements like:
if (rslt == DialogResult.Cancel)
( return; }
and it does not like these. How do I test the value returned?
One final question...
When I call the constructor for the new form (dialog box), I call it with
my own constructor. I believe I am suppose to call the Original
constructor that has the "Initialize" method in it. How do I call the
original constructor? I think there is a special command for this, I tried
"this.MyConstructor()" but it does not like that and it does not like
"MyConstructor()". So what do I call?
Thanks in advance for your assistance!!!!!!!!!!