Exemplo n.º 1
0
 private void btnRounds_Click(object sender, EventArgs e)
 {
     if (frmRounds != null)
     {
         frmRounds.Close();
     }
     frmRounds           = new FormRounds(FormLogin.docMain);
     frmRounds.MdiParent = this;
     frmRounds.Show();
 }
Exemplo n.º 2
0
        private void btnRounds_Click(object sender, EventArgs e)
        {

            if (frmRounds != null)
            {
                frmRounds.Close();
            }
            frmRounds = new FormRounds(FormLogin.docMain);
            frmRounds.MdiParent = this;
            frmRounds.Show();
        }
Exemplo n.º 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");
     }
 }
Exemplo n.º 4
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");
     }
 }