Пример #1
0
        ///<summary></summary>
        public static void Refresh()
        {
            DataSet ds = null;

            try {
                if (RemotingClient.OpenDentBusinessIsLocal)
                {
                    ds = PrefB.Refresh();
                }
                else
                {
                    DtoPrefRefresh dto = new DtoPrefRefresh();
                    ds = RemotingClient.ProcessQuery(dto);
                }
            }
            catch (Exception e) {
                MessageBox.Show(e.Message);
                return;
            }
            PrefB.FillHList(ds.Tables[0]);            //now, we have an HList on both the client and the server.
        }