public static PaperForm getInstance(ClosePaper ClosePaper) { if (instance == null) { instance = new PaperForm(ClosePaper); } instance.Show(); return(instance); }
private void PaperForm_FormClosed(object sender, FormClosedEventArgs e) { instance = null; this.ClosePaper(this.closeStr, this.exportPath); }