private void LoadDonViForm() { if (this.InvokeRequired == true) { DelegateLoadDonViForm v = new DelegateLoadDonViForm(LoadDonViForm); this.Invoke(v); } else { frmSDonVi f = new frmSDonVi(); if (f.IsDisposed == false) LoadFormF(f, true); } }
private void btnDMDonViXNK_Click(object sender, EventArgs e) { frmSDonVi f = new frmSDonVi(); if (f.IsDisposed == false) LoadFormF(f, false); }