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); } }
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); } }