void Temizle() { foreach (Control ct in splitContainer1.Panel1.Controls) { if (ct is TextBox || ct is ComboBox) { ct.Text = ""; } } txtUsiraNo.Text = _n.UrunSiraNo(); edit = false; }