Exemplo n.º 1
0
 public LinePainter(MemoryControlPainter mcp, Graphics g, Rectangle rc, Point ptAddr, bool render)
 {
     this.mcp    = mcp;
     this.g      = g;
     this.rc     = rc;
     this.ptAddr = ptAddr;
     this.render = render;
 }
Exemplo n.º 2
0
 public MemoryControl()
 {
     mcp = new MemoryControlPainter(this);
     SetStyle(ControlStyles.DoubleBuffer, true);
     SetStyle(ControlStyles.AllPaintingInWmPaint, true);
     SetStyle(ControlStyles.UserPaint, true);
     vscroller      = new VScrollBar();
     vscroller.Dock = DockStyle.Right;
     Controls.Add(vscroller);
     vscroller.Scroll += vscroller_Scroll;
     wordSize          = 1;
     cbRow             = 16;
 }
Exemplo n.º 3
0
		public MemoryControl()
		{
            mcp = new MemoryControlPainter(this);
			SetStyle(ControlStyles.DoubleBuffer, true);
			SetStyle(ControlStyles.AllPaintingInWmPaint, true);
			SetStyle(ControlStyles.UserPaint, true);
			vscroller = new VScrollBar();
			vscroller.Dock = DockStyle.Right;
			Controls.Add(vscroller);
			vscroller.Scroll += vscroller_Scroll;
			wordSize = 1;
			cbRow = 16;
		}