Esempio n. 1
0
        protected GHTWebControls.GHTSubTest GHTSubTestCreateNew(Control theForm, string Description)
        {
            if (GHTActiveSubTestId == 0)
            {
                GHTActiveSubTestId++;
            }

            while (theForm.FindControl("GHTSubTest" + GHTActiveSubTestId) != null)
            {
                GHTActiveSubTestId++;
            }

            GHTActiveForm = theForm;
            GHTWebControls.GHTSubTest subtest = new GHTWebControls.GHTSubTest();
            subtest.ID          = "GHTSubTest" + GHTActiveSubTestId;
            subtest.Description = Description;
            subtest.Attributes.Add("TestName", Description);
            theForm.Controls.Add(subtest);
            GHTActiveSubTest = subtest;
            return(subtest);
        }
Esempio n. 2
0
		private void AddAttributes(ref GHTSubTest a_currentSubTest, ref WebControl a_toTest)
		{
			try
			{
				IEnumerator enumerator1 = null;
				base.GHTActiveSubTest = a_currentSubTest;
				try
				{
					enumerator1 = a_toTest.Attributes.Keys.GetEnumerator();
					while (enumerator1.MoveNext())
					{
						string text1 = (string)(enumerator1.Current);
						this.GHTSubTestAddResult("Attribute - Name: " + text1 + " Value: " + a_toTest.Attributes[text1]);
					}
				}
				finally
				{
					if (enumerator1 is IDisposable)
					{
						((IDisposable) enumerator1).Dispose();
					}
				}
			}
			catch (Exception exception2)
			{
				// ProjectData.SetProjectError(exception2);
				Exception exception1 = exception2;
				this.GHTSubTestUnexpectedExceptionCaught(exception1);
				// ProjectData.ClearProjectError();
			}
		}
