private void CustomerForm_Load(object sender, EventArgs e) { foreach (Control ctrl in this.Controls) { if (ctrl is MdiClient) { ctrl.BackColor = Color.LightSlateGray; //ARKAPLANI BOYAMA KODU } } dgCustomer.DataSource = _customerDal.CustomerList(); }
private void CustomerUpdate_Load(object sender, EventArgs e) { dgCustomerUpdate.DataSource = _customerDal.CustomerList(); }