private void calendarApp_Click(object sender, EventArgs e) { xcalendar ci = new xcalendar(); this.Controls.Add(ci); ci.Dock = DockStyle.Fill; ci.BringToFront(); }