コード例 #1
0
 private void monthCalendar1_DateSelected(object sender, DateRangeEventArgs e)
 {
     if (MessageBox.Show("Would You like to add an event ?", "Event", MessageBoxButtons.YesNo)
         == DialogResult.Yes)
     {
         Addeve s = new Addeve();
         s.startT.Text = monthCalendar1.SelectionStart.ToString();
         s.Show();
     }
 }
コード例 #2
0
        private void metroTile1_Click(object sender, EventArgs e)
        {
            Addeve ad = new Addeve();

            ad.Show();
        }