private void gridTipsters_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     int idTipster = Int32.Parse(gridTipsters[0, e.RowIndex].Value.ToString());
     FormTipster frmTipster = new FormTipster(idTipster);
     frmTipster.frmParent = this;
     frmTipster.Show();
 }
        private void gridTipsters_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int         idTipster  = Int32.Parse(gridTipsters[0, e.RowIndex].Value.ToString());
            FormTipster frmTipster = new FormTipster(idTipster);

            frmTipster.frmParent = this;
            frmTipster.Show();
        }
示例#3
0
        private void btnMyProfile_Click(object sender, EventArgs e)
        {
            if (frmMyProfile != null)
            {
                frmMyProfile.Close();
            }
            frmMyProfile           = new FormTipster(FormLogin.IdLoggedTipster);
            frmMyProfile.MdiParent = this;

            frmMyProfile.Show();
        }
示例#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");
     }
 }
示例#5
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");
     }
 }
示例#6
0
 private void btnMyProfile_Click(object sender, EventArgs e)
 {
     if(frmMyProfile != null) {
          frmMyProfile.Close();
     }
     frmMyProfile =   new FormTipster(FormLogin.IdLoggedTipster);
     frmMyProfile.MdiParent = this;
     
     frmMyProfile.Show();
 }