Пример #1
0
 public void ReLoad()
 {
     Task.Run(() =>
     {
         reSetIndex();
     });
     fm                               = PubulicData.em;
     Notify                           = PubulicData.icon;
     item                             = PubulicData.item;
     fm.FormClosing                  += frmMain_FormClosing;
     Notify.MouseDown                += ClickIcon;
     item["ItemOne"].MouseDown       += ShowForm;
     item["ItemTwo"].MouseDown       += CloseForm;
     PubulicData.GCFN("hfan").Visible = false;
     PubulicData.GCFN("scan").Visible = false;
     setButtonClick(new string[] { "hf", "sc", "ycxs", "btnWebClear", "btnAppCreate", "btnWebCreate", "btnAppClear", "btnClose", "btnWebTop", "btnAppTop", "btnWebUp", "btnAppUp", "btnWebDown", "btnAppDown", "btnPT" });
     timer          = new Timer();
     timer.Interval = 500;
     timer.Tick    += new EventHandler(timer_Tick);
     timer.Start();
 }
Пример #2
0
 public DataHelper()
 {
     fm          = PubulicData.em;
     _formHelper = new FormHelper();
 }