Beispiel #1
0
        //EVENT FOR CLICKING OF ICONS
        private void pbMouseClick(object sender, EventArgs e)
        {
            PictureBox pb = (PictureBox)sender;

            switch (pb.Name)
            {
            case "pb_FacebookIco":
                System.Diagnostics.Process.Start("http://www.facebook.com");
                break;

            case "pb_TwitterIco":
                break;

            case "pb_gPlusIco":
                System.Diagnostics.Process.Start("http://www.plus.google.com");
                break;

            case "pb_InfoIco":
                System_Info info = new System_Info();
                info.ShowDialog();
                break;

            default:
                System_Message message = new System_Message();
                message.ShowDialog();
                break;
            }
        }
        private void btn_Close_Click(object sender, EventArgs e)
        {
            System_Message _MessegeSystem = new System_Message();

            _MessegeSystem.ShowDialog();
        }
Beispiel #3
0
        private void btn_Close_Click(object sender, EventArgs e)
        {
            System_Message msgForm = new System_Message();

            msgForm.ShowDialog();
        }