コード例 #1
0
        private void NewProfileButton_Click(object sender, RoutedEventArgs e)
        {
            EditProfileDialog edit = new EditProfileDialog(this);

            try
            {
                edit.ShowDialog();
            }
            catch
            {
            }
        }
コード例 #2
0
        private void EditProfile_Click(object sender, RoutedEventArgs e)
        {
            ProxyProfile profile = (ProxyProfile)((Button)e.Source).DataContext;

            EditProfileDialog edit = new EditProfileDialog(this, profile);

            try
            {
                edit.ShowDialog();
            }
            catch
            {
            }
        }