static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); AllocationForm = new TaskHome(); Application.Run(AllocationForm); }
public void OutputAllocation(TaskHome temp) { for (int i = 0; i < processor; i++) { for (int j = 0; j < task; j++) { if (j == task - 1) { temp.textBox1.Text += allocation[i, j] + "\r\n\r\n"; } else { temp.textBox1.Text += allocation[i, j] + ","; } } } temp.textBox1.Text += "\r\n\r\n"; }