E
Eric Cadwell
I'm inheriting from From, but my Show method requires a parameter, so I
define an overloaded Show method:
public void Show(Form Owner)
Now I get intellisence for two methods:
Control.Show()
MyForm.Show(Form Owner)
I need to hide Control.Show(). I tried hiding it...
private new void Show()
....and I tried setting EditorBrowsableAttribute...
EditorBrowsable(EditorBrowsableState.Never)
public new void Show()
Neither approach works. EditorBrowsable actually removes both overrides,
even if the correct version is also marked EditorBrowsableState.Always.
Any other ideas?
TIA,
Eric
define an overloaded Show method:
public void Show(Form Owner)
Now I get intellisence for two methods:
Control.Show()
MyForm.Show(Form Owner)
I need to hide Control.Show(). I tried hiding it...
private new void Show()
....and I tried setting EditorBrowsableAttribute...
EditorBrowsable(EditorBrowsableState.Never)
public new void Show()
Neither approach works. EditorBrowsable actually removes both overrides,
even if the correct version is also marked EditorBrowsableState.Always.
Any other ideas?
TIA,
Eric