M
Martin Hart - Memory Soft, S.L.
Hi:
I have a set of derived forms that I wish to implement an 'Execute' method
to launch these forms, but I also wish to hide the 2 inbuilt ShowDialog
methods so these can't be called unwittingly.
I have tried:
private new DialogResult ShowDialog() { }
private new DialogResult ShowDialog(IWin32Window aParent) { }
but these are completely ignored and the 2 methods are still visible and
usable.
How can I hide these?
TIA,
Martin.
I have a set of derived forms that I wish to implement an 'Execute' method
to launch these forms, but I also wish to hide the 2 inbuilt ShowDialog
methods so these can't be called unwittingly.
I have tried:
private new DialogResult ShowDialog() { }
private new DialogResult ShowDialog(IWin32Window aParent) { }
but these are completely ignored and the 2 methods are still visible and
usable.
How can I hide these?
TIA,
Martin.