public TreePicker() { InitializeComponent(); CancelButton = new BarItemEx(barCancel, DialogResult.Cancel); //效果不好 当焦点在接受Enter的控件上无效 AcceptButton = new BarItemEx(barOk, DialogResult.OK); }
public SkinPicker() { InitializeComponent(); CancelButton = new BarItemEx(barCancel, DialogResult.Cancel); //效果不好 当焦点在接受Enter的控件上无效 AcceptButton = new BarItemEx(barOk, DialogResult.OK); SkinHelper.InitSkinGallery(sg, false, false, false); }
public ScriptPage(string script) { InitializeComponent(); CancelButton = new BarItemEx(barCancel, DialogResult.Cancel); //效果不好 当焦点在接受Enter的控件上无效 AcceptButton = new BarItemEx(barOk, DialogResult.OK); sqlEdit1.Script = script; }
public GridPicker() { //Start InitializeComponent(); CancelButton = new BarItemEx(barCancel, DialogResult.Cancel); //效果不好 当焦点在接受Enter的控件上无效 AcceptButton = new BarItemEx(barOk, DialogResult.OK); // gv.OptionsSelection.CheckBoxSelectorColumnWidth = 40; }
public PhrasePage(string returnText) { //Start InitializeComponent(); CancelButton = new BarItemEx(barCancel, DialogResult.Cancel); //效果不好 当焦点在接受Enter的控件上无效 AcceptButton = new BarItemEx(barOk, DialogResult.OK); // Spliter = ", "; editBox.Text = returnText; }
public FieldEdit(params GridColumn[] gridColumns) { //Start InitializeComponent(); CancelButton = new BarItemEx(barCancel, DialogResult.Cancel); AcceptButton = new BarItemEx(barOk, DialogResult.OK); // lyc.BeginUpdate(); List <BaseLayoutItem> baseLayoutItems = new List <BaseLayoutItem>(); foreach (GridColumn gridColumn in gridColumns) { LayoutControlItem eLayoutControlItem = new LayoutControlItem(); eLayoutControlItem.Location = new System.Drawing.Point(0, baseLayoutItems.Count * 23); eLayoutControlItem.Name = "oli_" + gridColumn.Name; eLayoutControlItem.Text = gridColumn.Caption; eLayoutControlItem.Size = new Size(this.Width, 23); BaseEdit baseEdit = new TextEdit(); eLayoutControlItem.Control = baseEdit; baseLayoutItems.Add(eLayoutControlItem); } lyg.AddRange(baseLayoutItems.ToArray()); lyc.EndUpdate(); }
public TextPage() { InitializeComponent(); CancelButton = new BarItemEx(barCancel, DialogResult.Cancel); AcceptButton = new BarItemEx(barOk, DialogResult.OK); }