private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { FormAddOrder add = new FormAddOrder(false, user_type, order_id); this.Activated += Form1_Activated; add.Show(this); }
private void buttonShow_Click(object sender, EventArgs e) { if (!checkInet()) { return; } FormAddOrder add = new FormAddOrder(false, user_type, order_id); this.Activated += Form1_Activated; add.Show(this); }