Пример #1
0
        private void EditButton_Click(object sender, RoutedEventArgs e)
        {
            EditProfile editProfile = new EditProfile(this.usernameLogged);

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

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