Esempio n. 3
0
		private void RunDesignTimeTests()
		{
			try
			{
				this.DataGrid1.DataSource = WebControl_Attributes.m_dataSource;
				this.DataGrid2.DataSource = WebControl_Attributes.m_dataSource;
				this.DataList1.DataSource = WebControl_Attributes.m_dataSource;
				this.DataList2.DataSource = WebControl_Attributes.m_dataSource;
				this.DataGrid1.DataBind();
				this.DataGrid2.DataBind();
				this.DataList1.DataBind();
				this.DataList2.DataBind();
				GHTSubTest test1 = this.GHTSubTest25;
				WebControl control1 = this.Button1;
				this.AddAttributes(ref test1, ref control1);
				this.Button1 = (Button) control1;
				this.GHTSubTest25 = test1;
				test1 = this.GHTSubTest26;
				control1 = this.CheckBox1;
				this.AddAttributes(ref test1, ref control1);
				this.CheckBox1 = (CheckBox) control1;
				this.GHTSubTest26 = test1;
				test1 = this.GHTSubTest28;
				control1 = this.HyperLink1;
				this.AddAttributes(ref test1, ref control1);
				this.HyperLink1 = (HyperLink) control1;
				this.GHTSubTest28 = test1;
				test1 = this.GHTSubTest30;
				control1 = this.Image1;
				this.AddAttributes(ref test1, ref control1);
				this.Image1 = (Image) control1;
				this.GHTSubTest30 = test1;
				test1 = this.GHTSubTest32;
				control1 = this.ImageButton1;
				this.AddAttributes(ref test1, ref control1);
				this.ImageButton1 = (ImageButton) control1;
				this.GHTSubTest32 = test1;
				test1 = this.GHTSubTest34;
				control1 = this.Label1;
				this.AddAttributes(ref test1, ref control1);
				this.Label1 = (Label) control1;
				this.GHTSubTest34 = test1;
				test1 = this.GHTSubTest36;
				control1 = this.LinkButton1;
				this.AddAttributes(ref test1, ref control1);
				this.LinkButton1 = (LinkButton) control1;
				this.GHTSubTest36 = test1;
				test1 = this.GHTSubTest37;
				control1 = this.Panel1;
				this.AddAttributes(ref test1, ref control1);
				this.Panel1 = (Panel) control1;
				this.GHTSubTest37 = test1;
				test1 = this.GHTSubTest38;
				control1 = this.RadioButton1;
				this.AddAttributes(ref test1, ref control1);
				this.RadioButton1 = (RadioButton) control1;
				this.GHTSubTest38 = test1;
				test1 = this.GHTSubTest39;
				control1 = this.TextBox1;
				this.AddAttributes(ref test1, ref control1);
				this.TextBox1 = (TextBox) control1;
				this.GHTSubTest39 = test1;
				test1 = this.GHTSubTest40;
				control1 = this.DropDownList1;
				this.AddAttributes(ref test1, ref control1);
				this.DropDownList1 = (DropDownList) control1;
				this.GHTSubTest40 = test1;
				test1 = this.GHTSubTest41;
				control1 = this.ListBox1;
				this.AddAttributes(ref test1, ref control1);
				this.ListBox1 = (ListBox) control1;
				this.GHTSubTest41 = test1;
				test1 = this.GHTSubTest42;
				control1 = this.RadioButtonList1;
				this.AddAttributes(ref test1, ref control1);
				this.RadioButtonList1 = (RadioButtonList) control1;
				this.GHTSubTest42 = test1;
				test1 = this.GHTSubTest43;
				control1 = this.CheckBoxList1;
				this.AddAttributes(ref test1, ref control1);
				this.CheckBoxList1 = (CheckBoxList) control1;
				this.GHTSubTest43 = test1;
				test1 = this.GHTSubTest50;
				control1 = this.DataGrid1;
				this.AddAttributes(ref test1, ref control1);
				this.DataGrid1 = (DataGrid) control1;
				this.GHTSubTest50 = test1;
				test1 = this.GHTSubTest51;
				control1 = this.DataGrid2.Items[0];
				this.AddAttributes(ref test1, ref control1);
				this.GHTSubTest51 = test1;
				test1 = this.GHTSubTest52;
				control1 = this.DataList1;
				this.AddAttributes(ref test1, ref control1);
				this.DataList1 = (DataList) control1;
				this.GHTSubTest52 = test1;
				test1 = this.GHTSubTest53;
				control1 = this.DataList2.Items[0];
				this.AddAttributes(ref test1, ref control1);
				this.GHTSubTest53 = test1;
				test1 = this.GHTSubTest54;
				control1 = this.Table1;
				this.AddAttributes(ref test1, ref control1);
				this.Table1 = (Table) control1;
				this.GHTSubTest54 = test1;
				test1 = this.GHTSubTest55;
				control1 = this.Table5;
				this.AddAttributes(ref test1, ref control1);
				this.Table5 = (Table) control1;
				this.GHTSubTest55 = test1;
				test1 = this.GHTSubTest56;
				control1 = this.Table2;
				this.AddAttributes(ref test1, ref control1);
				this.Table2 = (Table) control1;
				this.GHTSubTest56 = test1;
				test1 = this.GHTSubTest57;
				control1 = this.Table3;
				this.AddAttributes(ref test1, ref control1);
				this.Table3 = (Table) control1;
				this.GHTSubTest57 = test1;
			}
			catch (Exception exception2)
			{
				// ProjectData.SetProjectError(exception2);
				Exception exception1 = exception2;
				this.GHTSubTestBegin();
				string text1 = string.Empty + exception1.GetType().ToString();
				text1 = text1 + " caught during preperations for design time tests.";
				text1 = text1 + "<br>Message: ";
				text1 = text1 + exception1.Message;
				text1 = text1 + "<br>Trace: ";
				text1 = text1 + exception1.StackTrace;
				this.GHTSubTestAddResult(text1);
				this.GHTSubTestEnd();
				// ProjectData.ClearProjectError();
			}
		}
		private void TestCellSpacingError(BaseDataList ctl, GHTSubTest SubTest, int CellSpacing)
		{
			try
			{
				base.GHTActiveSubTest = SubTest;
				ctl.DataBind();
				ctl.DataSource = GHTDataListBase.GHTGetSampleDataSource();
				ctl.CellSpacing = CellSpacing;
				this.GHTSubTestExpectedExceptionNotCaught("ArgumentException");
			}
			catch (ArgumentException exception3)
			{
				this.GHTSubTestExpectedExceptionCaught(exception3);
			}
			catch (Exception exception4)
			{
				this.GHTSubTestUnexpectedExceptionCaught(exception4);
			}
		}
		private void TestCellSpacing(BaseDataList ctl, GHTSubTest SubTest, int CellSpacing)
		{
			try
			{
				base.GHTActiveSubTest = SubTest;
				ctl.DataSource = GHTDataListBase.GHTGetSampleDataSource();
				ctl.DataBind();
				ctl.CellSpacing = CellSpacing;
			}
			catch (Exception exception2)
			{
				this.GHTSubTestUnexpectedExceptionCaught(exception2);
			}
		}
