Пример #1
0
 protected void AddLinkButton_Click(object sender, EventArgs e)
 {
     // 将Formview状态更改为 Insert
     StuffUserFormView.ChangeMode(FormViewMode.Insert);
 }
Пример #2
0
 protected void StuffNameLinkButton_Click(object sender, EventArgs e)
 {
     this.OrganizationTreeView.Nodes.Clear();
     // 将Formview状态更改为 ReadOnly
     StuffUserFormView.ChangeMode(FormViewMode.ReadOnly);
 }
Пример #3
0
 protected void EditLinkButton_Click(object sender, EventArgs e)
 {
     // 将Formview状态更改为 Edit
     StuffUserFormView.ChangeMode(FormViewMode.Edit);
 }