StrataFrame Forum

DevEx.BrowseDialog.ShowDialog()

http://forum.strataframe.net/Topic10985.aspx

By Chan - 8/21/2007

Hi,

May I have MicroFour.Strataframe.UI.Windows.Forms.DevEx.BrowseDialog.ShowDialog() method overloading also beside of DevEx.BrowseDialog.ShowDialog(true/false) so that it has same signature with SF BrowseDialog?



Thank you
By StrataFrame Team - 8/22/2007

Yes, if you overload it and it has the same signature, you just have to use the "new" keyword in C# (I think it's Shadows in VB.NET).

public new DialogResult ShowDialog(bool)
{

}

If you don't use the new keyword, you'll just get a warning telling you that the new one hides the superclass's definition.