Beispiel #1
0
        public void EditComplaintForm(ComplaintUser cu)
        {
            Complaint c = new Complaint();

            c.ID.Text       = cu.Id.ToString();
            c.Type.Text     = cu.Type;
            c.OwnerID.Text  = cu.OwnerID;
            c.Complain.Text = cu.Complain;
            c.Reviewed.Text = cu.Read.ToString();
            c.Show();
        }
        private void ComplaintGrid_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            ComplaintUser cu = new ComplaintUser(this.ComplaintGrid.CurrentRow);

            mem.EditComplaintForm(cu);
        }