public static String GetTemplateFile() { if (RegistryManager.HasKey(TemplateFileKey)) { return((String)RegistryManager.GetValue(TemplateFileKey)); } else { return(TemplateFileDefault); } }
public static String GetSolver() { if (RegistryManager.HasKey(SolverKey)) { return((String)RegistryManager.GetValue(SolverKey)); } else { return(SolverDefault); } }
public static int GetState() { if (RegistryManager.HasKey(HasWindowStateData)) { return((int)RegistryManager.GetValue(WindowState)); } else { return(DefaultValue); } }
public static String GetModel() { if (RegistryManager.HasKey(ModelKey)) { return((String)RegistryManager.GetValue(ModelKey)); } else { return(ModelDefault); } }
public static String GetController() { if (RegistryManager.HasKey(ControllerKey)) { return((String)RegistryManager.GetValue(ControllerKey)); } else { return(ControllerDefault); } }
public static String GetCombined() { if (RegistryManager.HasKey(CombinedKey)) { return((String)RegistryManager.GetValue(CombinedKey)); } else { return(CombinedDefault); } }
public static bool HasPrinting() { if (RegistryManager.HasKey(Printing + "FontFamily")) { return(true); } else { return(false); } }
public static String Get_TopRight() { if (RegistryManager.HasKey(HeaderFooter_TopRight_Key)) { return((String)RegistryManager.GetValue(HeaderFooter_TopRight_Key)); } else { return(""); } }
public static bool HasColor(String Name) { if (RegistryManager.HasKey(Prefix + Name)) { return(true); } else { return(false); } }
public static int GetLeftPanelWidth() { if (RegistryManager.HasKey(LeftPanelWidthKey)) { return(Convert.ToInt32((String)RegistryManager.GetValue(LeftPanelWidthKey))); } else { return(LeftPanelWidthDefault); } }
public static String GetFileTreePath() { if (RegistryManager.HasKey(FileTreePathKey)) { return((String)RegistryManager.GetValue(FileTreePathKey)); } else { return(null); } }
public static bool GetWholeWord() { if (RegistryManager.HasKey(WholeWordKey)) { String Image = (String)RegistryManager.GetValue(WholeWordKey); return(Convert.ToBoolean(Image)); } else { return(WholeWordDefault); } }
public static bool GetIsModular() { if (RegistryManager.HasKey(IsModularKey)) { String Image = (String)RegistryManager.GetValue(IsModularKey); return(Convert.ToBoolean(Image)); } else { return(Convert.ToBoolean(IsModularDefault)); } }
public static bool GetMatchCase() { if (RegistryManager.HasKey(MatchCaseKey)) { String Image = (String)RegistryManager.GetValue(MatchCaseKey); return(Convert.ToBoolean(Image)); } else { return(MatchCaseDefault); } }
public static bool GetUseTemplateFile() { if (RegistryManager.HasKey(UseTemplateFileKey)) { String Image = (String)RegistryManager.GetValue(UseTemplateFileKey); return(Convert.ToBoolean(Image)); } else { return(UseTemplateFileDefault); } }
public static bool GetWaitForExit() { if (RegistryManager.HasKey(WaitForExitKey)) { String Image = (String)RegistryManager.GetValue(WaitForExitKey); return(Convert.ToBoolean(Image)); } else { return(WaitForExitDefault); } }
public static bool GetSaveFiles() { if (RegistryManager.HasKey(SaveFilesKey)) { String Image = (String)RegistryManager.GetValue(SaveFilesKey); return(Convert.ToBoolean(Image)); } else { return(SaveFilesDefault); } }
public static bool GetInsertWideFormat() { if (RegistryManager.HasKey(InsertWideFormatKey)) { String Image = (String)RegistryManager.GetValue(InsertWideFormatKey); return(Convert.ToBoolean(Image)); } else { return(InsertWideFormatDefault); } }
public static bool GetRestoreFileTree() { if (RegistryManager.HasKey(RestoreFileTreeKey)) { String Image = (String)RegistryManager.GetValue(RestoreFileTreeKey); return(Convert.ToBoolean(Image)); } else { return(RestoreFileTreeDefault); } }
public static bool GetLandscape() { if (RegistryManager.HasKey(LandscapeKey)) { String Image = (String)RegistryManager.GetValue(LandscapeKey); return(Convert.ToBoolean(Image)); } else { return(false); } }
public static Margins GetMargins() { if (RegistryManager.HasKey(MarginsLeftKey)) { int Left = (int)RegistryManager.GetValue(MarginsLeftKey); int Top = (int)RegistryManager.GetValue(MarginsTopKey); int Right = (int)RegistryManager.GetValue(MarginsRightKey); int Bottom = (int)RegistryManager.GetValue(MarginsBottomKey); return(new Margins(Left, Top, Right, Bottom)); } else { return(new Margins(100, 100, 100, 100)); } }
public static Point GetLocation() { if (RegistryManager.HasKey(XKey)) { String XImage = (String)RegistryManager.GetValue(XKey); int X = Convert.ToInt32(XImage); String YImage = (String)RegistryManager.GetValue(YKey); int Y = Convert.ToInt32(YImage); return(new Point(X, Y)); } else { return(new Point(XDefault, YDefault)); } }
public static Rectangle GetLocation() { Rectangle Rect = new Rectangle(); if (RegistryManager.HasKey(HasWindowLocationData)) { Rect.Width = (int)RegistryManager.GetValue(WindowLocation + "Width"); Rect.Height = (int)RegistryManager.GetValue(WindowLocation + "Height"); Rect.X = (int)RegistryManager.GetValue(WindowLocation + "X"); Rect.Y = (int)RegistryManager.GetValue(WindowLocation + "Y"); } else { Rect.Width = DefaultWidth; Rect.Height = DefaultHeight; Rect.X = DefaultX; Rect.Y = DefaultY; } return(Rect); }
public static bool HasFileTreePath() { return(RegistryManager.HasKey(FileTreePathKey)); }