Пример #1
0
 private void CreatePopupMessage(string title, string text, Color colorExclamationBlinking, Color colorMain)
 {
     rootMessage.Invoke((MethodInvoker) delegate() {
         PopupMessage frm = new PopupMessage(title, text, colorExclamationBlinking, colorMain);
         frm.ShowDialog();
     });
 }
Пример #2
0
 public CheckNotificationsSystem(string baseIpAddress, string baseName)
 {
     ipAddresses      = Dns.GetHostEntry(Dns.GetHostName()).AddressList;
     notificationBase = new FBClient(baseIpAddress, baseName);
     rootMessage      = new PopupMessage();
     rootMessage.Show();
     rootMessage.Hide();
 }