예제 #1
0
 private void calCash_btn_Click(object sender, EventArgs e)
 {
     if (rent_rdb.Checked)
     {
         CashChange_Form cc = new CashChange_Form();
         cc.Show();
         int price = 0;
         for (int i = 0; i < rentBook_dgv.Rows.Count; i++)
         {
             price += int.Parse(rentBook_dgv.Rows[i].Cells[3].Value.ToString());
         }
         cc.price = price;
     }
 }
예제 #2
0
 private void Rent_Form_FormClosing(object sender, FormClosingEventArgs e)
 {
     CashChange_Form cc = new CashChange_Form();
     cc.Close();
 }