Ejemplo n.º 1
0
 private void cmdAdd_Click(object sender, System.EventArgs e)
 {
     UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
     if (df.AddStyleDescription(StyleID, ddlFieldName.SelectedItem.Value, tbFieldDescription.Text, JudgedYes.Checked?1:0, MultiLineYes.Checked?1:0, Int32.Parse(tbHeight.Text), Int32.Parse(tbWidth.Text), Int32.Parse(tbPosition.Text), tbExample.Text) != 0)
     {
         Response.Write("<script language='javascript'>alert('所加的字段有重复!');</script>");
     }
     Bangding();
 }
Ejemplo n.º 2
0
 private void cmdAdd_Click(object sender, System.EventArgs e)
 {
     UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
     if(df.AddStyleDescription(StyleID,ddlFieldName.SelectedItem.Value ,tbFieldDescription.Text ,JudgedYes.Checked?1:0,MultiLineYes.Checked?1:0,Int32.Parse(tbHeight.Text),Int32.Parse(tbWidth.Text),Int32.Parse(tbPosition.Text),tbExample.Text)!=0)
     {
         Response.Write("<script language='javascript'>alert('���ӵ��ֶ����ظ���');</script>");
     }
     Bangding();
 }