示例#1
0
 static void omPropertiesControlHandler_Click(object CommandBarControl, ref bool Handled, ref bool CancelDefault)
 {
     try
     {
         Cursor.Current = Cursors.WaitCursor;
         PropertyPaneToolWin.CreatePropertiesPaneToolWindow(true);
         Cursor.Current = Cursors.Default;
     }
     catch (Exception oEx)
     {
         LoggingHelper.HandleException(oEx);
     }
 }
示例#2
0
        private void OpenDemoDb()
        {
            try
            {
                Assembly ThisAssembly = Assembly.GetExecutingAssembly();

                ObjectBrowserToolWin.CreateObjectBrowserToolWindow();
                ObjectBrowserToolWin.ObjBrowserWindow.Visible = true;
                Login.CreateQueryBuilderToolWindow();
                PropertyPaneToolWin.CreatePropertiesPaneToolWindow(true);
                PropertyPaneToolWin.PropWindow.Visible = true;
                dbCreateDemoDbControl.Enabled          = false;
                connectDatabaseMenu.Caption            = OMControlLibrary.Common.Constants.TOOLBAR_DISCONNECT;
            }
            catch (Exception oEx)
            {
                LoggingHelper.HandleException(oEx);
            }
        }