private void BtnAddOrder_Click(object sender, RoutedEventArgs e)
        {
            var supplierOrderManager = new frmAddEditSupplierOrder();
            var result = supplierOrderManager.ShowDialog();

            if (result == true)
            {
                LoadSupplierCombo();
                LoadSupplierOrderGrid();
            }
            else
            {
                return;
            }
        }
        private void DgSupplierOrders_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            _supplierOrder = (SupplierOrder)dgSupplierOrders.SelectedItem;

            var supplierOrderManager = new frmAddEditSupplierOrder(_supplierOrder, EditMode.Edit);
            var result = supplierOrderManager.ShowDialog();

            if (result == true)
            {
                LoadSupplierCombo();
                LoadSupplierOrderGrid();
            }
            else
            {
                return;
            }
        }