コード例 #1
0
 private void queryLogic_RefreshSingleServerComplete(ServerEventArgs e)
 {
     if (this.gvServers.GetRow(this.gvServers.FocusedRowHandle) == e.Server)
     this.UpdateGridDataSources();
 }
コード例 #2
0
 protected virtual void queryLogic_RefreshSingleServerComplete(ServerEventArgs e)
 {
     if (this.gvServers.GetFocusedRow() == e.Server)
       {
     if (this.gvServers.SelectedRowsCount <= 1)
       this.gvServers.RefreshRow(this.gvServers.FocusedRowHandle);
     else
       this.gvServers.RefreshData();
     //this.gvServers.SelectRow(this.gvServers.FocusedRowHandle);
     this.UpdateGridDataSources();
       }
 }