예제 #1
0
        private void הוספתהזמנהלטווחקצרToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int            x  = Convert.ToInt32(cmbBranches.SelectedValue);
            frmTakeForLong f1 = new frmTakeForLong(x, "short");

            f1.Show();
        }
예제 #2
0
 private void dgvTakes_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (searhUpdate == "search" || searhUpdate == "update")
     {
         int            number = Convert.ToInt32(dgvTakes.SelectedRows[0].Cells[0].Value);
         frmTakeForLong f1     = new frmTakeForLong(branchc, number, searhUpdate);
         f1.Show();
     }
     else
     {
         frmCarReturn.codeTake = Convert.ToInt32(dgvTakes.SelectedRows[0].Cells[0].Value);
     }
     this.Close();
 }