void Temizle() { foreach (Control ct in splitContainer1.Panel1.Controls) { if (ct is TextBox || ct is ComboBox) { ct.Text = ""; } } txtFirmaNo.Text = _n.FirmaNo(); edit = false; cbFirmaTur.SelectedIndex = -1; }