Example #1
0
 public FormAdmin(FormLogin form)
 {
     InitializeComponent();
     cbTime.SelectedIndex = 0;
     parent = form;
     closeParent = true;
 }
Example #2
0
 public FormMain(FormLogin frmLogin)
 {
     InitializeComponent();
     this.frmLogin    = frmLogin;
     frmStandings     = null;
     frmRounds        = null;
     frmAllTipsters   = null;
     frmStatistics    = null;
     frmMyProfile     = null;
     frmAllPlayers    = null;
     pbMusic.Location = new Point(this.Width - 2 * pbMusic.Width, pbMusic.Location.Y);
     if (!FormLogin.musicOn)
     {
         pbMusic.Image = Image.FromFile("imgMusicOff.png");
     }
 }
Example #3
0
 public FormMain(FormLogin frmLogin)
 {
     
     InitializeComponent();
     this.frmLogin = frmLogin;
     frmStandings = null;
     frmRounds = null;
     frmAllTipsters = null;
     frmStatistics = null;
     frmMyProfile = null;
     frmAllPlayers = null;
     pbMusic.Location = new Point(this.Width - 2 * pbMusic.Width, pbMusic.Location.Y);
     if (!FormLogin.musicOn)
     {
         pbMusic.Image = Image.FromFile("imgMusicOff.png");
     }
 }