private void EditButton_Click(object sender, RoutedEventArgs e)
        {
            EditProfile editProfile = new EditProfile(this.usernameLogged);

            editProfile.ShowDialog();
            LoadContent();
        }
Example #2
0
        private void editProfileBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form next = new EditProfile();

            next.ShowDialog();
            this.Close();
        }