コード例 #1
0
        public void khoitao()
        {
            Playercurrent = 0;
            Button btn  = new Button();
            Button btn2 = new Button();

            btn.Image  = Image.FromFile(Application.StartupPath + "\\Images\\icons8-circled-0-42.png");
            btn2.Image = Image.FromFile(Application.StartupPath + "\\\\Images\\icons8-x-42.png");
            this.Ds    = new List <Button>();
            Ds.Add(btn);
            Ds.Add(btn2);
        }