Ejemplo n.º 1
0
        private void HandlePlugin1ToolBarEvent(Event e)
        {
            System.Console.WriteLine("Plugin1 got specific event : " + e.data);

            //make all for create user control .....
            _host.eventProxy.fireEvent(new OpenPanelRequestEvent(this, new OpenPanelRequest(DevExpress.XtraBars.Docking.DockingStyle.Bottom, new XtraUserControl1(), guid)));

        }
Ejemplo n.º 2
0
        //private void HandleOpenPanelRequestEvent(OpenPanelRequest e)
        private void HandleOpenPanelRequestEvent(Event e)
        {
            OpenPanelRequest ee = (OpenPanelRequest)e.data;
            DockPanel dockPanel1 = dockManager1.AddPanel(DockingStyle.Bottom);
            dockPanel1.ID = Guid.Parse(ee.guid);
            dockPanel1.Text = "Panel Control " + dockPanel1.ID.ToString();

            DevExpress.XtraEditors.XtraUserControl pluginControl = (DevExpress.XtraEditors.XtraUserControl)ee.control;
            if (pluginControl != null) dockPanel1.ControlContainer.Controls.Add(pluginControl);
        }
Ejemplo n.º 3
0
 private void HandleGenericEvent(Event e)
 {
     System.Console.WriteLine("First plugin got event, data : " + e.data);
 }
Ejemplo n.º 4
0
 private void HandleAddToolbarRequestEvent(Event e)
 {
     AddToolBarRequest ee = (AddToolBarRequest)e.data;
     barSubItem7.AddItem(ee.button);
 }
Ejemplo n.º 5
0
 private void HandleWorkspaceLoaded(object sender, Event e)
 {
     AfterWorkSpaceLoaded();
 }