Ejemplo n.º 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            /*db = new gr671_kvsEntities();
             * ListGrid.ItemsSource = db.Calls.ToList();
             * txtclient.Content = client;
             * var IdUser = db.User.Where(user => user.LoginUser == (string)txtclient.Content).Select(id => id.LoginUser).FirstOrDefault();
             * int _id = IdUser;*/

            db = new gr671_kvsEntities();
            ListGrid.ItemsSource = db.Calls.ToList();
        }
Ejemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     db = new gr671_kvsEntities();
 }