Beispiel #1
0
        private void ItmFetchSystemLogs_Click(object sender, EventArgs e)
        {
            try
            {
                //test authentication
                var success = ArcLogin.IsAuthenticated();

                if (success)
                {
                    SystemLogs.ShowSystemLogViewer();
                }
                else
                {
                    UiMessages.Warning(@"Authentication required; please authenticate first.");
                }
            }
            catch (Exception ex)
            {
                UiMessages.Error(ex.ToString());
            }
        }
Beispiel #2
0
        public static void ShowSystemLogViewer()
        {
            var logViewer = new SystemLogs();

            logViewer.ShowDialog();
        }