// 最初のif文の条件式は多重起動防止 private void DraftButton_Click(object sender, EventArgs e) { if (DraftObj == null || DraftObj.IsDisposed) { DraftObj = new DraftForm(this); DraftObj.Show(); } }
public AddDraftForm(DraftForm d) { df = d; InitializeComponent(); }