public static void AddCtlChooser(CtlChooser box, FlowLayoutPanel pnlFlow, string labelText, string dMember) { Label lbl = new Label(); lbl.AutoSize = true; lbl.TextAlign = System.Drawing.ContentAlignment.BottomLeft; lbl.Text = labelText; box.Width = pnlFlow.Width - 12; box.BorderStyle = BorderStyle.Fixed3D; box.DataMember = dMember; AddLabeledControl(lbl, box, pnlFlow); }
public DropDownService(CtlChooser ctl) { editor = ctl; }