///<summary></summary> public static void Refresh() { DataSet ds = null; try { if (RemotingClient.OpenDentBusinessIsLocal) { ds = DefB.Refresh(); } else { DtoDefRefresh dto = new DtoDefRefresh(); ds = RemotingClient.ProcessQuery(dto); } } catch (Exception e) { MessageBox.Show(e.Message); return; } DefB.FillArrays(ds.Tables[0]); //now, we have an arrays on both the client and the server. }