//EVENT HANDLER FOR MARKING A ORDER COMPLETE private void cmboOrderComp_SelectedIndexChanged(object sender, EventArgs e) { string[] tempSplit = cmboService.Text.Split('|'); ServAndOrderComp theOrder = new ServAndOrderComp(0, cmboOrderComp.Text); theOrder.ShowDialog(); }
//EVENT HANDLER FOR MARKING A SERVICE COMPLETE private void cmboServComplete_SelectedIndexChanged(object sender, EventArgs e) { //PASS 1 AS ARGUMENT TO CHANGED SERVANDORDERCOMP FORM TO UPDATE OUTSIDE_SERVICES TABLE ServAndOrderComp theOption = new ServAndOrderComp(1, cmboServComplete.Text); theOption.ShowDialog(); }