示例#1
0
 public static CopyrightForm Instance(Form parent)
 {
     if (_instance != null)
     {
         return(_instance);
     }
     _instance = new CopyrightForm
     {
         MdiParent = parent
     };
     LanguageClass.Instance.RegisterChangeNotifiy(CopyrightForm_OnRaiseLanguageChangedHandler);
     return(_instance);
 }
示例#2
0
 public static CopyrightForm Instance(Form parent)
 {
     if (_instance != null)
     {
         return(_instance);
     }
     _instance = new CopyrightForm
     {
         MdiParent = parent
     };
     LanguageClass.Instance().OnRaiseLanguageChangedHandler += CopyrightForm_OnRaiseLanguageChangedHandler;
     return(_instance);
 }
示例#3
0
 private void CopyrightForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instance = null;
     //  this.Hide();
     // e.Cancel = true;
 }