public bool Configure(IWin32Window owner)
 {
     string[] splitSettings = SplitSettings();
     ConfigureUserPassword newDialog = new ConfigureUserPassword(splitSettings[0]);
     newDialog.UserPasswordSet += delegate(object sender, EventArgs e) { settings = newDialog.UserName + "\r" + newDialog.Password; };
     DialogResult result = newDialog.ShowDialog(owner);
     return (result == DialogResult.OK);
 }
        public bool Configure(IWin32Window owner)
        {
            string[] splitSettings          = SplitSettings();
            ConfigureUserPassword newDialog = new ConfigureUserPassword(splitSettings[0]);

            newDialog.UserPasswordSet += delegate(object sender, EventArgs e) { settings = newDialog.UserName + "\r" + newDialog.Password; };
            DialogResult result = newDialog.ShowDialog(owner);

            return(result == DialogResult.OK);
        }