private void menuItemSetup_Click(object sender,EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)) { return; } FormEmailAddresses formEA=new FormEmailAddresses(); formEA.ShowDialog(); labelInboxComputerName.Text="Computer Name Where New Email Is Fetched: "+PrefC.GetString(PrefName.EmailInboxComputerName); GetMessages();//Get new messages, just in case the user entered email information for the first time. }
private void menuItemSetup_Click(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormEmailAddresses formEA = new FormEmailAddresses(); formEA.ShowDialog(); labelInboxComputerName.Text = "Computer Name Where New Email Is Fetched: " + PrefC.GetString(PrefName.EmailInboxComputerName); GetMessages(); //Get new messages, just in case the user entered email information for the first time. }
private void butEmail_Click(object sender, EventArgs e) { FormEmailAddresses FormEA = new FormEmailAddresses(); FormEA.IsSelectionMode = true; FormEA.ShowDialog(); if (FormEA.DialogResult != DialogResult.OK) { return; } ClinicCur.EmailAddressNum = FormEA.EmailAddressNum; textEmail.Text = EmailAddresses.GetOne(FormEA.EmailAddressNum).EmailUsername; }
public EmailAddress PickEmailAccount() { FormEmailAddresses formEA=new FormEmailAddresses(); formEA.IsSelectionMode=true; formEA.ShowDialog(); if(formEA.DialogResult==DialogResult.OK) { EmailAddress emailAccountSelected=_listEmailAddresses.Find(x => x.EmailAddressNum==formEA.EmailAddressNum); if(emailAccountSelected!=null) { EmailAddressPreview=emailAccountSelected; } else { MsgBox.Show(this,"Error selecting email account."); return null; } textFromAddress.Text=EmailAddressPreview.GetFrom(); if(!_isComposing || !_isSigningEnabled) { return null; } SetSig(EmailMessages.GetCertFromPrivateStore(emailAccountSelected.EmailUsername)); } else { EmailAddressPreview=null; } return EmailAddressPreview; }
private void butEmail_Click(object sender,EventArgs e) { FormEmailAddresses FormEA=new FormEmailAddresses(); FormEA.IsSelectionMode=true; FormEA.ShowDialog(); if(FormEA.DialogResult!=DialogResult.OK) { return; } ClinicCur.EmailAddressNum=FormEA.EmailAddressNum; textEmail.Text=EmailAddresses.GetOne(FormEA.EmailAddressNum).EmailUsername; }
private void menuItemEmail_Click(object sender, System.EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)){ return; } FormEmailAddresses FormEA=new FormEmailAddresses(); FormEA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Email"); }
private void butInboundEmail_Click(object sender, EventArgs e) { FormEmailAddresses formEA = new FormEmailAddresses(); formEA.ShowDialog(); }
private void butInboundEmail_Click(object sender,EventArgs e) { FormEmailAddresses formEA=new FormEmailAddresses(); formEA.ShowDialog(); }