Added confimation dialogues for deleting parts/products; Finished implementing Product class methods; Propogating part modifications to associated products; Stopped deleting of items if there is an association;
26 lines
612 B
C#
26 lines
612 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace C968Project.Views
|
|
{
|
|
public partial class AddModifyProductScreen : Form
|
|
{
|
|
private ScreenOption screenOption;
|
|
private Product? _product;
|
|
|
|
public AddModifyProductScreen(ScreenOption screenOption, Product? product)
|
|
{
|
|
InitializeComponent();
|
|
this.screenOption = screenOption;
|
|
_product = product;
|
|
}
|
|
}
|
|
}
|