Exemple #1
0
		private void SetParams (BasicParameter p)
		{
				string s = String.Format(System.Globalization.CultureInfo.CurrentCulture,
				                         "{0}[{1}]",p.ParameterName,p.ParameterValue);
				ParameterNode node = new ParameterNode(s,columnIcon);
				this.nodeParams.Nodes.Add(node);
		}
		private void SetParameters ()
		{
			this.nodeParams.Nodes.Clear();		
			foreach (BasicParameter p in this.reportModel.ReportSettings.ParameterCollection)
			{
				string s = String.Format(System.Globalization.CultureInfo.CurrentCulture,
				                         "{0}[{1}]",p.ParameterName,p.ParameterValue);
				ParameterNode node = new ParameterNode(s,columnIcon);
				this.nodeParams.Nodes.Add(node);
			}
		}