private void partsaddButton_Click(object sender, EventArgs e)
        {
            ModifyPart = false;
            this.Hide();
            UpdateParts updateScreen = new UpdateParts();

            updateScreen.Show();
        }
 private void partsmodifyButton_Click(object sender, EventArgs e)
 {
     if (PartIndex >= 0)
     {
         ModifyPart = true;
         this.Hide();
         UpdateParts updateScreen = new UpdateParts();
         updateScreen.Show();
     }
 }