示例#1
0
文件: apprun.cs 项目: skyclub66/HMI
 private void timer1_Tick(object sender, EventArgs e)
 {
     this.timer1.Enabled = false;
     if (this.Myapp == null)
     {
         StreamReader streamReader = new StreamReader(this.binpath);
         if (!Kuozhan.CheckData(streamReader, datasize.hmibiaoshiL, 1))
         {
             base.Close();
             return;
         }
         streamReader.Close();
         streamReader.Dispose();
         this.runscr1.guiint_run(null, this.binpath);
     }
     else
     {
         this.runscr1.guiint_run(this.Myapp.images, this.binpath);
     }
     this.apprun_Resize(null, null);
     this.runscr1.Visible = true;
 }