private void GetSupplier(int supplierId) { try { supplier = SuppliersDB.GetSupplier(supplierId); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.GetType().ToString()); } }