ShowErrorMessage() public static method

public static ShowErrorMessage ( Gtk.Window parent ) : void
parent Gtk.Window
return void
Example #1
0
 public static void TestVersion(Window parent)
 {
     if (CheckBaseVersion.Check())
     {
         CheckBaseVersion.ShowErrorMessage(parent);
     }
 }
Example #2
0
        public static bool CheckVersion(Window parent)
        {
            //Если найдены ошибки.
            if (CheckBaseVersion.Check())
            {
                if (CheckBaseVersion.ResultFlags == CheckBaseResult.BaseVersionGreater)
                {
                    return(false);
                }
                CheckBaseVersion.ShowErrorMessage(parent);
                return(false);
            }

            return(true);
        }