Esempio n. 1
0
 /// <summary>
 /// Выбран детальный шаг
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void lvStep_SelectedIndexChanged(object sender, EventArgs e)
 {
     this.IDStep        = (int)((ListView)sender).SelectedDataKey.Value;
     StepProject.IDStep = this.IDStep;
     StepProject.Change = this.Change;
     StepProject.DataBind();
 }
Esempio n. 2
0
 /// <summary>
 /// Сбросить панель Step
 /// </summary>
 protected void ClearStep()
 {
     this.IDStep          = null;
     this.SelectIndexStep = -1;
     this.IDlvStep        = null;
     StepProject.IDStep   = null;
     StepProject.DataBind();
 }
Esempio n. 3
0
 /// <summary>
 /// Добавить детальный шаг
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void pnSelectStep_InsertClick(object sender, EventArgs e)
 {
     StepProject.ModeTable = FormViewMode.Insert;
     if (ddlTemplate.SelectedIndex != -1)
     {
         StepProject.Insert_IDTemplateStepProject = int.Parse(ddlTemplate.SelectedValue);
     }
     if (lvBigStep.SelectedDataKey != null)
     {
         StepProject.Insert_IDBigStep = (int)lvBigStep.SelectedDataKey.Value;
     }
     StepProject.Change = this.Change;
     StepProject.DataBind();
 }