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(); }); }
public CheckNotificationsSystem(string baseIpAddress, string baseName) { ipAddresses = Dns.GetHostEntry(Dns.GetHostName()).AddressList; notificationBase = new FBClient(baseIpAddress, baseName); rootMessage = new PopupMessage(); rootMessage.Show(); rootMessage.Hide(); }