private void btnUpdateDelivery_Click(object sender, EventArgs e)
 {
     try {
         frmAssignParcels assign = new frmAssignParcels(userID);
         assign.Show();
     } catch (NullReferenceException m) { MessageBox.Show("No entry selected." + m.Message); }
 }
Example #2
0
        private void AllocateParcelsToVehiclesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAssignParcels maintain = new frmAssignParcels(getUserID());
            frmParent        parent   = this;

            maintain.MdiParent = parent;
            maintain.Show();
        }