changing access modifier of base method



Hi,
I have implemented an InputBox dialogue, I would like to change the access modifier of the Form::Show method from public to private, but the following code does not do that. What else do I need to do? Thanks.


public partial class InputBox : Form
{
private new void Show()
{
}

private new void Show(IWin32Window owner)
{
}
}
.



Relevant Pages

  • delegate object as an argument
    ... I tried to pass a delegate object to a function, ... access modifier is private but gives me a compile error when the ... private void testfunction2//works fine ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Data Object Collection Inheritance
    ... > private System.Windows.Forms.ListBox listBox1;> private System.Windows.Forms.Button cmdID;> private System.Windows.Forms.Button cmdText; ... > private void InitializeComponent() ... > // TODO: Add BaseDataCollection.IsReadOnly getter implementation> return false; ... > public sealed class SubClassCollection: ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Problem in converting to C#
    ... public delegate void delegate1 ... private void InitializeComponent() ... private void Button1_Click(object sender, System.EventArgs e) ... Private Sub Form1_Load(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Redraw problem - please help
    ... >> public int CurrentX; ... >> public void Create ... >> private System.ComponentModel.IContainer components; ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Law of Demeter can be supported without eliminating object coupling
    ... void C::M ... // do something to change solution state ... or there is a disconnect here as well. ...
    (comp.object)