예제 #1
0
 public inputFrm(StackDrawing drawing, PictureBox context)
 {
     InitializeComponent();
     intInput          = 0;
     this.stackDrawing = drawing;
     this.context      = context;
 }
예제 #2
0
 public StackFrm(LinkedStack <int> inputs)
 {
     InitializeComponent();
     this.inputs     = inputs;
     this.stack      = new LinkedStack <int>();
     this.stackImage = new StackDrawing(stackSimPicBox.Width / 2, stackSimPicBox.Height, 50, 50, this.inputs);
 }