示例#1
0
        private void btn_settings_Click(object sender, EventArgs e)
        {
            MailForm mailForm = new MailForm();

            mailForm.ShowDialog();
        }
示例#2
0
        //true - wyjście, false - wylogowanie
        protected bool MailBoxFunction()
        {
            MailForm mailForm = new MailForm(userCommand);

            return(mailForm.ShowDialog() == DialogResult.Abort);
        }
示例#3
0
 private void mailBrBtn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     mailForm = new MailForm();
     //mailForm.MdiParent = this;
     mailForm.Show();
 }
示例#4
0
        public async Task <IActionResult> SendEmailAsync(MailForm mailForm)
        {
            await _mailService.SendEmail(mailForm.Address, mailForm.Title, mailForm.Content);

            return(Ok());
        }