示例#1
0
 // Methods
 public AEConfig(TypeEditor type, ActEditor panel, Viewer2D viewer)
 {
     routeData     = panel.routeData;
     AEConfigPanel = panel.activityOverview;
     typeConfig    = type;
     Viewer        = viewer;
     aeRouteConfig = new AERouteConfig(this);
     if (typeConfig == TypeEditor.ACTIVITY)
     {
         aeActivity = new AEActivity();
     }
 }
 public SelectablePictureBox(Viewer2D viewer)
 {
     parent = viewer;
     this.SetStyle(ControlStyles.Selectable, true);
     this.IsInputKey(Keys.Up);
 }