db connection initialization fix
This commit is contained in:
parent
38d744fbe7
commit
7b14ead888
@ -83,7 +83,6 @@ namespace VEPROMS
|
|||||||
#endregion
|
#endregion
|
||||||
public frmVEPROMS()
|
public frmVEPROMS()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
|
||||||
#if (DEBUG)
|
#if (DEBUG)
|
||||||
//use local data (for development/debug mode)
|
//use local data (for development/debug mode)
|
||||||
if (Environment.MachineName == "RMARK-PC")
|
if (Environment.MachineName == "RMARK-PC")
|
||||||
@ -101,6 +100,7 @@ namespace VEPROMS
|
|||||||
VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS";
|
VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS";
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
InitializeComponent();
|
||||||
// set the color of the ribbon
|
// set the color of the ribbon
|
||||||
RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable((eOffice2007ColorScheme)Settings.Default.SystemColor);
|
RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable((eOffice2007ColorScheme)Settings.Default.SystemColor);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user