コード例 #1
0
 private void Grid_Loaded(object sender, RoutedEventArgs e)
 {
     if (usersRow != null)
     {
         Id.Text   = usersRow.Id.ToString();
         Name.Text = usersRow.Name;
         if (usersRow.IsisDeleteNull())
         {
             isDelete.IsChecked = false;
         }
         else
         {
             isDelete.IsChecked = usersRow.isDelete > 0;
         }
     }
     else
     {
         isNew = true;
     }
 }
コード例 #2
0
 public static void Fill(StatusJobDBDataSet.UsersRow row)
 {
     Id       = row.Id;
     Name     = row.Name;
     isDelete = row.IsisDeleteNull() ? false : row.isDelete > 0;
 }