Beispiel #1
0
        private void ViewClaims_FormClosing(object sender, FormClosingEventArgs e)
        {
            Driver_Details driverDetails = new Driver_Details();

            driverDetails.Show();
            //Global.position = -1;
        }
Beispiel #2
0
        private void AddClaims_FormClosing(object sender, FormClosingEventArgs e)
        {
            //reopens the driver details form

            Driver_Details driverDetails = new Driver_Details();

            driverDetails.Show();
        }
Beispiel #3
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");
     }
 }
Beispiel #4
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");
     }
 }