Example #1
0
        public Tbutterfly(int ro, int cu, int r, int c)
            : base(r, c)
        {
            row     = ro;
            culmn   = cu;
            Width  *= 3;
            Height *= 2;
            Image   = System.Drawing.Image.FromFile(Directory.GetCurrentDirectory() + @"\pictures" + @"\" + "butterfly[2].jpg");

            ball    = new Tball[3];
            ball[0] = new Tball(row, 0);
            //ball[1] = new Tball(row,0);
            // ball[2] = new Tball(row,1);
        }
Example #2
0
 public void insertball(Tball b, int p)
 {
     lb.Insert(p, b);
 }
Example #3
0
        public void Add_new_Ball()
        {
            Tball b = new Tball(lp);

            lb.Add(b);
        }