Пример #1
0
 private void FormManagerInfo_FormClosing(object sender, FormClosingEventArgs e)
 {
     //与单例保持一致,清理静态字段_form
     _form = null;
 }
Пример #2
0
 private void FormManagerInfo_FormClosing(object sender, FormClosingEventArgs e)
 {
     _form = null;
 }
Пример #3
0
 private void FormManagerInfo_FormClosing(object sender, FormClosingEventArgs e)
 {
     //与单例保持一致
     //出现这种代码的原因:Form的close()会释放当前窗体对象
     _form = null;
 }