1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace LYFZ.Software.MainBusiness.BulletinBoard
- {
- public partial class FrmSelectInternalMail : LYFZ.Software.UI.BulletinBoard.FrmSelectInternalMail
- {
- public int ID;
- public FrmSelectInternalMail()
- {
- }
- #region 加载
- protected override void FrmSelectInternalMail_Load(object sender, EventArgs e)
- {
- try
- {
- if (ID > 0)
- {
- LYFZ.BLL.BLL_ErpInternalMail bll = new BLL.BLL_ErpInternalMail();
- DataTable dt = bll.View_ErpInternalMail("ID=" + ID + "").Tables[0];
- if (dt.Rows.Count > 0)
- {
- txtImail_ToName.Text = dt.Rows[0]["Imail_ToNames"].ToString();
- txtImail_Content.Text = dt.Rows[0]["Imail_Content"].ToString();
- lblNR.Text = "发布人(" + dt.Rows[0]["Imail_FromNames"] + ") 时间(" + dt.Rows[0]["Imail_ToSendDatetime"] + ") 内容如下:";
- }
- }
- }
- catch (Exception ex) { MessageBoxCustom.Show(ex.Message); }
- }
- #endregion
- #region 关闭
- protected override void btnClose_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- #endregion
-
- }
- }
|