Example #1
0
 private void combatsByDate_CheckedChanged(object sender, EventArgs e)
 {
     outputInfo = OutputInfoType.CDate;
     if (combatsOkClick != null)
     {
         combatsOkClick(this, EventArgs.Empty);
     }
 }
Example #2
0
 private void playersByDate_CheckedChanged(object sender, EventArgs e)
 {
     outputInfo = OutputInfoType.PDate;
     if (playersOkClick != null)
     {
         playersOkClick(this, EventArgs.Empty);
     }
     ResetTextBoxDataForPlayers();
 }
Example #3
0
 private void transactionsByDate_CheckedChanged(object sender, EventArgs e)
 {
     saveTransactionLb.Visible = false;
     ResetTextBoxDataForTransactions();
     outputInfo = OutputInfoType.TDate;
     if (transactionsOkClick != null)
     {
         transactionsOkClick(this, EventArgs.Empty);
     }
 }
Example #4
0
 private void combatsLoginOk_Click(object sender, EventArgs e)
 {
     if (loginForCombats.Text == string.Empty)
     {
         MessageBox.Show(Resources.enterLoginInField, Resources.loginIsNotEntered, MessageBoxButtons.OK);
         loginForCombats.Focus();
     }
     else
     {
         outputInfo = OutputInfoType.CLogin; selectedPlayer.Login = loginForCombats.Text;
         if (combatsOkClick != null)
         {
             combatsOkClick(this, EventArgs.Empty);
         }
     }
 }
Example #5
0
        private void StartInfoForTabs()
        {
            outputInfo = OutputInfoType.PTop;
            if (playersOkClick != null)
            {
                playersOkClick(this, EventArgs.Empty);
            }

            outputInfo = OutputInfoType.TSum;
            if (transactionsOkClick != null)
            {
                transactionsOkClick(this, EventArgs.Empty);
            }

            outputInfo = OutputInfoType.CType;
            if (combatsOkClick != null)
            {
                combatsOkClick(this, EventArgs.Empty);
            }
        }
Example #6
0
 private void transactionsOk_Click(object sender, EventArgs e)
 {
     if (loginForTransactions.Text == string.Empty)
     {
         MessageBox.Show(Resources.enterLoginInField, Resources.loginIsNotEntered, MessageBoxButtons.OK);
         loginForTransactions.Focus();
     }
     else
     {
         outputInfo = OutputInfoType.TLogin;
         selectedPlayer.Login = loginForTransactions.Text;
         if (transactionsOkClick != null) { transactionsOkClick(this, EventArgs.Empty); }
     }
 }
Example #7
0
 private void transactionsBySum_CheckedChanged(object sender, EventArgs e)
 {
     saveTransactionLb.Visible = false;
     ResetTextBoxDataForTransactions();
     outputInfo = OutputInfoType.TSum;
     if (transactionsOkClick != null) { transactionsOkClick(this, EventArgs.Empty); }
 }
Example #8
0
 private void topPlayers_CheckedChanged(object sender, EventArgs e)
 {
     outputInfo = OutputInfoType.PTop;
     if (playersOkClick != null) { playersOkClick(this, EventArgs.Empty); }
     ResetTextBoxDataForPlayers();
 }
Example #9
0
        private void StartInfoForTabs()
        {
            outputInfo = OutputInfoType.PTop;
            if (playersOkClick != null) { playersOkClick(this, EventArgs.Empty); }

            outputInfo = OutputInfoType.TSum;
            if (transactionsOkClick != null) { transactionsOkClick(this, EventArgs.Empty); }

            outputInfo = OutputInfoType.CType;
            if (combatsOkClick != null) { combatsOkClick(this, EventArgs.Empty); }
        }
Example #10
0
 private void playersByNumberOfCombats_CheckedChanged(object sender, EventArgs e)
 {
     outputInfo = OutputInfoType.PNumOfComb;
     if (playersOkClick != null) { playersOkClick(this, EventArgs.Empty); }
     ResetTextBoxDataForPlayers();
 }
Example #11
0
 private void combatsByType_CheckedChanged(object sender, EventArgs e)
 {
     outputInfo = OutputInfoType.CType;
     if (combatsOkClick != null) { combatsOkClick(this, EventArgs.Empty); }
 }