/// <summary>
 /// Initializes a new instance of the <see cref="GroepLijstItem"/> class.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="icon">Icon.</param>
 /// <param name="clicked">Clicked.</param>
 public GroepLijstItem(string title, NSImage icon, ClickedDelegate clicked)
 {
     // Initialize
     _title  = title;
     _icon   = icon;
     Clicked = clicked;
 }
示例#2
0
 public SideBarItem(string title, ClickedDelegate clicked = null, NSImage icon = null, string tag = null)
 {
     Title   = title;
     Icon    = icon;
     Tag     = tag;
     Clicked = clicked;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GroepLijstItem"/> class.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="icon">Icon.</param>
 /// <param name="clicked">Clicked.</param>
 public GroepLijstItem(string title, string icon, ClickedDelegate clicked)
 {
     // Initialize
     _title  = title;
     _icon   = NSImage.ImageNamed(icon);
     Clicked = clicked;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="icon">Icon.</param>
 /// <param name="clicked">Clicked.</param>
 public SourceListItem(string title, NSImage icon, ClickedDelegate clicked)
 {
     // Initialize
     this._title  = title;
     this._icon   = icon;
     this.Clicked = clicked;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="icon">Icon.</param>
 /// <param name="clicked">Clicked.</param>
 public SourceListItem(string title, string icon, ClickedDelegate clicked)
 {
     // Initialize
     this._title  = title;
     this._icon   = NSImage.ImageNamed(icon);
     this.Clicked = clicked;
 }
示例#6
0
		/// <summary>
		/// Adds the item.
		/// </summary>
		/// <param name="title">Title.</param>
		/// <param name="icon">Icon.</param>
		/// <param name="tag">Tag.</param>
		/// <param name="clicked">Clicked.</param>
		public void AddItem(string title, NSImage icon, string tag, ClickedDelegate clicked) {
			_items.Add (new SourceListItem (title, icon, tag, clicked));
		}
示例#7
0
		/// <summary>
		/// Adds the item.
		/// </summary>
		/// <param name="title">Title.</param>
		/// <param name="icon">Icon.</param>
		/// <param name="clicked">Clicked.</param>
		public void AddItem(string title, string icon, ClickedDelegate clicked) {
			_items.Add (new SourceListItem (title, icon, clicked));
		}
示例#8
0
		/// <summary>
		/// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class.
		/// </summary>
		/// <param name="title">Title.</param>
		/// <param name="icon">Icon.</param>
		/// <param name="tag">Tag.</param>
		/// <param name="clicked">Clicked.</param>
		public SourceListItem (string title, NSImage icon, string tag, ClickedDelegate clicked)
		{
			// Initialize
			this._title = title;
			this._icon = icon;
			this._tag = tag;
			this.Clicked = clicked;
		}
示例#9
0
		/// <summary>
		/// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class.
		/// </summary>
		/// <param name="title">Title.</param>
		/// <param name="icon">Icon.</param>
		/// <param name="clicked">Clicked.</param>
		public SourceListItem (string title, string icon, ClickedDelegate clicked)
		{
			// Initialize
			this._title = title;
			this._icon = NSImage.ImageNamed (icon);
			this.Clicked = clicked;
		}
 /// <summary>
 /// Adds the item.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="icon">Icon.</param>
 /// <param name="tag">Tag.</param>
 /// <param name="clicked">Clicked.</param>
 public void AddItem(string title, NSImage icon, string tag, ClickedDelegate clicked)
 {
     _items.Add(new GroepLijstItem(title, icon, tag, clicked));
 }
 /// <summary>
 /// Adds the item.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="icon">Icon.</param>
 /// <param name="clicked">Clicked.</param>
 public void AddItem(string title, string icon, ClickedDelegate clicked)
 {
     _items.Add(new GroepLijstItem(title, icon, clicked));
 }
示例#12
0
 public void AddItem(string title, ClickedDelegate clicked, NSImage icon = null, string tag = null)
 {
     items.Add(new SideBarItem(title, clicked, icon, tag));
 }
示例#13
0
 public TreeDataItem(string _name, ClickedDelegate _clicked)
 {
     this._Name   = _name;
     this.Clicked = _clicked;
 }
示例#14
0
 public void AddItem(string _name, ClickedDelegate clicked)
 {
     _Items.Add(new TreeDataItem(_name, clicked));
 }
示例#15
0
 /// <summary>
 /// Adds the item.
 /// </summary>
 /// <param name="title">Title.</param>
 /// <param name="icon">Icon.</param>
 /// <param name="clicked">Clicked.</param>
 public void AddItem(string title, NSImage icon, ClickedDelegate clicked)
 {
     _items.Add(new SourceListItem(title, icon, clicked));
 }
示例#16
0
 void Start()
 {
     onClicked += init;
 }