private void regresarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form h = new home();

            h.Show();
            this.Close();
        }
        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;
        }
Beispiel #3
0
        private void button2_Click_1(object sender, EventArgs e)
        {
            home f1 = new home();

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