/* * public static IReadOnlyDictionary<string, string> CheckBox * { get { return _CheckBox; } } * * public static IReadOnlyDictionary<string, string> ComboBox * { get { return _ComboBox; }} */ public static void Main() { try { int StackPointer = Stack.Add("UI.Main()"); LDUtilities.ShowErrors = false; LDUtilities.ShowFileErrors = false; LDUtilities.ShowNoShapeErrors = false; LDGraphicsWindow.ExitOnClose = false; LDGraphicsWindow.CancelClose = true; LDGraphicsWindow.Closing += Events.Closing; LDEvents.Error += Events.LogEvents; Engines.OnGetColumnsofTable += ColumnsChanged; Engines.OnSchemaChange += SchemaChanged; Startup(); Stack.Exit(StackPointer); } catch (Exception ex) { Language.Localization.Print(); Stack.Print(); Events.LogMessage(ex.Message, Language.Localization["System"]); Program.Delay(1000); Environment.Exit(31); } }