Inheritance: System.Windows.Forms.Form
Beispiel #1
0
        /// <summary>
        /// Бэлэн бусаар тооцоо хийх цонхыг ажиллуулна.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonNonCash_Click(object sender, EventArgs e)
        {
            var formNonCash = new FormNonCash();

            formNonCash.ShowDialog();
            this.summaryNonCash      = formNonCash.SummaryNonCash;
            textBoxNonCash.Text      = this.summaryNonCash.ToString(Program.NUMBER_FORMAT);
            this.ListBankTranscation = formNonCash.ListBankTranscation;
            Calculate();
            this.summaryNonCash = 0;
        }
Beispiel #2
0
 /// <summary>
 /// Бэлэн бусаар тооцоо хийх цонхыг ажиллуулна. 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void buttonNonCash_Click(object sender, EventArgs e)
 {
     var formNonCash = new FormNonCash();
     formNonCash.ShowDialog();
     this.summaryNonCash = formNonCash.SummaryNonCash;
     textBoxNonCash.Text = this.summaryNonCash.ToString(Program.NUMBER_FORMAT);
     this.ListBankTranscation = formNonCash.ListBankTranscation;
     Calculate();
     this.summaryNonCash = 0;
 }