private async void btnShipments_Click(object sender, EventArgs e) { try { var opForm = new OperationsListForm <Shipment, ShipmentProduct>("Отгрузки"); await opForm.LoadAsync(); opForm.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private async void btnOrders_Click(object sender, EventArgs e) { try { var opForm = new OperationsListForm <Order, OrderProduct>("Заказы"); await opForm.LoadAsync(); opForm.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private async void btnSupply_Click(object sender, EventArgs e) { try { var opForm = new OperationsListForm <Supply, SupplyProduct>("Поступления"); await opForm.LoadAsync(); opForm.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }