示例#1
0
 private void btnStandings_Click(object sender, EventArgs e)
 {
     if (frmStandings != null)
     {
         frmStandings.Close();
     }
     frmStandings           = new FormStandings();
     frmStandings.MdiParent = this;
     frmStandings.Show();
 }
示例#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");
     }
 }
示例#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");
     }
 }
示例#4
0
 private void btnStandings_Click(object sender, EventArgs e)
 {
     if (frmStandings != null)
     {
         frmStandings.Close();
     }
     frmStandings = new FormStandings();
     frmStandings.MdiParent = this;
     frmStandings.Show();
 }