private void showexportexcell_Click(object sender, EventArgs e) { PL.OrderDetailsForm ordfrm = new OrderDetailsForm(); ordfrm.searchText.Text = (this.dataGridView1.CurrentRow.Cells[0].Value.ToString()); ordfrm.Text = " عرض عمليات الشراء للبضاعة ذا المعرف" + this.dataGridView1.CurrentRow.Cells[0].Value.ToString(); ordfrm.ShowDialog(); }
private void تفاصيلالفاتورةToolStripMenuItem_Click(object sender, EventArgs e) { PL.OrderDetailsForm ordfrm = new OrderDetailsForm(); ordfrm.searchText.Text = (this.dataGridView1.CurrentRow.Cells[0].Value.ToString()); ordfrm.Text = " عرض تفاصيل الفاتورة رقم" + this.dataGridView1.CurrentRow.Cells[0].Value.ToString(); ordfrm.ShowDialog(); }