public ScrollInfo(AutoScrollHelper owner, LayoutView view)
 {
     this.owner             = owner;
     this.view              = view;
     this.scrollTimer       = new Timer();
     this.scrollTimer.Tick += new EventHandler(scrollTimer_Tick);
 }
예제 #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     gridControl1.DataSource          = GetDataTable();
     layoutView1.OptionsView.ViewMode = DevExpress.XtraGrid.Views.Layout.LayoutViewMode.Column;
     autoScrollHelper = new AutoScrollHelper(layoutView1);
 }