public static void CreateObjectBrowserToolWindow() { try { objBrowserWindow = ViewBase.CreateToolWindow( Common.Constants.CLASS_NAME_OBJECTBROWSER, Helper.GetResourceString(Common.Constants.DB4O_BROWSER_CAPTION), Common.Constants.GUID_OBJECTBROWSER); objBrowserWindow.Visible = true; } catch (Exception oEx) { LoggingHelper.ShowMessage(oEx); } }
public static void CreatePropertiesPaneToolWindow(bool DbDetails) { try { const string className = Common.Constants.CLASS_NAME_PROPERTIES; const string guidpos = Common.Constants.GUID_PROPERTIES; string caption = Helper.GetResourceString(Common.Constants.PROPERTIES_TAB_DATABASE_CAPTION); PropWindow = ViewBase.CreateToolWindow(className, caption, guidpos); PropWindow.Width = 550; PropWindow.Height = 400; PropWindow.Visible = true; } catch (Exception oEx) { LoggingHelper.ShowMessage(oEx); } }
public static void CreateObjectBrowserToolWindow() { try { objBrowserWindow = ViewBase.CreateToolWindow( Common.Constants.CLASS_NAME_OBJECTBROWSER, Helper.GetResourceString(Common.Constants.DB4O_BROWSER_CAPTION), Common.Constants.GUID_OBJECTBROWSER); Helper.SetTabPicture(objBrowserWindow, Common.Constants.DB4OICON); //objBrowserWindow.SetTabPicture(Helper.GetResourceImage(Common.Constants.DB4OICON)); if (objBrowserWindow.AutoHides) { objBrowserWindow.AutoHides = false; } objBrowserWindow.Visible = true; } catch (Exception oEx) { LoggingHelper.ShowMessage(oEx); } }
public static void CreatePropertiesPaneToolWindow(bool DbDetails) { try { const string className = Common.Constants.CLASS_NAME_PROPERTIES; const string guidpos = Common.Constants.GUID_PROPERTIES; string caption = Helper.GetResourceString(Common.Constants.PROPERTIES_TAB_DATABASE_CAPTION); PropWindow = ViewBase.CreateToolWindow(className, caption, guidpos); Helper.SetTabPicture(PropWindow, Common.Constants.DB4OICON); if (PropWindow.AutoHides) { PropWindow.AutoHides = false; } PropWindow.Visible = true; } catch (Exception oEx) { LoggingHelper.ShowMessage(oEx); } }