Ejemplo n.º 1
0
        private void btnReply_Click(object sender, EventArgs e)
        {
            InputReply inputReplyForm = new InputReply(0);

            inputReplyForm.parentForm1 = this.parentForm1;
            inputReplyForm.parentForm2 = this.parentForm2;
            inputReplyForm.parentForm3 = this;
            inputReplyForm.ShowDialog();
        }
Ejemplo n.º 2
0
 private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         InputReply inputReplyForm = new InputReply(1);
         inputReplyForm.parentForm1 = this.parentForm1;
         inputReplyForm.parentForm2 = this.parentForm2;
         inputReplyForm.parentForm3 = this;
         inputReplyForm.ShowDialog();
     }
 }