예제 #1
0
        private void Game_Load(object sender, EventArgs e)
        {
            Cursor.Hide();
            panel1.Hide();
            registerPanel.Hide();

            WinAPI.Maximize(this);
            Cursor                          = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            textBox1.Cursor                 = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            textBox2.Cursor                 = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox1.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            pictureBox2.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox3.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox5.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            pictureBox6.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox7.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox9.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox8.Cursor              = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            pictureBox11.Cursor             = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            panel1.Cursor                   = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            errorPanel.Cursor               = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            Register_USERNAME.Cursor        = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_Email.Cursor           = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_Password.Cursor        = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_Password2.Cursor       = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_MessagePanel.BackColor = Color.FromArgb(200, Color.Black);
            errorPanel.BackColor            = Color.FromArgb(0, Color.Red);
            authenticationPanel.BackColor   = Color.FromArgb(100, Color.Black);
            authenticationPanel.Location    = new Point(this.ClientSize.Width / 2 - authenticationPanel.Size.Width / 2, this.ClientSize.Height / 2 - authenticationPanel.Size.Height / 2);
            authenticationPanel.Anchor      = AnchorStyles.None;
            registerPanel.BackColor         = Color.FromArgb(100, Color.Black);
            registerPanel.Location          = new Point(this.ClientSize.Width / 2 - registerPanel.Size.Width / 2, this.ClientSize.Height / 2 - registerPanel.Size.Height / 2);
            registerPanel.Anchor            = AnchorStyles.None;
            Disclaimer D = new Disclaimer();

            D.TopMost       = true;
            D.StartPosition = FormStartPosition.CenterScreen;
            D.FormClosing  += new FormClosingEventHandler(Stage2);
            D.ShowDialog();
        }
예제 #2
0
        private void Game_Load(object sender, EventArgs e)
        {
            Cursor.Hide();
            panel1.Hide();
            registerPanel.Hide();

            WinAPI.Maximize(this);
            Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            textBox1.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            textBox2.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox1.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            pictureBox2.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox3.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox5.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            pictureBox6.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox7.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox9.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            pictureBox8.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            pictureBox11.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Hand);
            panel1.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            errorPanel.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            Register_USERNAME.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_Email.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_Password.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_Password2.Cursor = clientCursors.getCursor(clientCursors.Cursor_Launcher_Normal);
            REGISTER_MessagePanel.BackColor = Color.FromArgb(200, Color.Black);
            errorPanel.BackColor = Color.FromArgb(0, Color.Red);
            authenticationPanel.BackColor = Color.FromArgb(100, Color.Black);
            authenticationPanel.Location = new Point(this.ClientSize.Width / 2 - authenticationPanel.Size.Width / 2, this.ClientSize.Height / 2 - authenticationPanel.Size.Height / 2);
            authenticationPanel.Anchor = AnchorStyles.None;
            registerPanel.BackColor = Color.FromArgb(100, Color.Black);
            registerPanel.Location = new Point(this.ClientSize.Width / 2 - registerPanel.Size.Width / 2, this.ClientSize.Height / 2 - registerPanel.Size.Height / 2);
            registerPanel.Anchor = AnchorStyles.None;
            Disclaimer D = new Disclaimer();
            D.TopMost = true;
            D.StartPosition = FormStartPosition.CenterScreen;
            D.FormClosing += new FormClosingEventHandler(Stage2);
            D.ShowDialog();
        }