Exemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.ControlBox      = false;
            this.Text            = null;
            pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
            string s = "2017-10-01";

            main.CreateControl();
            main.CreateGraphics();


            DateTime dt =
                DateTime.Parse(s);
            //if (DateTime.Today > dt)
            //{
            //    MessageBox.Show("Unlicensed copy");
            //    Application.Exit();
            //}
        }