コード例 #1
0
ファイル: Form1.cs プロジェクト: s410385015/VisualizationTest
        private void LoadCCLabel()
        {
            LabelViewCC.Invoke(new MethodInvoker(delegate() { LabelViewCC.Items.Add(new ListViewItem("日期")); }));
            //List<string> tmp = new List<string>();
            for (int i = 0; i < ccLabel_name.Count; i++)
            {
                //tmp.Add(s);
                LabelViewCC.Invoke(new MethodInvoker(delegate() { LabelViewCC.Items.Add(new ListViewItem(ccLabel_name[i])); }));
            }


            //LabelViewCC.Invoke(new MethodInvoker(delegate() { LabelViewCC.Items.Add(new ListViewItem(tmp.ToArray())); }));
            Loading.Invoke(new MethodInvoker(delegate() { Loading.Visible = false; }));
            isLoad = true;
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: s410385015/VisualizationTest
 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();
 }
コード例 #3
0
ファイル: Form1.cs プロジェクト: s410385015/VisualizationTest
 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();
     }
 }
コード例 #4
0
ファイル: Form1.cs プロジェクト: s410385015/VisualizationTest
        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);
        }