public CtrlSyncConnection(ImageList imgList) { InitializeComponent(); _header = new CtrlHeaderListItem(imgList); _header.Dock = DockStyle.Fill; this.pnlTop.Controls.Add(_header); this.pnlBottom.Paint += new PaintEventHandler(OnPaintExtendedPanel); }
public FormSyncConflictResolution() { InitializeComponent(); DefaultAction = ConflictResolutionAction.SkipChange; CreateRadioButtons(); _header = new CtrlHeaderListItem(this.imageList1); _header.FontCaption = _drawFont; _header.Dock = DockStyle.Fill; this.pnlTop.Controls.Add(_header); this.pnlBottom.Paint += new PaintEventHandler(OnPaintBottomPanel); }
public CtrlSyncItemSetting(ImageList imgList, Outlook.OlItemType oItemType) { InitializeComponent(); SyncItemType = oItemType; _header = new CtrlHeaderListItem(imgList); _header.Dock = DockStyle.Fill; this.pnlTop.Controls.Add(_header); this.imageList1 = imgList; AdditionalInitialize(); _deltaSize = this.pnlBottom.Height; this.Height = this.pnlTop.Height; this.pnlBottom.Paint += new PaintEventHandler(OnPaintExtendedPanel); }