public AddEditContact(Form form, int id, string action) { this.id = id; db = new PbContext(); this.frm = form; this.action = action; InitializeComponent(); }
public ShowContact(int id) { this.id = id; db = new PbContext(); InitializeComponent(); }
public MainForm() { InitializeComponent(); db = new PbContext(); }