Exemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            diaryApp.About.login_form lg_form = new About.login_form();
            //lg_form.ShowDialog();
            lg_form.MdiParent = this;

            this.label1.BackColor         = Color.FromArgb(40, 0, 0, 128);
            this.label2.BackColor         = Color.FromArgb(40, 0, 0, 128);
            this.label3.BackColor         = Color.FromArgb(200, 0, 0, 128);
            this.Version_label2.BackColor = Color.FromArgb(200, 0, 0, 128);
            this.clock.BackColor          = Color.FromArgb(200, 0, 0, 128);


            clock_methd();
            date();
            this.Version_label2.Text = Application.ProductVersion;
            background(diaryApp.Properties.Settings.Default.diaryproject);
            newbkgrd();
            music_combo_list();
        }
Exemplo n.º 2
0
 private void logOffToolStripMenuItem_Click(object sender, EventArgs e)
 {
     diaryApp.About.login_form lg_form = new About.login_form();
     lg_form.ShowDialog();
 }