/// <summary>
        /// Initializes a new instance of the <see cref="StatusIcon"/> class.
        /// </summary>
        public StatusIcon()
        {
            string title = Assembly.GetEntryAssembly().GetName().Name;

            NativeStatusIcon = Application.Factory.CreateStatusIcon(title);
        }
 public BackgroundProgressMonitor(string title, string iconName)
 {
     this.title = title;
     Image img = Runtime.Gui.Resources.GetImage (iconName, Gtk.IconSize.Menu);
     icon = Runtime.Gui.StatusBar.ShowStatusIcon (img);
 }
 public void HideStatusIcon(IStatusIcon icon)
 {
     statusBar.HideStatusIcon (icon);
 }
 public void HideStatusIcon(IStatusIcon icon)
 {
     statusBox.Remove (((StatusIcon)icon).EventBox);
 }