示例#1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.MessageRecipientBLL.BLLMessageRecipient_TKeys MessageRecipientKey = new HPS.BLL.MessageRecipientBLL.BLLMessageRecipient_TKeys();
            MessageRecipientKey.MessageRecipientID_int = (Int32?)this.MessageRecipientGridView.CurrentRow.Cells["colMessageRecipientID_int"].Value;
            MessageRecipientEntityForm MessageRecipient = new MessageRecipientEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.MessageRecipientGridView.DataSource, MessageRecipientKey);

            MessageRecipient.ShowDialog();
        }
示例#2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            MessageRecipientEntityForm MessageRecipient = new MessageRecipientEntityForm((DataTable)this.MessageRecipientGridView.DataSource);

            MessageRecipient.ShowDialog();
        }