D
deciacco
VS2k5 - C# .NET 2
I would like to create my own custom dialog that behaves like the
FolderBrowserDialog. In other words, I would like to be able to go to the
ToolBox, select my custom dialog and drop into my form designer. Then set
some properties from within code before calling the showDialog method. I'm
not trying to recreate the FolderBrowserDialog. Just my own custom dialog
that captures some data.
example:
this.customDialog.customProperty = false;
this.customDialog.customProperty2 = 5;
this.customDialog.showDialog(this);
this.textBox1.text = this.customDialog.getValue();
Thanks.
I would like to create my own custom dialog that behaves like the
FolderBrowserDialog. In other words, I would like to be able to go to the
ToolBox, select my custom dialog and drop into my form designer. Then set
some properties from within code before calling the showDialog method. I'm
not trying to recreate the FolderBrowserDialog. Just my own custom dialog
that captures some data.
example:
this.customDialog.customProperty = false;
this.customDialog.customProperty2 = 5;
this.customDialog.showDialog(this);
this.textBox1.text = this.customDialog.getValue();
Thanks.