ACAT.Lib.Extension.DialogUtils.ShowTimedDialog C# (CSharp) Method

ShowTimedDialog() public static method

Shows the TimedDialog window
public static ShowTimedDialog ( Form parentForm, String title, String message ) : void
parentForm System.Windows.Forms.Form parent form
title String title of the dialog
message String message to display
return void
        public static void ShowTimedDialog(Form parentForm, String title, String message)
        {
            parentForm.Invoke(new MethodInvoker(delegate()
            {
                Form dlg = Context.AppPanelManager.CreatePanel("TimedDialogForm");
                if (dlg is IExtension)
                {
                    ExtensionInvoker invoker = (dlg as IExtension).GetInvoker();
                    invoker.SetValue("MessageText", message);
                    invoker.SetValue("TitleText", title);
                    invoker.SetValue("ShowButton", true);
                    Context.AppPanelManager.ShowDialog(dlg as IPanel);
                }
            }));
        }

Same methods

DialogUtils::ShowTimedDialog ( Form parentForm, String message ) : void