private void BtnNew_Click(object sender, EventArgs e) { FrmCompany frmCompany = new FrmCompany(); frmCompany.ShowDialog(); if (frmCompany.SaveCompleted) { LoadData(); } }
private void BtnView_Click(object sender, EventArgs e) { if (getId != Guid.Empty) { FrmCompany frmCompany = new FrmCompany(getId, false); frmCompany.ShowDialog(); if (frmCompany.SaveCompleted) { LoadData(); } } }