Пример #1
0
		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.
		}
Пример #2
0
        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.
        }
Пример #3
0
        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;
        }
Пример #4
0
		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;
		}
Пример #5
0
		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;
		}
Пример #6
0
		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");
		}
Пример #7
0
        private void butInboundEmail_Click(object sender, EventArgs e)
        {
            FormEmailAddresses formEA = new FormEmailAddresses();

            formEA.ShowDialog();
        }
Пример #8
0
		private void butInboundEmail_Click(object sender,EventArgs e) {
			FormEmailAddresses formEA=new FormEmailAddresses();
			formEA.ShowDialog();
		}