private void btnOrders_Click(object sender, EventArgs e) { Visible = false; frmAddOrder order = new frmAddOrder(); order.ShowDialog(); Visible = true; }
public frmProductsInOrder(frmAddOrder owner) { InitializeComponent(); Width = Screen.PrimaryScreen.Bounds.Width; Height = Screen.PrimaryScreen.WorkingArea.Height; Location = new Point(); Responsive(); this.owner = owner; Filldgv(); addTables(); }