예제 #1
0
 public GridViewQuickColumnCustomizationPopup(BlobBaseEdit ownerEdit, GridView view) : base(ownerEdit)
 {
     this.view                     = view;
     this.checkListBox             = new CheckedListBoxControl();
     this.checkListBox.BorderStyle = BorderStyles.Simple;
     this.checkListBox.Appearance.Assign(ownerEdit.Properties.AppearanceDropDown);
     this.checkListBox.LookAndFeel.ParentLookAndFeel = OwnerEdit.LookAndFeel;
     this.checkListBox.Visible      = false;
     this.checkListBox.CheckOnClick = true;
     this.checkListBox.ItemCheck   += new DevExpress.XtraEditors.Controls.ItemCheckEventHandler(OnCheckListBoxItemCheck);
     this.Controls.Add(checkListBox);
     UpdateCheckListBox();
     FillList();
     OkButton.Enabled = true;
 }
예제 #2
0
파일: Class1.cs 프로젝트: incjonya/demos
 public GridViewQuickColumnCustomizationPopup(BlobBaseEdit ownerEdit, GridView view)
     : base(ownerEdit)
 {
     this.view = view;
     this.checkListBox = new CheckedListBoxControl();
     this.checkListBox.BorderStyle = BorderStyles.Simple;
     this.checkListBox.Appearance.Assign(ownerEdit.Properties.AppearanceDropDown);
     this.checkListBox.LookAndFeel.ParentLookAndFeel = OwnerEdit.LookAndFeel;
     this.checkListBox.Visible = false;
     this.checkListBox.CheckOnClick = true;
     this.checkListBox.ItemCheck += new DevExpress.XtraEditors.Controls.ItemCheckEventHandler(OnCheckListBoxItemCheck);
     this.Controls.Add(checkListBox);
     UpdateCheckListBox();
     FillList();
     OkButton.Enabled = true;
 }