Beispiel #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();
        }
Beispiel #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();
        }