ResourceManager Res; // the resource manager for the main CW application #endregion Fields #region Constructors public GuiConfigManager() { Controls = new Dictionary<string, Control>(); Buttons = new Dictionary<string, ctlImageButton>(); GuiControlStylesDict = new Dictionary<string, GuiControlStyle>(); BgndDecorList = new List<GuiDecorItem>(); FgndDecorList = new List<GuiDecorItem>(); Res = global::UV_DLP_3D_Printer.Properties.Resources.ResourceManager; Plugin = null; DefaultControlStyle = new GuiControlStyle("DefaultControl"); DefaultControlStyle.SetDefault(); DefaultButtonStyle = new GuiControlStyle("DefaultButton"); DefaultButtonStyle.SetDefault(); }
public GuiConfigManager() { Controls = new Dictionary <string, Control>(); Buttons = new Dictionary <string, ctlImageButton>(); GuiControlStylesDict = new Dictionary <string, GuiControlStyle>(); BgndDecorList = new List <GuiDecorItem>(); FgndDecorList = new List <GuiDecorItem>(); GuiLayouts = new Dictionary <string, Control>(); Res = global::UV_DLP_3D_Printer.Properties.Resources.ResourceManager; //Plugin = null; DefaultControlStyle = new GuiControlStyle("DefaultControl"); DefaultControlStyle.SetDefault(); DefaultButtonStyle = new GuiControlStyle("DefaultButton"); DefaultButtonStyle.SetDefault(); firstTime = true; }
public GuiConfigManager() { Controls = new Dictionary <string, Control>(); Buttons = new Dictionary <string, ctlImageButton>(); ButtonsEx = new Dictionary <string, ctlImageButtonEx>(); GuiControlStylesDict = new Dictionary <string, GuiControlStyle>(); BgndDecorList = new List <GuiDecorItem>(); FgndDecorList = new List <GuiDecorItem>(); GuiLayouts = new Dictionary <string, Control>(); Res = Properties.Resource_s.ResourceManager; // global::((DesignMode) ? "Arial" :UVDLPApp.Instance().resman.GetString("Arial", UVDLPApp.Instance().cul))ResourceManager; //Plugin = null; DefaultControlStyle = new GuiControlStyle("DefaultControl"); DefaultControlStyle.SetDefault(); DefaultButtonStyle = new GuiControlStyle("DefaultButton"); DefaultButtonStyle.SetDefault(); DefaultTitleStyle = new GuiControlStyle("DefaultTitle"); DefaultTitleStyle.SetDefault(); firstTime = true; }