Пример #1
0
        private void TopologyTrace_Load(object sender, EventArgs e)
        {
            ccolor = curColor.BackColor = PublicMethod.Instance.traceColor;

            rb_down.Checked = true;
            ts = TraceStyle.tracedown;
        }
Пример #2
0
 public Trace(Node source, Node destination, PenStyle penstyle, TraceStyle tracestyle)
 {
     this.penstyle    = penstyle;
     this.source      = source;
     this.destination = destination;
     this.tracestyle  = tracestyle;
 }
Пример #3
0
 public TreeOptions()
 {
     rendermode        = RenderMode.Walker;
     treealignment     = TreeAlignmentEnum.Middle;
     marginhorizontal  = 20;
     marginvertical    = 20;
     paddinghorizontal = 0;
     paddingvertical   = 5;
     tracehorizontal   = 3;
     tracevertical     = 10;
     backgroundcolor   = Color.White;
     labelfont         = new FontAndColor(DefaultFont(), Color.Black);
     lexicalfont       = new FontAndColor(DefaultFont(), Color.Red);
     highlightcolor    = Color.Blue;
     antialias         = true;
     linestyle         = new PenStyle(Color.Black, 1.0f, DashStyle.Solid, ArrowStyle.None);
     tracestyle        = new PenStyle(Color.Black, 1.0f, DashStyle.Dot, ArrowStyle.LittleArrow);
     tracemode         = TraceStyle.Line;
 }
Пример #4
0
 public TreeOptions()
 {
     rendermode = RenderMode.Walker;
     treealignment = TreeAlignmentEnum.Middle;
     marginhorizontal = 20;
     marginvertical = 20;
     paddinghorizontal = 0;
     paddingvertical = 5;
     tracehorizontal = 3;
     tracevertical = 10;
     backgroundcolor = Color.White;
     labelfont = new FontAndColor(DefaultFont(), Color.Black);
     lexicalfont = new FontAndColor(DefaultFont(), Color.Red);
     highlightcolor = Color.Blue;
     antialias = true;
     linestyle = new PenStyle(Color.Black, 1.0f, DashStyle.Solid, ArrowStyle.None);
     tracestyle = new PenStyle(Color.Black, 1.0f, DashStyle.Dot, ArrowStyle.LittleArrow);
     tracemode = TraceStyle.Line;
 }
Пример #5
0
 public Trace(Node source, Node destination, PenStyle penstyle, TraceStyle tracestyle)
 {
     this.penstyle = penstyle;
     this.source = source;
     this.destination = destination;
     this.tracestyle = tracestyle;
 }
Пример #6
0
 private void rb_p2p_CheckedChanged(object sender, EventArgs e)
 {
     ts = TraceStyle.tracep2p;
 }
Пример #7
0
 private void rb_all_CheckedChanged(object sender, EventArgs e)
 {
     ts = TraceStyle.traceall;
 }
Пример #8
0
 private void rb_down_CheckedChanged(object sender, EventArgs e)
 {
     ts = TraceStyle.tracedown;
 }