1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

No new form opens

Discussion in 'C#' started by El_pacco, Feb 9, 2013.

  1. El_pacco

    El_pacco New Member

    Joined:
    Aug 30, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I'm kinda new in C# so be kind plz.
    I'm tring to write an app with Monodevelop so i designed a second form to link it with a button. When a user click it automatically opens the new form (that simply and i can't do it)

    Code:
    protected void OnAddDatesClicked (object sender, EventArgs e)
        {
                Calendar DatesPanel = new Calendar();
                DatesPanel.Show();       
        }
    so what am i missing here?
     

Share This Page