예제 #1
0
        private void AdminHome_Click(object sender, EventArgs e)
        {
            AdminProfile Profiles = new AdminProfile();

            Profiles.Show();
            Hide();
        }
        private void AdminHome_Click(object sender, EventArgs e)
        {
            AdminProfile Profiles = new AdminProfile();

            Profiles.Show();
            Hide();
            if (pictureBox1.Image != null)
            {
                pictureBox1.Image.Dispose();
                pictureBox1.Image = null;
            }
        }
예제 #3
0
        //traverse to adminprofile
        private void ProfileButton_Click(object sender, EventArgs e)
        {
            AdminProfile profile = new AdminProfile();

            profile.Show();
            Hide();
            if (pictureBox1.Image != null)
            {
                pictureBox1.Image.Dispose();
                pictureBox1.Image = null;
            }
        }