示例#1
0
        /// <summary>
        /// 新建消息彈出窗口
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnNewMessage_Click(object sender, EventArgs e)
        {
            NewMessageForm newMessageForm = new NewMessageForm();

            //newMessageForm.MdiParent = this;
            //newMessageForm.Location = new System.Drawing.Point(0, 102);
            newMessageForm.Show();
        }
示例#2
0
 private void tvSendMail_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     try
     {
         TreeNode tn = tvSendMail.SelectedNode;
         if (tn == null)
         {
             return;
         }
         EmailInfo entity = tn.Tag as EmailInfo;
         if (entity != null)
         {
             NewMessageForm message = new NewMessageForm(entity);
             message.Text = entity.EmailTitle;
             message.Show();
         }
     }
     catch (Exception ex)
     {
         LogHelper.Error("郵件管理", "雙擊打開郵件時出錯", ex.Message, ex);
     }
 }
示例#3
0
        private void btnNewMail_Click(object sender, EventArgs e)
        {
            NewMessageForm newMail = new NewMessageForm();

            newMail.Show();
        }
示例#4
0
        private void NewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewMessageForm newMail = new NewMessageForm();

            newMail.Show();
        }