Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: (Simple!) C# Modules Question Pin
R. Giskard Reventlov12-Apr-10 0:46
R. Giskard Reventlov12-Apr-10 0:46 
GeneralRe: (Simple!) C# Modules Question Pin
Dave Kerr12-Apr-10 0:55
mentorDave Kerr12-Apr-10 0:55 
AnswerRe: (Simple!) C# Modules Question Pin
PIEBALDconsult12-Apr-10 4:06
mvePIEBALDconsult12-Apr-10 4:06 
AnswerRe: (Simple!) C# Modules Question Pin
Dave Kerr12-Apr-10 5:00
mentorDave Kerr12-Apr-10 5:00 
QuestionEnterprise Library issue Pin
spankyleo12312-Apr-10 0:19
spankyleo12312-Apr-10 0:19 
QuestionHow to remove specific portion of stroke from ink ? Pin
googlejumbo12-Apr-10 0:14
googlejumbo12-Apr-10 0:14 
QuestionMessage Removed Pin
12-Apr-10 0:07
mangesh.devhare12-Apr-10 0:07 
AnswerRe: Multiple Inheritance in C# Pin
#realJSOP12-Apr-10 0:14
professional#realJSOP12-Apr-10 0:14 
AnswerMy vote of 1 Pin
Keith Barrow12-Apr-10 0:31
professionalKeith Barrow12-Apr-10 0:31 
JokeRe: Multiple Inheritance in C# Pin
Eddy Vluggen12-Apr-10 0:44
professionalEddy Vluggen12-Apr-10 0:44 
GeneralRe: Multiple Inheritance in C# Pin
Keith Barrow12-Apr-10 0:47
professionalKeith Barrow12-Apr-10 0:47 
GeneralRe: Multiple Inheritance in C# Pin
Eddy Vluggen12-Apr-10 2:51
professionalEddy Vluggen12-Apr-10 2:51 
QuestionFrames extraction in C# Pin
Saira1311-Apr-10 22:19
Saira1311-Apr-10 22:19 
AnswerRe: Frames extraction in C# Pin
Pete O'Hanlon11-Apr-10 22:30
mvePete O'Hanlon11-Apr-10 22:30 
AnswerRe: Frames extraction in C# Pin
Richard MacCutchan11-Apr-10 22:31
mveRichard MacCutchan11-Apr-10 22:31 
QuestionGet List of All Controls and their properties C# Pin
jojoba201111-Apr-10 21:16
jojoba201111-Apr-10 21:16 
AnswerRe: Get List of All Controls and their properties C# Pin
Calla11-Apr-10 21:37
Calla11-Apr-10 21:37 
QuestionRe: Get List of All Controls and their properties C# Pin
jojoba201111-Apr-10 21:45
jojoba201111-Apr-10 21:45 
AnswerRe: Get List of All Controls and their properties C# Pin
dan!sh 11-Apr-10 21:49
professional dan!sh 11-Apr-10 21:49 
AnswerRe: Get List of All Controls and their properties C# Pin
Calla11-Apr-10 22:16
Calla11-Apr-10 22:16 
AnswerRe: Get List of All Controls and their properties C# Pin
Luc Pattyn11-Apr-10 22:47
sitebuilderLuc Pattyn11-Apr-10 22:47 
AnswerRe: Get List of All Controls and their properties C# Pin
yu-jian15-Apr-10 6:59
yu-jian15-Apr-10 6:59 
this code cal get all control in the form. Smile | :)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GetAllControls
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            findControl(this);
            foreach (Control control in controlList)
            {
                if (control is System.Windows.Forms.Panel)
                {
                }
                
            }
        }

        private void findControl(Control control)
        {
            if (control != null && control.Controls != null)
            {
                foreach (Control childControl in control.Controls)
                {
                    findControl(childControl);
                    this.controlList.Add(childControl);
                }
            }
        }

        private List<Control> controlList = new List<Control>();
    }
}

QuestionHow to remove particular character from the string Pin
M Riaz Bashir11-Apr-10 20:59
M Riaz Bashir11-Apr-10 20:59 
AnswerRe: How to remove particular character from the string Pin
Rajesh Anuhya11-Apr-10 21:02
professionalRajesh Anuhya11-Apr-10 21:02 
GeneralRe: How to remove particular character from the string Pin
M Riaz Bashir11-Apr-10 21:10
M Riaz Bashir11-Apr-10 21:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.