Ejemplo n.º 1
0
        private void ShowMemberStats(Type t)
        {
            // Custom dialog to hold the members.
            MemberInfoDialog d = new MemberInfoDialog();

            d.SetType(t);

            // Build the stats.
            StringBuilder sb = new StringBuilder();

            MemberInfo[] allTheMembers = t.GetMembers();

            foreach (MemberInfo mi in allTheMembers)
            {
                d.AddMember(mi.Name);
            }
            d.ShowDialog();
        }
Ejemplo n.º 2
0
        private void ShowMemberStats(Type t)
        {
            // Custom dialog to hold the members.
            MemberInfoDialog d = new MemberInfoDialog();
            d.SetType(t);

            // Build the stats.
            StringBuilder sb = new StringBuilder();
            MemberInfo[] allTheMembers = t.GetMembers();

            foreach(MemberInfo mi in allTheMembers)
            {
                d.AddMember(mi.Name);
            }
            d.ShowDialog();
        }