Example #1
0
		private void Udfyv7dk1s(TesterItem obj0, ComponentNameEventArgs obj1)
		{
//      if (this.GJleQFCDgF == null)
//        return;
//      this.GJleQFCDgF(obj0, obj1);
		}
Example #2
0
		private void aJXyPKqwug(TesterItem obj0)
		{
//      if (this.QiaesADbMF == null)
//        return;
//      this.QiaesADbMF(obj0);
		}
Example #3
0
		private void zLlySFoeEa(TesterItem obj0, ComponentNameEventArgs obj1)
		{
			this.Udfyv7dk1s(obj0, obj1);
		}
Example #4
0
		private void IQXyfM7NQ6(TesterItem obj0)
		{
//      if (this.EuremxNnCx == null)
//        return;
//      this.EuremxNnCx(obj0);
		}
Example #5
0
		private void YJRyNuAZek(TesterItem obj0)
		{
			this.IQXyfM7NQ6(obj0);
		}
Example #6
0
		public void ClearComponents(TesterItem component)
		{
			foreach (TesterItem component1 in new ArrayList((ICollection) this.components))
				this.RemoveComponent(component1);
		}
Example #7
0
		public void RemoveComponent(TesterItem component)
		{
			this.components.RY4dKuMHX(component.Name);
			component.PropertyChanged -= new TesterItemEventHandler(this.YJRyNuAZek);
		}
Example #8
0
		public void AddComponent(TesterItem component)
		{
			this.components.f9Ww98OVG(component);
			component.PropertyChanged += new TesterItemEventHandler(this.YJRyNuAZek);
			component.ComponentNameChanged += new TesterComponentNameEventHandler(this.zLlySFoeEa);
			if (!(component is SeriesTesterItem))
				return;
			(component as SeriesTesterItem).ComponentEnabledChanged += new EventHandler(this.gFyyncG26J);
		}
Example #9
0
    public static void SaveComponent(TesterItem component, string fileDir)
    {
			StreamWriter streamWriter = new StreamWriter(fileDir + component.Name + "");
			streamWriter.WriteLine("" + component.GetType().Name);
      foreach (PropertyInfo propertyInfo in component.GetType().GetProperties())
      {
        BrowsableAttribute[] browsableAttributeArray = propertyInfo.GetCustomAttributes(typeof (BrowsableAttribute), true) as BrowsableAttribute[];
        bool flag = true;
        foreach (BrowsableAttribute browsableAttribute in browsableAttributeArray)
        {
          if (!browsableAttribute.Browsable)
            flag = false;
        }
        if (flag)
          TesterComponentManager.WFNAaUJL5(component, propertyInfo, streamWriter);
      }
      streamWriter.Close();
    }