예제 #1
0
        private void regresarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form h = new home();

            h.Show();
            this.Close();
        }
예제 #2
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            home f1 = new home();

            f1.Width         = this.Width;
            f1.Height        = this.Height;
            f1.StartPosition = FormStartPosition.Manual;
            f1.Location      = new Point(this.Location.X, this.Location.Y);
            this.Visible     = false;
            f1.ShowDialog();
            this.Visible = true;
        }
예제 #3
0
        private void button2_Click_1(object sender, EventArgs e)
        {
            home f1 = new home();

            MessageBox.Show(client.CurrentPresence.State.ToString());
        }