Пример #1
0
        private void btnViewDrivers_Click(object sender, EventArgs e)
        {
            this.Close();
            Driver_Details newD = new Driver_Details();

            newD.ShowDialog();
        }
Пример #2
0
        private void ViewClaims_FormClosing(object sender, FormClosingEventArgs e)
        {
            Driver_Details driverDetails = new Driver_Details();

            driverDetails.Show();
            //Global.position = -1;
        }
Пример #3
0
        private void BtnViewDrivers_Click(object sender, EventArgs e)
        {
            //opens the view driver window
            Driver_Details viewDriver = new Driver_Details();

            viewDriver.ShowDialog();
        }
Пример #4
0
        private void AddClaims_FormClosing(object sender, FormClosingEventArgs e)
        {
            //reopens the driver details form

            Driver_Details driverDetails = new Driver_Details();

            driverDetails.Show();
        }
Пример #5
0
 private void BtnViewDrivers_Click(object sender, EventArgs e)
 {
     //opens the view driver window
     if (Global.newPolicy.getDriverAt(0) != null)
     {
         Driver_Details viewDriver = new Driver_Details();
         viewDriver.Show();
     }
     else
     {
         MessageBox.Show("No drivers in policy");
     }
 }
Пример #6
0
 private void btnViewDrivers_Click(object sender, EventArgs e)
 {
     if (Global.newPolicy.getDriverAt(0) != null)
     {
         this.Close();
         Driver_Details newD = new Driver_Details();
         newD.Show();
     }
     else
     {
         MessageBox.Show("No drivers in policy");
     }
 }