protected void EditBoxLabel( Bean.BoxBean bean ) { FormBoxLabel form = new FormBoxLabel(bean); form.OnRefreshData += form_OnRefreshData; form.StartPosition = FormStartPosition.CenterParent; form.ShowDialog(); }
private void btnAdd_Click(object sender, EventArgs e) { FormBoxLabel form = new FormBoxLabel( null ); form.StartPosition = FormStartPosition.CenterParent; form.OnRefreshData += form_OnRefreshData; form.ShowDialog(); }