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; }