Ejemplo n.º 1
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            TextExtra = $"(Beta Build: { _currentVersion.Build.ToString() })";

            klblKryptonToolkitHubVersion.Text = $"Krypton Toolkit Hub Version: { _currentVersion.ToString() }";

            if (_io.DoesFileExist(@".\Krypton Docking.dll"))
            {
                _kryptonDocking = _io.GetFileVersion(@".\Krypton Docking.dll");

                klblKryptonDockingVersion.Text = $"Krypton Docking Version: { _kryptonDocking.ToString() }";
            }
            else
            {
                klblKryptonDockingVersion.Visible = false;
            }
        }
        private void MainWindow_Load(object sender, EventArgs e)
        {
            TextExtra = $"(Beta Build: { _currentVersion.Build.ToString() })";

            klblKryptonToolkitHubVersion.Text = $"Krypton Toolkit Hub Version: {_currentVersion}";

            FileInfo fi = _io.GetFileInformationOn(@".\Krypton Docking.dll");

            if (fi.Exists)
            {
                _kryptonDocking = _io.GetFileVersion(fi.FullName);

                klblKryptonDockingVersion.Text = $"Krypton Docking Version: {_kryptonDocking}";
            }
            else
            {
                klblKryptonDockingVersion.Visible = false;
            }
        }