public inputFrm(StackDrawing drawing, PictureBox context) { InitializeComponent(); intInput = 0; this.stackDrawing = drawing; this.context = context; }
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); }