Beispiel #1
0
        private void InitialJudgeLine()
        {
            Font   font   = new Font("宋体", 8);
            string format = "{0:0.00}";

            JudgeLine0            = new JudgeLine();
            JudgeLine0.color      = Color.Red;
            JudgeLine0.InfoFormat = format;
            JudgeLine0.InfoFont   = font;
            JudgeLine0.Name       = "JudgeLine0";

            JudgeLine1            = new JudgeLine();
            JudgeLine1.color      = Color.Blue;
            JudgeLine1.InfoFormat = format;
            JudgeLine1.InfoFont   = font;
            JudgeLine1.Name       = "JudgeLine1";
        }
Beispiel #2
0
 public void EnableJudgeLine(ref JudgeLine fc, int Y)
 {
     fc.Enable = true;
     fc.XPixel = 0;
     fc.YPixel = Y;
 }