Exemple #1
0
 public static void init(Form form)
 {
     AppLanguage.SetLang(form);
     form.setIcon();
     AppLanguage.InitLanguage(form);
     initFont(form);
 }
Exemple #2
0
 void init()
 {
     this.SizeChanged -= FormMain_SizeChanged;
     com.init(this);
     AppLanguage.InitLanguage(contextMenuStripFile);
     AppLanguage.InitLanguage(contextMenuStripStream);
     initFont();
     if (com.cfg.dat.winHeight != 0 && com.cfg.dat.winWidth != 0)
     {
         this.Size = new Size(com.cfg.dat.winWidth, com.cfg.dat.winHeight);
     }
     this.SizeChanged += FormMain_SizeChanged;
 }