Opc.Ua.Com.Client.ServerDiagnosticsCtrl.UpdateTimerCTRL_Tick C# (CSharp) Method

UpdateTimerCTRL_Tick() private method

A callback used to periodically refresh the form contents.
private UpdateTimerCTRL_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void UpdateTimerCTRL_Tick(object sender, EventArgs e)
        {
            try
            {
                ServerStateLB.Text = m_server.CurrentInstance.CurrentState.ToString();
                ServerTimeLB.Text = String.Format("{0:HH:mm:ss}", DateTime.Now);
                UpdateSessions();
                UpdateSubscriptions();
            }
            catch (Exception)
            {
                // MessageBox.Show(exception.Message, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        #endregion