Пример #1
0
        // Add a new ActionImage to this RosterItem
        public ActionImage AddActionImage(Image image, string toolTip)
        {
            ActionImage ai = new ActionImage(image, toolTip);

            action_images.Add(ai);
            OnActionImageAdded(new ActionImageEventArgs(ai));

            return(ai);
        }
Пример #2
0
 public ActionImageEventArgs(ActionImage item)
 {
     this.item = item;
 }
Пример #3
0
 // Remove an existing ActionImage from this RosterItem
 public void RemoveActionImage(ActionImage actionImage)
 {
     action_images.Remove (actionImage);
     OnActionImageRemoved (new ActionImageEventArgs (actionImage));
 }
Пример #4
0
        // Add a new ActionImage to this RosterItem
        public ActionImage AddActionImage(Image image, string toolTip)
        {
            ActionImage ai = new ActionImage (image, toolTip);

            action_images.Add (ai);
            OnActionImageAdded (new ActionImageEventArgs (ai));

            return ai;
        }
 public ActionImageEventArgs(ActionImage item)
 {
     this.item = item;
 }
Пример #6
0
 // Remove an existing ActionImage from this RosterItem
 public void RemoveActionImage(ActionImage actionImage)
 {
     action_images.Remove(actionImage);
     OnActionImageRemoved(new ActionImageEventArgs(actionImage));
 }