public WeakWorksWack() { WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; InitializeComponent(); ButtonResults.Visibility = Visibility.Hidden; SecondProc.Visibility = Visibility.Hidden; ThirdProc.Visibility = Visibility.Hidden; FourthProc.Visibility = Visibility.Hidden; FifthProc.Visibility = Visibility.Hidden; Properties.Visibility = Visibility.Hidden; StartButton.Visibility = Visibility.Hidden; DisplayResults.Visibility = Visibility.Hidden; for (int i = 0; i < 5; i++) { allProcArr[i] = new Processors(i); } for (int i = 0; i < 4; i++) { procLoading[i] = -i - 1; workProcArr[i] = new Processors(i); procOpsList[i] = new List<TasksQueue>(i); } }
public MaybEst() { WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; InitializeComponent(); ButtonResults.Visibility = Visibility.Hidden; SecondProc.Visibility = Visibility.Hidden; ThirdProc.Visibility = Visibility.Hidden; FourthProc.Visibility = Visibility.Hidden; FifthProc.Visibility = Visibility.Hidden; Properties.Visibility = Visibility.Hidden; StartButton.Visibility = Visibility.Hidden; DisplayResults.Visibility = Visibility.Hidden; for (int i = 0; i < 5; i++) { allProcArr[i] = new Processors(i); procLoading[i] = -i - 1; procOpsList[i] = new List <TasksQueue>(i); } }