Пример #1
0
 void InitObjects()
 {
     DrawingStyler.style = DrawingStyle.Default;
     currentArray        = new SortingArray(defaultArraySize);
     graph      = DisplayBox.CreateGraphics();
     controller = new Controller(graph, currentArray, GetTrackbarDelay());
 }
Пример #2
0
 private void DisplayBox_SizeChanged(object sender, EventArgs e)
 {
     graph = DisplayBox.CreateGraphics();
     UpdateGraphNowOrNextFrame();
 }