private void OpenFormClient(object sender, EventArgs e) { FormClient clientForm = new FormClient(_client); clientForm.FormClosed += UpdateValue; clientForm.Show(); }
public ControlEntry(FormClient form, Entry entry, int id) { InitializeComponent(); _id = id; _form = form; IsCheckout = entry.IsCheckout; AssembleLabels(entry); AssembleDataGrid(entry.Data); Dock = DockStyle.Top; AutoSize = true; ResizeGrid(null, null); }