[ VISUAL STUDIO C# ] calendar USING MONTHCALENDAR

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;


// make sure that using System.Diagnostics; is included

using System.Diagnostics; 


namespace Template

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void pictureBox1_Click(object sender, EventArgs e)

        {

            if (groupBox1.Visible == false)

            {

                groupBox1.Show();

            }

            else { groupBox1.Hide(); textBox1.Text = null; }

        }


        private void monthCalendar1_DateChanged(object sender, DateRangeEventArgs e)

        {

            textBox1.Text = monthCalendar1.SelectionStart.ToString();

        }

    }

}


No comments:

Power Is Shifting Rapidly to Indie Creators

The exodus from Twitter since the election is a sign of things to come ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ...

Contact Form

Name

Email *

Message *