vladublue / o2platform

Automatically exported from code.google.com/p/o2platform
0 stars 0 forks source link

Create O2 Tool with all Modules available as Menu Items #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description?
Expand the 'O2 - Just GUI' solution file to include ALL available ascx controls 
in the O2Platform 
code base

The 'O2 - Just GUI' solution file is here: 
http://code.google.com/p/o2platform/source/browse/#svn/trunk/O2%20-
%20All%20Active%20Projects/O2Core/O2

It is quite easy to add existing ASCX to the top level menu.

Here is an example from: 
http://code.google.com/p/o2platform/source/browse/trunk/O2%20-
%20All%20Active%20Projects/O2_Tools/O2_Tool_SearchEngine/program.cs

        O2AscxGUI.addControlToMenu(typeof(ascx_FunctionsViewer), O2DockState.Document, 
"Signatures Viewer");

Nodes: 
- if we want to open the ascx when the O2 Tool is loaded we can use: 
        O2AscxGUI.openAscx(typeof (ascx_SearchResults), O2DockState.DockTop, "Search Results");
    or simply (will open as DockState.Document):
        O2AscxGUI.openAscx(typeof (ascx_SearchResults));   

- The  O2AscxGUI.addControlToMenu adds the ascx to a specific menu, but in this 
case we 
should expand that API to allow the definition of the target menu (or sub-menu)

Original issue reported on code.google.com by dinis.cr...@gmail.com on 8 Jan 2010 at 12:11

GoogleCodeExporter commented 8 years ago
The new GUI implements this

Original comment by dinis.cr...@gmail.com on 5 Jul 2010 at 3:36