protected void AddLinkButton_Click(object sender, EventArgs e) { // 将Formview状态更改为 Insert StuffUserFormView.ChangeMode(FormViewMode.Insert); }
protected void StuffNameLinkButton_Click(object sender, EventArgs e) { this.OrganizationTreeView.Nodes.Clear(); // 将Formview状态更改为 ReadOnly StuffUserFormView.ChangeMode(FormViewMode.ReadOnly); }
protected void EditLinkButton_Click(object sender, EventArgs e) { // 将Formview状态更改为 Edit StuffUserFormView.ChangeMode(FormViewMode.Edit); }