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