public NotifyIconAdv() {
   int p = (int)Environment.OSVersion.Platform;
   if ((p == 4) || (p == 128)) { // Unix
     genericNotifyIcon = new NotifyIcon();
   } else { // Windows
     windowsNotifyIcon = new NotifyIconWindowsImplementation();
   }
 }
 public NotifyIconAdv()
 {
     if (Environment.OSVersion.Platform == PlatformID.MacOSX || Environment.OSVersion.Platform == PlatformID.Unix)
     {
         _genericNotifyIcon = new NotifyIcon();
     }
     else
     {
         _windowsNotifyIcon = new NotifyIconWindowsImplementation();
     }
 }
Exemple #3
0
 public NotifyIconAdv()
 {
     if (Hardware.OperatingSystem.IsUnix) // Unix
     {
         genericNotifyIcon = new NotifyIcon();
     }
     else // Windows
     {
         windowsNotifyIcon = new NotifyIconWindowsImplementation();
     }
 }
Exemple #4
0
        public NotifyIconAdv()
        {
            int p = (int)Environment.OSVersion.Platform;

            if ((p == 4) || (p == 128))
            {             // Unix
                genericNotifyIcon = new NotifyIcon();
            }
            else
            {             // Windows
                windowsNotifyIcon = new NotifyIconWindowsImplementation();
            }
        }
Exemple #5
0
 internal NotifyIconNativeWindow(NotifyIconWindowsImplementation component)
 {
     this.reference = component;
 }
 internal NotifyIconNativeWindow(NotifyIconWindowsImplementation component) {
   this.reference = component;
 }