예제 #1
0
 public MainForm()
 {
     InitializeComponent();
     FullScreen.HideHHTaskBar();
     this.WindowState = FormWindowState.Maximized;
     Config           = Configuration.ReadConfig();
     if (Config == null)
     {
         this.Close();
     }
     lbl_Logo.Text          = Config.ScenicSpots;
     pnl_Card_Yes.Visible   = pnl_Card_No.Visible = pnl_Valid.Visible = pnl_Invalid.Visible = false;
     pnl_Card_Yes.Location  = pnl_Card_No.Location =
         pnl_Valid.Location = pnl_Invalid.Location = pnl_General.Location;
     pnl_General.Visible    = true;
     Tmr_Refresh.Enabled    = true;
     this.Tmr_Refresh_Tick(Tmr_Refresh, null);
 }
예제 #2
0
 private void Form1_Closed(object sender, EventArgs e)
 {
     FullScreen.ShowHHTaskBar();
 }