Esempio n. 6
0
        protected GHTWebControls.GHTSubTest GHTSubTestCreateNew(Control theForm, string Description)
        {
			if (GHTActiveSubTestId == 0)
			{
				GHTActiveSubTestId++;
			}

			while (theForm.FindControl("GHTSubTest" + GHTActiveSubTestId) != null)
			{
				GHTActiveSubTestId++;
			}

            GHTActiveForm = theForm;
            GHTWebControls.GHTSubTest subtest = new GHTWebControls.GHTSubTest();
            subtest.ID = "GHTSubTest" + GHTActiveSubTestId;
			subtest.Description = Description;
			subtest.Attributes.Add("TestName",Description);
            theForm.Controls.Add(subtest);
            GHTActiveSubTest = subtest;
            return subtest;
        }
Esempio n. 7
0
		private void RunDesignTimeTests()
		{
			try
			{
				this.Datagrid3.DataSource = WebControl_Style.m_dataSource;
				this.Datagrid4.DataSource = WebControl_Style.m_dataSource;
				this.Datalist3.DataSource = WebControl_Style.m_dataSource;
				this.Datalist4.DataSource = WebControl_Style.m_dataSource;
				this.Datagrid3.DataBind();
				this.Datagrid4.DataBind();
				this.Datalist3.DataBind();
				this.Datalist4.DataBind();
				GHTSubTest test1 = this.GHTSubTest24;
				WebControl control1 = this.Button2;
				this.AddAttributes(ref test1, ref control1);
				this.Button2 = (Button) control1;
				this.GHTSubTest24 = test1;
				test1 = this.GHTSubTest25;
				control1 = this.Checkbox2;
				this.AddAttributes(ref test1, ref control1);
				this.Checkbox2 = (CheckBox) control1;
				this.GHTSubTest25 = test1;
				test1 = this.GHTSubTest26;
				control1 = this.Hyperlink2;
				this.AddAttributes(ref test1, ref control1);
				this.Hyperlink2 = (HyperLink) control1;
				this.GHTSubTest26 = test1;
				test1 = this.GHTSubTest27;
				control1 = this.Image2;
				this.AddAttributes(ref test1, ref control1);
				this.Image2 = (Image) control1;
				this.GHTSubTest27 = test1;
				test1 = this.GHTSubTest28;
				control1 = this.Imagebutton2;
				this.AddAttributes(ref test1, ref control1);
				this.Imagebutton2 = (ImageButton) control1;
				this.GHTSubTest28 = test1;
				test1 = this.GHTSubTest29;
				control1 = this.Label2;
				this.AddAttributes(ref test1, ref control1);
				this.Label2 = (Label) control1;
				this.GHTSubTest29 = test1;
				test1 = this.GHTSubTest30;
				control1 = this.Linkbutton2;
				this.AddAttributes(ref test1, ref control1);
				this.Linkbutton2 = (LinkButton) control1;
				this.GHTSubTest30 = test1;
				test1 = this.GHTSubTest31;
				control1 = this.Panel2;
				this.AddAttributes(ref test1, ref control1);
				this.Panel2 = (Panel) control1;
				this.GHTSubTest31 = test1;
				test1 = this.GHTSubTest32;
				control1 = this.Radiobutton2;
				this.AddAttributes(ref test1, ref control1);
				this.Radiobutton2 = (RadioButton) control1;
				this.GHTSubTest32 = test1;
				test1 = this.GHTSubTest33;
				control1 = this.Textbox2;
				this.AddAttributes(ref test1, ref control1);
				this.Textbox2 = (TextBox) control1;
				this.GHTSubTest33 = test1;
				test1 = this.GHTSubTest34;
				control1 = this.Dropdownlist2;
				this.AddAttributes(ref test1, ref control1);
				this.Dropdownlist2 = (DropDownList) control1;
				this.GHTSubTest34 = test1;
				test1 = this.GHTSubTest35;
				control1 = this.Listbox2;
				this.AddAttributes(ref test1, ref control1);
				this.Listbox2 = (ListBox) control1;
				this.GHTSubTest35 = test1;
				test1 = this.GHTSubTest36;
				control1 = this.Radiobuttonlist2;
				this.AddAttributes(ref test1, ref control1);
				this.Radiobuttonlist2 = (RadioButtonList) control1;
				this.GHTSubTest36 = test1;
				test1 = this.GHTSubTest37;
				control1 = this.Checkboxlist2;
				this.AddAttributes(ref test1, ref control1);
				this.Checkboxlist2 = (CheckBoxList) control1;
				this.GHTSubTest37 = test1;
				test1 = this.GHTSubTest44;
				control1 = this.Datagrid3;
				this.AddAttributes(ref test1, ref control1);
				this.Datagrid3 = (DataGrid) control1;
				this.GHTSubTest44 = test1;
				test1 = this.GHTSubTest45;
				control1 = this.Datagrid4.Items[0];
				this.AddAttributes(ref test1, ref control1);
				this.GHTSubTest45 = test1;
				test1 = this.GHTSubTest46;
				control1 = this.Datalist3;
				this.AddAttributes(ref test1, ref control1);
				this.Datalist3 = (DataList) control1;
				this.GHTSubTest46 = test1;
				test1 = this.GHTSubTest47;
				control1 = this.Datalist4.Items[0];
				this.AddAttributes(ref test1, ref control1);
				this.GHTSubTest47 = test1;
				test1 = this.GHTSubTest48;
				control1 = this.Table4;
				this.AddAttributes(ref test1, ref control1);
				this.Table4 = (Table) control1;
				this.GHTSubTest48 = test1;
				test1 = this.GHTSubTest49;
				control1 = this.Table6;
				this.AddAttributes(ref test1, ref control1);
				this.Table6 = (Table) control1;
				this.GHTSubTest49 = test1;
				test1 = this.GHTSubTest50;
				control1 = this.Table7;
				this.AddAttributes(ref test1, ref control1);
				this.Table7 = (Table) control1;
				this.GHTSubTest50 = test1;
				test1 = this.GHTSubTest51;
				control1 = this.Table8;
				this.AddAttributes(ref test1, ref control1);
				this.Table8 = (Table) control1;
				this.GHTSubTest51 = test1;
			}
			catch (Exception exception2)
			{
				// ProjectData.SetProjectError(exception2);
				Exception exception1 = exception2;
				this.GHTSubTestBegin();
				this.GHTSubTestUnexpectedExceptionCaught(exception1);
				this.GHTSubTestEnd();
				// ProjectData.ClearProjectError();
			}
		}
 private void RunDesignTimeTests()
 {
     try
     {
         this.DataGrid1.DataSource = WebControl_Attributes.m_dataSource;
         this.DataGrid2.DataSource = WebControl_Attributes.m_dataSource;
         this.DataList1.DataSource = WebControl_Attributes.m_dataSource;
         this.DataList2.DataSource = WebControl_Attributes.m_dataSource;
         this.DataGrid1.DataBind();
         this.DataGrid2.DataBind();
         this.DataList1.DataBind();
         this.DataList2.DataBind();
         GHTSubTest test1    = this.GHTSubTest25;
         WebControl control1 = this.Button1;
         this.AddAttributes(ref test1, ref control1);
         this.Button1      = (Button)control1;
         this.GHTSubTest25 = test1;
         test1             = this.GHTSubTest26;
         control1          = this.CheckBox1;
         this.AddAttributes(ref test1, ref control1);
         this.CheckBox1    = (CheckBox)control1;
         this.GHTSubTest26 = test1;
         test1             = this.GHTSubTest28;
         control1          = this.HyperLink1;
         this.AddAttributes(ref test1, ref control1);
         this.HyperLink1   = (HyperLink)control1;
         this.GHTSubTest28 = test1;
         test1             = this.GHTSubTest30;
         control1          = this.Image1;
         this.AddAttributes(ref test1, ref control1);
         this.Image1       = (Image)control1;
         this.GHTSubTest30 = test1;
         test1             = this.GHTSubTest32;
         control1          = this.ImageButton1;
         this.AddAttributes(ref test1, ref control1);
         this.ImageButton1 = (ImageButton)control1;
         this.GHTSubTest32 = test1;
         test1             = this.GHTSubTest34;
         control1          = this.Label1;
         this.AddAttributes(ref test1, ref control1);
         this.Label1       = (Label)control1;
         this.GHTSubTest34 = test1;
         test1             = this.GHTSubTest36;
         control1          = this.LinkButton1;
         this.AddAttributes(ref test1, ref control1);
         this.LinkButton1  = (LinkButton)control1;
         this.GHTSubTest36 = test1;
         test1             = this.GHTSubTest37;
         control1          = this.Panel1;
         this.AddAttributes(ref test1, ref control1);
         this.Panel1       = (Panel)control1;
         this.GHTSubTest37 = test1;
         test1             = this.GHTSubTest38;
         control1          = this.RadioButton1;
         this.AddAttributes(ref test1, ref control1);
         this.RadioButton1 = (RadioButton)control1;
         this.GHTSubTest38 = test1;
         test1             = this.GHTSubTest39;
         control1          = this.TextBox1;
         this.AddAttributes(ref test1, ref control1);
         this.TextBox1     = (TextBox)control1;
         this.GHTSubTest39 = test1;
         test1             = this.GHTSubTest40;
         control1          = this.DropDownList1;
         this.AddAttributes(ref test1, ref control1);
         this.DropDownList1 = (DropDownList)control1;
         this.GHTSubTest40  = test1;
         test1    = this.GHTSubTest41;
         control1 = this.ListBox1;
         this.AddAttributes(ref test1, ref control1);
         this.ListBox1     = (ListBox)control1;
         this.GHTSubTest41 = test1;
         test1             = this.GHTSubTest42;
         control1          = this.RadioButtonList1;
         this.AddAttributes(ref test1, ref control1);
         this.RadioButtonList1 = (RadioButtonList)control1;
         this.GHTSubTest42     = test1;
         test1    = this.GHTSubTest43;
         control1 = this.CheckBoxList1;
         this.AddAttributes(ref test1, ref control1);
         this.CheckBoxList1 = (CheckBoxList)control1;
         this.GHTSubTest43  = test1;
         test1    = this.GHTSubTest50;
         control1 = this.DataGrid1;
         this.AddAttributes(ref test1, ref control1);
         this.DataGrid1    = (DataGrid)control1;
         this.GHTSubTest50 = test1;
         test1             = this.GHTSubTest51;
         control1          = this.DataGrid2.Items[0];
         this.AddAttributes(ref test1, ref control1);
         this.GHTSubTest51 = test1;
         test1             = this.GHTSubTest52;
         control1          = this.DataList1;
         this.AddAttributes(ref test1, ref control1);
         this.DataList1    = (DataList)control1;
         this.GHTSubTest52 = test1;
         test1             = this.GHTSubTest53;
         control1          = this.DataList2.Items[0];
         this.AddAttributes(ref test1, ref control1);
         this.GHTSubTest53 = test1;
         test1             = this.GHTSubTest54;
         control1          = this.Table1;
         this.AddAttributes(ref test1, ref control1);
         this.Table1       = (Table)control1;
         this.GHTSubTest54 = test1;
         test1             = this.GHTSubTest55;
         control1          = this.Table5;
         this.AddAttributes(ref test1, ref control1);
         this.Table5       = (Table)control1;
         this.GHTSubTest55 = test1;
         test1             = this.GHTSubTest56;
         control1          = this.Table2;
         this.AddAttributes(ref test1, ref control1);
         this.Table2       = (Table)control1;
         this.GHTSubTest56 = test1;
         test1             = this.GHTSubTest57;
         control1          = this.Table3;
         this.AddAttributes(ref test1, ref control1);
         this.Table3       = (Table)control1;
         this.GHTSubTest57 = test1;
     }
     catch (Exception exception2)
     {
         // ProjectData.SetProjectError(exception2);
         Exception exception1 = exception2;
         this.GHTSubTestBegin();
         string text1 = string.Empty + exception1.GetType().ToString();
         text1 = text1 + " caught during preperations for design time tests.";
         text1 = text1 + "<br>Message: ";
         text1 = text1 + exception1.Message;
         text1 = text1 + "<br>Trace: ";
         text1 = text1 + exception1.StackTrace;
         this.GHTSubTestAddResult(text1);
         this.GHTSubTestEnd();
         // ProjectData.ClearProjectError();
     }
 }
 private void RunDesignTimeTests()
 {
     try
     {
         this.Datagrid3.DataSource = WebControl_Style.m_dataSource;
         this.Datagrid4.DataSource = WebControl_Style.m_dataSource;
         this.Datalist3.DataSource = WebControl_Style.m_dataSource;
         this.Datalist4.DataSource = WebControl_Style.m_dataSource;
         this.Datagrid3.DataBind();
         this.Datagrid4.DataBind();
         this.Datalist3.DataBind();
         this.Datalist4.DataBind();
         GHTSubTest test1    = this.GHTSubTest24;
         WebControl control1 = this.Button2;
         this.AddAttributes(ref test1, ref control1);
         this.Button2      = (Button)control1;
         this.GHTSubTest24 = test1;
         test1             = this.GHTSubTest25;
         control1          = this.Checkbox2;
         this.AddAttributes(ref test1, ref control1);
         this.Checkbox2    = (CheckBox)control1;
         this.GHTSubTest25 = test1;
         test1             = this.GHTSubTest26;
         control1          = this.Hyperlink2;
         this.AddAttributes(ref test1, ref control1);
         this.Hyperlink2   = (HyperLink)control1;
         this.GHTSubTest26 = test1;
         test1             = this.GHTSubTest27;
         control1          = this.Image2;
         this.AddAttributes(ref test1, ref control1);
         this.Image2       = (Image)control1;
         this.GHTSubTest27 = test1;
         test1             = this.GHTSubTest28;
         control1          = this.Imagebutton2;
         this.AddAttributes(ref test1, ref control1);
         this.Imagebutton2 = (ImageButton)control1;
         this.GHTSubTest28 = test1;
         test1             = this.GHTSubTest29;
         control1          = this.Label2;
         this.AddAttributes(ref test1, ref control1);
         this.Label2       = (Label)control1;
         this.GHTSubTest29 = test1;
         test1             = this.GHTSubTest30;
         control1          = this.Linkbutton2;
         this.AddAttributes(ref test1, ref control1);
         this.Linkbutton2  = (LinkButton)control1;
         this.GHTSubTest30 = test1;
         test1             = this.GHTSubTest31;
         control1          = this.Panel2;
         this.AddAttributes(ref test1, ref control1);
         this.Panel2       = (Panel)control1;
         this.GHTSubTest31 = test1;
         test1             = this.GHTSubTest32;
         control1          = this.Radiobutton2;
         this.AddAttributes(ref test1, ref control1);
         this.Radiobutton2 = (RadioButton)control1;
         this.GHTSubTest32 = test1;
         test1             = this.GHTSubTest33;
         control1          = this.Textbox2;
         this.AddAttributes(ref test1, ref control1);
         this.Textbox2     = (TextBox)control1;
         this.GHTSubTest33 = test1;
         test1             = this.GHTSubTest34;
         control1          = this.Dropdownlist2;
         this.AddAttributes(ref test1, ref control1);
         this.Dropdownlist2 = (DropDownList)control1;
         this.GHTSubTest34  = test1;
         test1    = this.GHTSubTest35;
         control1 = this.Listbox2;
         this.AddAttributes(ref test1, ref control1);
         this.Listbox2     = (ListBox)control1;
         this.GHTSubTest35 = test1;
         test1             = this.GHTSubTest36;
         control1          = this.Radiobuttonlist2;
         this.AddAttributes(ref test1, ref control1);
         this.Radiobuttonlist2 = (RadioButtonList)control1;
         this.GHTSubTest36     = test1;
         test1    = this.GHTSubTest37;
         control1 = this.Checkboxlist2;
         this.AddAttributes(ref test1, ref control1);
         this.Checkboxlist2 = (CheckBoxList)control1;
         this.GHTSubTest37  = test1;
         test1    = this.GHTSubTest44;
         control1 = this.Datagrid3;
         this.AddAttributes(ref test1, ref control1);
         this.Datagrid3    = (DataGrid)control1;
         this.GHTSubTest44 = test1;
         test1             = this.GHTSubTest45;
         control1          = this.Datagrid4.Items[0];
         this.AddAttributes(ref test1, ref control1);
         this.GHTSubTest45 = test1;
         test1             = this.GHTSubTest46;
         control1          = this.Datalist3;
         this.AddAttributes(ref test1, ref control1);
         this.Datalist3    = (DataList)control1;
         this.GHTSubTest46 = test1;
         test1             = this.GHTSubTest47;
         control1          = this.Datalist4.Items[0];
         this.AddAttributes(ref test1, ref control1);
         this.GHTSubTest47 = test1;
         test1             = this.GHTSubTest48;
         control1          = this.Table4;
         this.AddAttributes(ref test1, ref control1);
         this.Table4       = (Table)control1;
         this.GHTSubTest48 = test1;
         test1             = this.GHTSubTest49;
         control1          = this.Table6;
         this.AddAttributes(ref test1, ref control1);
         this.Table6       = (Table)control1;
         this.GHTSubTest49 = test1;
         test1             = this.GHTSubTest50;
         control1          = this.Table7;
         this.AddAttributes(ref test1, ref control1);
         this.Table7       = (Table)control1;
         this.GHTSubTest50 = test1;
         test1             = this.GHTSubTest51;
         control1          = this.Table8;
         this.AddAttributes(ref test1, ref control1);
         this.Table8       = (Table)control1;
         this.GHTSubTest51 = test1;
     }
     catch (Exception exception2)
     {
         // ProjectData.SetProjectError(exception2);
         Exception exception1 = exception2;
         this.GHTSubTestBegin();
         this.GHTSubTestUnexpectedExceptionCaught(exception1);
         this.GHTSubTestEnd();
         // ProjectData.ClearProjectError();
     }
 }