Example #1
0
        public MultiSessionView()
        {
            transactionSizeChangedHandler = new EventHandler(transaction_SizeChanged);
            transactionDoubleClickHandler = new EventHandler(transaction_DoubleClick);

            sessions = new List <VisualSession>();

            this.BackColor      = Color.White;
            this.DoubleBuffered = true;

            timeline                        = new Timeline(this);
            timeline.Parent                 = this;
            timeline.SizeChanged           += new EventHandler(timeline_SizeChanged);
            timeline.ScrollPositionChanged += new EventHandler(timeline_Scroll);
            timeline.Click                 += new EventHandler(timeline_Click);

            navigatorForm = new TimelineNavigatorForm(timeline);

            Clear();
        }
Example #2
0
        public MultiSessionView()
        {
            transactionSizeChangedHandler = new EventHandler(transaction_SizeChanged);
            transactionDoubleClickHandler = new EventHandler(transaction_DoubleClick);

            sessions = new List<VisualSession>();

            this.BackColor = Color.White;
            this.DoubleBuffered = true;

            timeline = new Timeline(this);
            timeline.Parent = this;
            timeline.SizeChanged += new EventHandler(timeline_SizeChanged);
            timeline.ScrollPositionChanged += new EventHandler(timeline_Scroll);
            timeline.Click += new EventHandler(timeline_Click);

            navigatorForm = new TimelineNavigatorForm(timeline);

            Clear();
        }