Exemplo n.º 1
0
        private void Colour_Click2(object sender, EventArgs e)
        {
            Button me = sender as Button;

            BackendLogic.todColoursDone        = DateTime.Now;
            BackendLogic.arrayOfOutputImage[3] = btnColour2.BackgroundImage;

            SizingPage newSizingPage = new SizingPage();

            newSizingPage.Show();
            Visible = false;
        }
Exemplo n.º 2
0
 private void SelectColour(int index)
 {
     BackendLogic.todColoursDone = DateTime.Now;
     BackendLogic.arrayOfSPColour.Add(BackendLogic.arrayOfColours[index]);
     currentSubPart++;
     if (currentSubPart == BackendLogic.arrayOfSPImage.Count)
     {
         SizingPage openForm = new SizingPage();
         openForm.Show();
         Visible = false;
     }
     else
     {
         SubPartsRefresh();
     }
 }