예제 #1
0
        private void reset(object sender, EventArgs e)
        {
            while (push > 0)//押した回数を元に戻す
            {
                push--;
            }

            c = new tramp(this);
            c.Shuffle(push, 0);//シャッフル
        }
예제 #2
0
        public Form1()
        {
            InitializeComponent();

            c = new tramp(this);//クラスのインスタンス生成時にForm1クラスのインスタンスを渡す
        }