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

                if (success)
                {
                    FirmwareVersion.ShowVersionInfo();
                }
                else
                {
                    UiMessages.Warning(@"Authentication required; please authenticate first.");
                }
            }
            catch (Exception ex)
            {
                UiMessages.Error(ex.ToString());
            }
        }
        public static void ShowVersionInfo()
        {
            var frm = new FirmwareVersion();

            frm.ShowDialog();
        }