Example #1
0
        private void קטלוגרכביםבסניףToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int           x   = Convert.ToInt32(cmbBranches.SelectedValue);
            frmSearchCars frm = new frmSearchCars(this, "one", x, "client");

            frm.Show();
        }
Example #2
0
 private void btmCar_Click(object sender, EventArgs e)
 {
     if (shortLong != "short")
     {
         frmSearchCars f2 = new frmSearchCars(this, dtpFrom.Value, bra, dtpTo.Value, "long", Convert.ToDouble(txtAge.Text), cmbLicenseKind.SelectedValue.ToString());
         f2.ShowDialog();
     }
     else
     {
         frmSearchCars f2 = new frmSearchCars(this, dtpFrom.Value, bra, dtpTo.Value, "short", Convert.ToDouble(txtAge), cmbLicenseKind.Text.ToString());
         f2.ShowDialog();
     }
     if (st == "")
     {
         MessageBox.Show("לא נמצאו תוצאות בחר רכב להשכרה");
     }
     else
     {
         FillTXT();
     }
 }
Example #3
0
        private void חיפושרכבבכלהסניפיםToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSearchCars f1 = new frmSearchCars(this, "all", Convert.ToInt32(cmbBranches.SelectedValue), "worker");

            f1.Show();
        }
Example #4
0
        private void חיפושרכבToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSearchCars f1 = new frmSearchCars(this, "one", Convert.ToInt32(cmbBranches.SelectedValue), "client");

            f1.Show();
        }