private void 增加寄存ToolStripMenuItem_Click(object sender, EventArgs e) { AddjcFrom addjc = AddjcFrom.CreateForm(); addjc.Show(); addjc.Focus(); }
public static AddjcFrom CreateForm() { if (_danli == null) { _danli = new AddjcFrom(); } return(_danli); }
private void AddjcFrom_FormClosing(object sender, FormClosingEventArgs e) { videoSourcePlayer1.SignalToStop(); videoSourcePlayer1.WaitForStop(); _danli = null; }