[]
Additional initialization of the form.
protected virtual void Init()
To override properties like FormBorderStyle, MaximizeBox, MinimizeBox, ControlBox etc. of a Form, inherited from "C1.Win.C1TrueDBGrid.PrintForm", override the Init method of the PrintForm. First call the base.Init(), then set the properties you want.
The example is a custom PrintForm which has sizable border, control box is on, and minimize and maximize boxes are off.
public class CustPrintForm : C1.Win.C1TrueDBGrid.PrintForm
{
public CustPrintForm(): base()
{
}
protected override void Init()
{
base.Init();
FormBorderStyle = FormBorderStyle.Sizable;
this.ControlBox = true;
this.MinimizeBox = false;
this.MaximizeBox = false;
}
}