Beispiel #1
0
 private void timeKValueToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.Text = "Time K value";
     this.Invalidate();
     ShowLayer(0);
     timeGraph.BringToFront();
     if (first_layer_LabelView_mode)
     {
         LabelView.BringToFront();
     }
     else
     {
         LabelViewCC.BringToFront();
     }
     timeGraph.Reset();
     timeGraph.NotifyRedraw();
 }
Beispiel #2
0
 private void graphToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.Text = "Graph";
     this.Invalidate();
     ShowLayer(0);
     graph_table.BringToFront();
     if (first_layer_LabelView_mode)
     {
         LabelView.BringToFront();
     }
     else
     {
         LabelViewCC.BringToFront();
     }
     graph_table.ReInit();
     first_layer_LabelView_mode = true;
     if (timeGraph.flag)
     {
         UpdateGraphTable();
     }
 }
Beispiel #3
0
        public void initThirdLayer()
        {
            timeGraph.Size     = new Size((int)(this.Width * 0.8), (int)(this.Size.Height * 0.425));
            timeGraph.Location = new Point(0, (int)(this.Height * 0.09));


            graph_table.Size     = new Size((int)(this.Width * 0.55), (int)(this.Height * 0.425));
            graph_table.Location = new Point((int)(this.Width * 0.25), (int)(this.Height * 0.5125));

            scatterPlot.Size     = new Size((int)(this.Width * 0.25), (int)(this.Height * 0.425));
            scatterPlot.Location = new Point(0, (int)(this.Height * 0.5125));

            LabelView.BringToFront();

            LabelViewCC.Size     = new Size((int)(this.Width * 0.2), (int)(this.Height * 0.85));
            LabelViewCC.Location = new Point((int)(this.Width * 0.8), (int)(this.Height * 0.09));
            LabelView.Size       = new Size((int)(this.Width * 0.2), (int)(this.Height * 0.85));
            LabelView.Location   = new Point((int)(this.Width * 0.8), (int)(this.Height * 0.09));
            LabelViewCC.BringToFront();

            graph_table.Init();


            alphaBar.Location = new Point((int)(this.Width - alphaBar.Width * 1.1), (int)(this.Height * 0.05));
            alphaBar.Value    = 100;

            mode.Location = new Point((int)(this.Width - alphaBar.Width * 1.1 - mode.Width * 1.3), (int)(this.Height * 0.045));

            List <Control> lc = new List <Control>();

            lc.Add(timeGraph);
            lc.Add(graph_table);
            lc.Add(LabelView);
            lc.Add(LabelViewCC);
            lc.Add(scatterPlot);
            lc.Add(alphaBar);
            lc.Add(mode);
            Panel_Layer.Add(lc);
        }