public static RemarkFrm getInstance() { if (RemarkFrm._instance == null || RemarkFrm._instance.IsDisposed) { RemarkFrm._instance = new RemarkFrm(); } return(RemarkFrm._instance); }
private void pbOK_Click(object sender, EventArgs e) { if (frm != null) { frm.setInfoValue(txtInfo.Text); } this.Close(); RemarkFrm.getInstance().Refresh(); }
public void setFrm(RemarkFrm form) { frm = form; }