1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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