private void btnAddType_Click(object sender, EventArgs e) { FormMemberTypeInfo formMti = new FormMemberTypeInfo(); DialogResult result = formMti.ShowDialog(); if (result == DialogResult.OK) { LoadTypeList(); LoadList(); } }
private void btnAddType_Click(object sender, EventArgs e) { FormMemberTypeInfo type = FormMemberTypeInfo.Create(); DialogResult result = type.ShowDialog(); if (result == DialogResult.OK) { LoadList(); LoadTypeList(); } }
private void btnAddType_Click(object sender, EventArgs e) { FormMemberTypeInfo formMti = new FormMemberTypeInfo(); //以模态窗口打开分类管理 DialogResult result = formMti.ShowDialog(); //根据返回值判断,是否更新分类下拉列表 if (result == DialogResult.OK) { LoadTypeList(); LoadList(); } }