Ejemplo n.º 1
0
        public void DisplayProcedureProperties(IProcedure proc, TreeNode tableNode)
        {
            if (this._currentHashCode == proc.GetHashCode())
            {
                return;
            }

            DataTable dt = new DataTable("MyData");

            dt.Columns.Add("Property", stringType);
            dt.Columns.Add("Value", stringType);

            dt.Rows.Add(new object[] { "Name", proc.Name });
            dt.Rows.Add(new object[] { "Alias", proc.Alias });
            dt.Rows.Add(new object[] { "Schema", proc.Schema });
            dt.Rows.Add(new object[] { "Description", proc.Description });
            dt.Rows.Add(new object[] { "Type", proc.Type.ToString() });
            dt.Rows.Add(new object[] { "DateCreated", proc.DateCreated.ToShortDateString() });
            dt.Rows.Add(new object[] { "DateModified", proc.DateModified.ToShortDateString() });
            dt.Rows.Add(new object[] { "ProcedureText", proc.ProcedureText });

            this.Grid.DataSource = dt;

            this.InitializeGrid();

            this.Text          = "IProcedure Properties";
            this.lnkHELP.Text  = "IProcedure Help ...";
            this.helpInterface = "IProcedure";

            this._currentHashCode = proc.GetHashCode();
        }
Ejemplo n.º 2
0
        public void DisplayProcedureProperties(IProcedure proc, TreeNode tableNode)
        {
            if (this._currentHashCode == proc.GetHashCode())
            {
                return;
            }

            propGrid.SelectedObject = proc;
            this._currentHashCode   = proc.GetHashCode();
        }
Ejemplo n.º 3
0
		public void DisplayProcedureProperties(IProcedure proc, TreeNode tableNode)
        {
            if (this._currentHashCode == proc.GetHashCode()) return;

			DataTable dt = new DataTable("MyData");

			dt.Columns.Add("Property", stringType);
			dt.Columns.Add("Value", stringType);

			dt.Rows.Add(new object[] {"Name", proc.Name});
			dt.Rows.Add(new object[] {"Alias", proc.Alias});
			dt.Rows.Add(new object[] {"Schema", proc.Schema});
			dt.Rows.Add(new object[] {"Description", proc.Description});
			dt.Rows.Add(new object[] {"Type", proc.Type.ToString()});
			dt.Rows.Add(new object[] {"DateCreated", proc.DateCreated.ToShortDateString()});
			dt.Rows.Add(new object[] {"DateModified", proc.DateModified.ToShortDateString()});
			dt.Rows.Add(new object[] {"ProcedureText", proc.ProcedureText});

			this.Grid.DataSource = dt;

			this.InitializeGrid();

			this.Text = "IProcedure Properties";
			this.lnkHELP.Text = "IProcedure Help ...";
            this.helpInterface = "IProcedure";

            this._currentHashCode = proc.GetHashCode();
		}
        public void DisplayProcedureProperties(IProcedure proc, TreeNode tableNode)
        {
            if (this._currentHashCode == proc.GetHashCode()) return;

            propGrid.SelectedObject = proc;
            this._currentHashCode = proc.GetHashCode();
        }