예제 #1
0
        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);
        }
예제 #2
0
 public DropDownService(CtlChooser ctl)
 {
     editor = ctl;
 }