Exemplo n.º 1
0
        public ChartManageControl(BusinessGraphicsController controller)
        {
            InitializeComponent();

            this.controller = controller;
            interactiveCheckBox.Checked = controller.IsInteractive;
            interactiveCheckBox.CheckedChanged += interactiveCheckBox_CheckedChanged;
            timer1.Enabled = true;
        }
 public override Control CreateControlForSource(IEventLogging logging, Source source, Control parent, IPlayerCommand playerProvider, IPresentationClient client)
 {
     BusinessGraphicsController controller = new BusinessGraphicsController(source, playerProvider);
     ChartManageControl control = new ChartManageControl(controller);
     control.Parent = parent;
     parent.Controls.Add(control);
     control.CreateControl();
     return control;
 }