コード例 #1
0
		public void EditNiceNames(Procedures coll)
		{
			DataTable dt = ProLogForNiceNames(coll);
			DataRowCollection rows = dt.Rows;

			foreach(Procedure o in coll)
			{
				rows.Add(new object[] { o.Name, o.Alias, o } );
			}

			EpilogForNiceNames(dt);
		}
コード例 #2
0
		public void EditNiceNames(Procedures coll)
        {
            if (this._currentHashCode == coll.GetHashCode()) return;

			DataTable dt = ProLogForNiceNames(coll);
			DataRowCollection rows = dt.Rows;

			foreach(Procedure o in coll)
			{
				rows.Add(new object[] { o.Name, o.Alias, o } );
			}

            EpilogForNiceNames(dt);

            this._currentHashCode = coll.GetHashCode();
		}