protected virtual void Init()
{
InitializeComponent();
#if GTK
this.fToolTip = new ToolTip(this);
#else
this.ResizeRedraw = true;
this.SetStyle(ControlStyles.StandardClick | ControlStyles.StandardDoubleClick | ControlStyles.UserPaint, true);
this.fToolTip = new ToolTip();
#endif
this.fPadsForeColor = Color.White;
this.fPads = new PadList();
AddPad(0, 0, 1, 1);
this.fPadSplit = false;
this.fPadSplitIndex = 0;
DoubleBufferingEnabled = true;
this.fSmoothingEnabled = false;
this.fAntiAliasingEnabled = false;
this.fIsUpdating = false;
PrintX = 10;
PrintY = 10;
PrintWidth = 600;
PrintHeight = 400;
PrintAlign = EPrintAlign.None;
this.fPrintLayout = EPrintLayout.Portrait;
this.fSessionGridColor = Color.Blue;
}