Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            mainView.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            mainView.TopLevel        = false;
            mainView.AutoScroll      = true;
            MainPanel.Controls.Add(mainView);
            mainView.Show();

            AboutView.Hide();
        }
Ejemplo n.º 2
0
 //Info Button Click
 private void _btnInfo_Click(object sender, EventArgs e)
 {
     AboutForm about = new AboutForm();
     about.Show();
     about.Update();
     about.StartPosition = FormStartPosition.CenterScreen;
     int deskHeight = Screen.PrimaryScreen.Bounds.Height;
     int deskWidth = Screen.PrimaryScreen.Bounds.Width;
     about.Location = new Point(deskWidth / 2 - about.Width / 2, deskHeight / 2 - about.Height / 2);
     Functions.pause(5000);
     about.Hide();
 }