private void MecMakineEkle_Load(object sender, EventArgs e) { txt_üretimNo.Enabled = false; if (Temp != null) { doldur(); cmb_ulke.Enabled = true; cmb_ıl.Enabled = true; } foreach (Musteri item in musteriOperation.GetAll()) { if (!cmb_ulke.Items.Contains(item.Ulke)) { cmb_ulke.Items.Add(item.Ulke); } } }
private void refresh() { dataGridView1.DataSource = musteriOperation.GetAll(); }