Пример #1
0
 private void panel3_Paint(object sender, PaintEventArgs e)
 {
     pG3        = panel3.CreateGraphics();
     rightStack = new DiscStack(panel3);
     rightStack.setUpStack(pG3, panel3);
     rightStack.drawStack(40);
 }
Пример #2
0
 private void panel2_Paint(object sender, PaintEventArgs e)
 {
     pG2       = panel2.CreateGraphics();
     leftStack = new DiscStack(panel2);
     leftStack.setUpStack(pG2, panel2);
     leftStack.drawStack(40);
 }