Beispiel #1
0
        private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            //Point relativePoint = btnNUs.TransformToAncestor(this)
            //                  .Transform(new Point(0, 0));
            //Console.WriteLine(relativePoint);
            EditUser editUser = new EditUser();

            //editUser.Top = 250;
            //editUser.Left = 600;
            editUser.ShowDialog();
        }
Beispiel #2
0
 private void GridTableUsuarios_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     try
     {
         DataRowView row = GridTableUsuarios.SelectedItem as DataRowView;
         WpfDisp.cnnClass.publicUserEdit = row.Row.ItemArray[0].ToString();
         EditUser frmEditUser = new EditUser();
         frmEditUser.ShowDialog();
     }
     catch
     {
     }
 }