Example #1
0
        private void CheckNetDrive(bool popup)
        {
            string newPath = Util.Net.GetUNCPath(destinationPathTxt.Text);

            if (newPath != destinationPathTxt.Text)
            {
                destinationPathTxt.Text = newPath;
            }
            setConnectionCredentials.Enabled = (Net.IsUNCPath(newPath));
            if ((Net.IsUNCPath(newPath)) && (!_netWarningDone) && (popup))
            {
                MessageBox.Show(Localise.GetPhrase("MCEBuddy does NOT use the currently logged in user to connect to network shares, it uses its own service account.  Be sure to specify the connection user information [MCEBuddy with a key icon]"), Localise.GetPhrase("Connection Reminder"), MessageBoxButtons.OK, MessageBoxIcon.Warning);
                CredentialsForm connectionCredentialsForm = new CredentialsForm(_cjo); // Force the user to enter atleast default credentials
                connectionCredentialsForm.ShowDialog();

                _netWarningDone = true;
            }
        }
Example #2
0
        private void setConnectionCredentials_Click(object sender, EventArgs e)
        {
            CredentialsForm connectionCredentialsForm = new CredentialsForm(_mjo);

            connectionCredentialsForm.ShowDialog();
        }
Example #3
0
        private void CheckNetDrive(bool popup)
        {
            string newPath = Util.Net.GetUNCPath(searchPathTxt.Text);
            if (newPath != searchPathTxt.Text) searchPathTxt.Text = newPath;
            setConnectionCredentials.Enabled = (Net.IsUNCPath(newPath));
            if ((Net.IsUNCPath(newPath)) && (!_netWarningDone) && popup)
            {
                MessageBox.Show(
                    Localise.GetPhrase("MCEBuddy does NOT use the currently logged in user to connect to network shares, it uses its own service account.  Be sure to specify the connection user information [MCEBuddy with a key icon]"),
                    Localise.GetPhrase("Connection Reminder"), MessageBoxButtons.OK, MessageBoxIcon.Warning);

                CredentialsForm connectionCredentialsForm = new CredentialsForm(_mjo); // Force the user to enter atleast default credentials
                connectionCredentialsForm.ShowDialog(); 
                
                _netWarningDone = true;
            }
        }
Example #4
0
 private void setConnectionCredentials_Click(object sender, EventArgs e)
 {
     CredentialsForm connectionCredentialsForm = new CredentialsForm(_mjo);
     connectionCredentialsForm.ShowDialog();
 }
Example #5
0
 private void SelectFolderCmd_Click(object sender, EventArgs e)
 {
     CredentialsForm connectionCredentialsForm = new CredentialsForm(_go); // Enter network credentials
     connectionCredentialsForm.ShowDialog();
 }
        private void SelectFolderCmd_Click(object sender, EventArgs e)
        {
            CredentialsForm connectionCredentialsForm = new CredentialsForm(_go); // Enter network credentials

            connectionCredentialsForm.ShowDialog();
        }