Esempio n. 1
0
 public BorderedPhoto(PhotoDrawer p, Color c)
 {
     photo       = p;
     color       = c;
     this.Text   = "Click Me";
     this.Click += new EventHandler(BorderedPhoto_Click);
 }
 public TaggedPhoto(PhotoDrawer p, string t)
 {
     photo = p;
     tag   = t;
     tags.Add(t);
     number = ++count;
 }
    public TaggedPhoto(PhotoDrawer p, string t)
    {
        photo = p;
        tag   = t;
        tags.Add(t);
        number    = ++count;
        this.Text = "Double Click Me";

        this.DoubleClick += new EventHandler(TaggedPhoto_DoubleClick);
    }
 public BorderedPhoto(PhotoDrawer p, Color c)
 {
     photo = p;
     color = c;
 }