/// <summary>
        /// Implements Singleton pattern
        /// </summary>
        /// <returns></returns>
        public static MonitorMessageNotifier getInstance()
        {
            if (_instance == null)
            {
                _instance = new MonitorMessageNotifier();
            }

            return(_instance);
        }
示例#2
0
 public MessageListenForm(MonitorMessageNotifier m)
 {
     manager = m;
     InitializeComponent();
 }