private void LoadPolicies()
        {
            var master = Helpers.GetMaster(Pool);
            var action = new GetServerLocalTimeAction(master);

            action.Completed += action_Completed;
            action.RunAsync();
        }
Exemple #2
0
        public void GetServerTime()
        {
            var master = Helpers.GetMaster(Connection);

            if (master == null)
            {
                return;
            }

            var action = new GetServerLocalTimeAction(master);

            action.Completed            += action_CompletedTimeServer;
            MainTableLayoutPanel.Visible = false;
            LoadingBox.Visible           = true;
            spinnerIcon1.StartSpinning();
            action.RunAsync();
        }