예제 #1
0
		public void EditNiceNames(Domains coll)
		{
			DataTable dt = ProLogForNiceNames(coll);
			DataRowCollection rows = dt.Rows;

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

			EpilogForNiceNames(dt);
		}
예제 #2
0
		public void EditNiceNames(Domains coll)
        {
            if (this._currentHashCode == coll.GetHashCode()) return;

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

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

            EpilogForNiceNames(dt);

            this._currentHashCode = coll.GetHashCode();
		}