示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ChequeSelection cs = new ChequeSelection();

            cs.ShowDialog();
            int tempchk = cs.checkId;
            if (tempchk > -1)
            {
                chk = tempchk;
                Check c = new DAOs.CheckDAO(db).selectCheck(chk);
                chequeNumCreditor.Text = chk.ToString();
                if (c.number != null)
                    behalfLbl.Text= " طی چک " + "به شماره‌ی " + c.number + " نزد بانک " + c.bank;
                else
                    behalfLbl.Text = " طی چک " + " نزد بانک " + c.bank;
            }
        }
示例#2
0
 private void selectChequeBtn_Click(object sender, EventArgs e)
 {
     ChequeSelection cs = new ChequeSelection();
     cs.ShowDialog();
     int chk = cs.checkId;
     if (chk > -1)
     {
         ChequeNum.Text = chk.ToString();
         amountTb.Text = cs.checkAmount.ToString();
         behalf.Text = "طی چک " + cs.Desc;
     }
 }
示例#3
0
 private void selectChequeBtn_Click(object sender, EventArgs e)
 {
     ChequeSelection cs = new ChequeSelection();
     cs.ShowDialog();
     int tempchk = cs.checkId;
     if (tempchk > -1)
     {
         chk = tempchk;
         chequeNumCreditor.Text = chk.ToString();
     }
 }