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