Exemplo n.º 1
0
 void TestAdiDoldur()
 {
     TestCombobox.Items.Clear();
     testler = new List <Test>();
     testler = FTest.SelectAll(Global.ServerKullanici.KullaniciId);
     if (testler == null)
     {
         return;
     }
     foreach (var test in testler)
     {
         TestCombobox.Items.Add(test.TestAdi);
     }
 }
Exemplo n.º 2
0
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            testler = new List <Test>();
            if (Global.ServerKullanici == null)
            {
                return;
            }

            testler = FTest.SelectAll(Global.ServerKullanici.KullaniciId);

            if (testler == null)
            {
                return;
            }
            foreach (var test in testler)
            {
                TestAdiComboBox.Items.Add(test.TestAdi);
            }
        }