Esempio n. 1
0
 protected virtual void Init()
 {
     this.InitializeComponent();
     this.ResizeRedraw   = true;
     this.fPadsForeColor = Color.White;
     this.fPads          = new PadList();
     this.AddPad(0.0, 0.0, 1.0, 1.0);
     this.fPadSplit               = false;
     this.fPadSplitIndex          = 0;
     this.fDoubleBufferingEnabled = true;
     this.fSmoothingEnabled       = false;
     this.fAntiAliasingEnabled    = false;
     this.fToolTip    = new ToolTip();
     this.fIsUpdating = false;
     this.SetStyle(ControlStyles.StandardClick, true);
     this.SetStyle(ControlStyles.StandardDoubleClick, true);
     this.SetStyle(ControlStyles.UserPaint, true);
     this.fPrintX           = 10;
     this.fPrintY           = 10;
     this.fPrintWidth       = 600;
     this.fPrintHeight      = 400;
     this.fPrintAlign       = EPrintAlign.None;
     this.fPrintLayout      = EPrintLayout.Portrait;
     this.fSessionGridColor = Color.Blue;
 }
Esempio n. 2
0
		protected virtual void Init()
		{
			this.InitializeComponent();
			this.ResizeRedraw = true;
			this.fPadsForeColor = Color.White;
			this.fPads = new PadList();
			this.AddPad(0.0, 0.0, 1.0, 1.0);
			this.fPadSplit = false;
			this.fPadSplitIndex = 0;
			this.fDoubleBufferingEnabled = true;
			this.fSmoothingEnabled = false;
			this.fAntiAliasingEnabled = false;
			this.fToolTip = new ToolTip();
			this.fIsUpdating = false;
			this.SetStyle(ControlStyles.StandardClick, true);
			this.SetStyle(ControlStyles.StandardDoubleClick, true);
			this.SetStyle(ControlStyles.UserPaint, true);
			this.fPrintX = 10;
			this.fPrintY = 10;
			this.fPrintWidth = 600;
			this.fPrintHeight = 400;
			this.fPrintAlign = EPrintAlign.None;
			this.fPrintLayout = EPrintLayout.Portrait;
			this.fSessionGridColor = Color.Blue;
		}