private void LoadPolicies() { var master = Helpers.GetMaster(Pool); var action = new GetServerLocalTimeAction(master); action.Completed += action_Completed; action.RunAsync(); }
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(); }