Пример #1
0
        /// <summary>
        /// Event that rechecks if MKVToolNix is installed, notifies the user of the result, and locks/unlocks some form controls depending on the result.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void recheckToSeeIfMKVToolNixIsInstalledOnThisMachineToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool installed = MKVToolNix.IsInstalled();      // Check if MKVToolNix is installed

            UnlockFormControls(installed);                  // Lock or Unlock certain form controls depending on result of above
            MKVToolNix.FoundNotify(installed);              // Display message to user depending on result of above
        }
Пример #2
0
        private void recheckToSeeIfMKVToolNixIsInstalledToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool installed = MKVToolNix.IsInstalled();          // Checkif MKVToolNix is installed

            UnlockFormControls(installed);                      // Lock/Unlock form controls based on result
            MKVToolNix.FoundNotify(installed);                  // Display message based on result
        }
Пример #3
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            // Update AppInfo label with app name and version
            lblAppInfo.Text = Application.ProductName + " ver" + Application.ProductVersion + lblAppInfo.Text;

            // Disable some controls until data is loaded
            UnlockEditControls(false);

            // Enabling/Disabling some default options
            chkTitlePrepShow.Checked        = true;
            chkTitlePrepEpPrefix.Checked    = true;
            chkTitlePrepEpNo.Checked        = true;
            cboTitleEpisodePre.SelectedItem = "#";

            chkFilePrepSeasonPre.Checked   = true;
            chkFilePrepEpPrefix.Checked    = true;
            chkFilePrepEpiZeros.Checked    = true;
            chkFilePrepEpNo.Checked        = true;
            chkFilePrepDash.Checked        = true;
            nudFileMinDigits.Value         = 2;
            txtFileSeasonPre.Text          = "S01";
            cboFileEpisodePre.SelectedItem = "E";

            // Check for MKVToolNix installed on system
            if (!MKVToolNix.IsInstalled())
            {
                UnlockLoadControls(false);
                MKVToolNix.FoundNotify(false);
            }
        }
Пример #4
0
        private void recheckToSeeIfMKVToolNixIsInstalledToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool installed = MKVToolNix.IsInstalled();

            UnlockLoadControls(installed);
            MKVToolNix.FoundNotify(installed);
        }
Пример #5
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            lblAppInfo.Text = Application.ProductName + " ver" + Application.ProductVersion + lblAppInfo.Text;

            if (!MKVToolNix.IsInstalled())          // If MKVToolNix is not installed
            {
                UnlockFormControls(false);          // Lock certain form controls
                MKVToolNix.FoundNotify(false);      // Inform user of the issue
            }
        }
Пример #6
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            // Add application information to lblAppInfo label
            lblAppInfo.Text = Application.ProductName + " ver" + Application.ProductVersion + lblAppInfo.Text;

            if (!MKVToolNix.IsInstalled())          // Check for MKVTOolNix, and if MKVToolNix is not found in computer...
            {
                UnlockFormControls(false);          // Lock some form controls
                MKVToolNix.FoundNotify(false);      // Notify the user of the result of the check
            }
        }