public override void OnAddNew() { base.OnAddNew(); MAS020_DealingMaster form = new MAS020_DealingMaster(); if (form.ShowDialog(this) == DialogResult.OK) { LoadData(false); } }
private void OpenLocationMaster() { if (!ActivePermission.Edit) { return; } if (shtView.RowCount <= 0) { return; } string LOC_CD = shtView.GetValue(shtView.ActiveRowIndex, (int)eColView.LOC_CD).ToString(); MAS020_DealingMaster form = new MAS020_DealingMaster(LOC_CD); if (form.ShowDialog(null) == DialogResult.OK) { LoadData(false); } }