Exemplo n.º 1
0
        public static void AddElementToAttributeGrid(dbDataGridView dbDataGridAttributes, string className, string fullpath)
        {
            dbDataGridAttributes.Rows.Add(1);
            int index = dbDataGridAttributes.Rows.Count - 1;

            dbDataGridAttributes.Rows[index].Cells[0].Value = fullpath;
            dbDataGridAttributes.Rows[index].Cells[0].Tag   = className;
            dbDataGridAttributes.ClearSelection();
            dbDataGridAttributes.Rows[index].Cells[0].Selected = true;
        }
Exemplo n.º 2
0
        public static void AddElementToAttributeGrid(dbDataGridView dbDataGridAttributes, string className, string fullpath)
        {
            dbDataGridAttributes.Rows.Add(1);
            int index = dbDataGridAttributes.Rows.Count - 1;

            dbDataGridAttributes.Rows[index].Cells[0].Value = fullpath;
            dbDataGridAttributes.Rows[index].Cells[0].Tag   = className;
            dbDataGridAttributes.ClearSelection();
            dbDataGridAttributes.Rows[index].Cells[0].Selected = true;
            ProxyType type         = AssemblyInspectorObject.DataType.ResolveType(className);
            string    newclassName = type != null ? type.FullName : className;

            dbDataGridAttributes.Rows[index].Tag = newclassName;
        }
Exemplo n.º 3
0
 public static void AddElementToAttributeGrid(dbDataGridView dbDataGridAttributes, string className, string fullpath)
 {
     dbDataGridAttributes.Rows.Add(1);
     int index = dbDataGridAttributes.Rows.Count - 1;
     dbDataGridAttributes.Rows[index].Cells[0].Value = fullpath;
     dbDataGridAttributes.Rows[index].Cells[0].Tag = className;
     dbDataGridAttributes.ClearSelection();
     dbDataGridAttributes.Rows[index].Cells[0].Selected = true;
 }
Exemplo n.º 4
0
 public static void AddElementToAttributeGrid(dbDataGridView dbDataGridAttributes, string className, string fullpath)
 {
     dbDataGridAttributes.Rows.Add(1);
     int index = dbDataGridAttributes.Rows.Count - 1;
     dbDataGridAttributes.Rows[index].Cells[0].Value = fullpath;
     dbDataGridAttributes.Rows[index].Cells[0].Tag = className;
     dbDataGridAttributes.ClearSelection();
     dbDataGridAttributes.Rows[index].Cells[0].Selected = true;
     ProxyType type = AssemblyInspectorObject.DataType.ResolveType(className);
     string newclassName = type != null ? type.FullName : className;
     dbDataGridAttributes.Rows[index].Tag = newclassName;
 }