Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            int[]  T = Konwertuj(tb1.Text);
            Kopiec k = new Kopiec(new Wezel(T[0]));

            for (int i = 1; i < T.Length; i++)
            {
                k.Push(T[i]);
            }
            Show2(k);
            int[] x = Konwertuj(k.WypiszKopiec());
            label1.Text = string.Join(" ", x.Reverse());
        }