Exemplo n.º 1
0
 public Main()
 {
     InitializeComponent();
     recordBindingSource.DataSource = DataHelper.GetData(10);
     provider = new FilterNameProvider(gridView1)
     {
         AllowSettingFilterNames = true
     };
 }
Exemplo n.º 2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            recordBindingSource.DataSource = DataHelper.GetData(10);

            style                      = new AppearanceObject();
            style.BackColor            = Color.Orange;
            style.Options.UseBackColor = true;

            //try different paint styles
            //advBandedGridView1.PaintStyleName = "UltraFlat";
        }
 public Main()
 {
     InitializeComponent();
     recordBindingSource.DataSource = DataHelper.GetData(100, 10);
     spinEdit = new RepositoryItemSpinEdit();
     spinEdit.IsFloatValue           = false;
     gridView1.QueryCustomFunctions += OnQueryCustomFunctions;
     gridView1.FilterEditorCreated  += OnFilterEditorCreated;
     gridView1.OptionsView.FilterCriteriaDisplayStyle = DevExpress.XtraEditors.FilterCriteriaDisplayStyle.Visual;
     gridView1.OptionsFilter.DefaultFilterEditorView  = DevExpress.XtraEditors.FilterEditorViewMode.TextAndVisual;
 }
Exemplo n.º 4
0
 private void Form1_Load(object sender, EventArgs e)
 {
     recordBindingSource.DataSource = DataHelper.GetData(10);
 }
Exemplo n.º 5
0
 public Main()
 {
     InitializeComponent();
     recordBindingSource.DataSource = DataHelper.GetData(50);
 }
Exemplo n.º 6
0
 public Main()
 {
     InitializeComponent();
     gridControl1.DataSource = DataHelper.GetData(5);
 }
 public MainWindow()
 {
     InitializeComponent();
     grid.ItemsSource = DataHelper.GetData();
 }
 public MainWindow()
 {
     InitializeComponent();
     DataContext = DataHelper.GetData();
 }
Exemplo n.º 9
0
 public void InitData()
 {
     recordBindingSource.DataSource = DataHelper.GetData(100);
 }