Inheritance: System.Windows.Forms.Form
Ejemplo n.º 1
0
        private void buttonEditFolders_Click(object sender, EventArgs e)
        {
            hMailServer.Settings settings = APICreator.Application.Settings;
             hMailServer.IMAPFolders publicFolders = settings.PublicFolders;

             formAccountFolders accountFoldersDlg = new formAccountFolders(publicFolders, true);
             accountFoldersDlg.ShowDialog();

             Marshal.ReleaseComObject(settings);
             Marshal.ReleaseComObject(publicFolders);
        }
Ejemplo n.º 2
0
        private void buttonEditFolders_Click(object sender, EventArgs e)
        {
            if (_representedAccount == null)
            {
                MessageBox.Show("The account must be saved first.", EnumStrings.hMailServerAdministrator);
                return;
            }

            formAccountFolders accountFoldersDlg = new formAccountFolders(_representedAccount.IMAPFolders, false);
            accountFoldersDlg.ShowDialog();
        }