示例#1
0
        private void editDetailsButtonAdminForm_Click(object sender, EventArgs e)
        {
            EditDetailsForm obj = new EditDetailsForm(loggedinUser);

            obj.Show(this);
            this.Hide();
        }
示例#2
0
        private void editDetailsHomepageForm_Click(object sender, EventArgs e)
        {
            this.Hide();
            var newEditDetails = new EditDetailsForm(loggedInUserInfo);

            newEditDetails.Show(this);
        }