public static void showAdminEdit() { AdminInfoPopup popup = new AdminInfoPopup { btnSend = { Visible = true }, textBox1 = { ReadOnly = false, Text = adminMessage } }; popup.init(); popup.Show(); lastPopup = popup; }
public static void showMessage() { if (adminMessage.StartsWith("http://")) { string[] strArray = adminMessage.Split(delims); if (strArray.Length > 0) { VideoWindow.ShowVideo(strArray[0], false); return; } } AdminInfoPopup popup = new AdminInfoPopup { btnSend = { Visible = false }, textBox1 = { ReadOnly = true, Text = adminMessage } }; popup.init(); popup.Show(); popup.btnExit.Focus(); lastPopup = popup; RemoteServices.Instance.ShowAdminMessage = false; }