Ejemplo n.º 1
0
 bool GraphCreatedEvent(AnalyticsController aC, GraphEventArgs e)
 {
     //e.CreatedGraph.Show(dockPanel1, DockState.Document);
     e.CreatedGraph.Show(dockPanel1);
     DockList.Add(e.CreatedGraph);
     //if (e.GraphType == GraphType.TwoD)
     //{
     //    UpdateGraph ug = new UpdateGraph();
     //    ug.DockTo(e.CreatedGraph.PanelPane.DockPanel, DockStyle.Bottom);
     //    ug.Show();
     //    ug.DockStateChanged += new EventHandler(UpdateGraphMainView_DockStateChanged);
     //}
     e.CreatedGraph.DockStateChanged += new EventHandler(CreatedGraph_DockStateChanged);
     return false;
 }
Ejemplo n.º 2
0
 bool Controller_GraphCreatedEvent(AnalyticsController aC, GraphEventArgs e)
 {
     return false;
     //throw new NotImplementedException();
 }
Ejemplo n.º 3
0
 bool GraphCreatedEvent(AnalyticsController aC, GraphEventArgs e)
 {
     GraphListComboBox.Items.Add(e.CreatedGraph.Text);
     e.CreatedGraph.ControlRemoved += new ControlEventHandler(CreatedGraph_ControlRemoved);
     return false;
 }
Ejemplo n.º 4
0
 protected virtual void OnGraphCreated(GraphEventArgs e)
 {
     if (GraphCreatedEvent != null)
     {
         GraphCreatedEvent(this, e);
     }
 }