Click here to Skip to main content
15,925,444 members
Home / Discussions / C#
   

C#

 
QuestionDataGridview column does not receive focus on form activation Pin
AndrusM3-Nov-08 5:44
AndrusM3-Nov-08 5:44 
QuestionBrowse For Folder Pin
Abdul Rahman Hamidy3-Nov-08 5:38
Abdul Rahman Hamidy3-Nov-08 5:38 
AnswerRe: Browse For Folder Pin
J4amieC3-Nov-08 6:03
J4amieC3-Nov-08 6:03 
AnswerRe: Browse For Folder Pin
Dave Kreskowiak3-Nov-08 6:12
mveDave Kreskowiak3-Nov-08 6:12 
QuestionRSS Feed Reader for .NET Windows Application Pin
saanj3-Nov-08 4:31
saanj3-Nov-08 4:31 
AnswerRe: RSS Feed Reader for .NET Windows Application Pin
Mircea Puiu3-Nov-08 4:41
Mircea Puiu3-Nov-08 4:41 
GeneralRe: RSS Feed Reader for .NET Windows Application Pin
saanj3-Nov-08 7:09
saanj3-Nov-08 7:09 
QuestionDymatic CheckBox in TableLayoutPanel Pin
yulien10203-Nov-08 4:15
yulien10203-Nov-08 4:15 
HI:
i want to check the dymatic checkbox in TableLayoutPanel
each column only can choose one checkbox.
but, i don't know how to write the code.
help me....thank you^^

public partial class Form1 : Form
    {
        private MyTableLayoutPanelObj myTbObj = new MyTableLayoutPanelObj();
        
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            
            myTbObj.SetTableLayoutPanel();
            this.splitContainer1.Panel2.Controls.Add(myTbObj.Satisfy_TableLayoutPanel);

        }
    }


public class MyTableLayoutPanelObj
    {
        public enum ControlType { Checked };
        private TableLayoutPanel tableLayoutPanel = new TableLayoutPanel();

        public int count = 0;
        public TableLayoutPanel Satisfy_TableLayoutPanel
        {
            get { return this.tableLayoutPanel; }
        }
        public void SetTableLayoutPanel()
        {
            for (int subject_x = 0; subject_x < 6; subject_x++)
            {
                CheckBox control = new CheckBox();
                control.CheckedChanged += new EventHandler(control_CheckedChanged);
                control.Name = subject_x + count.ToString();
                control.Text = control.Name.ToString();
                control.Dock = DockStyle.Bottom;
                this.tableLayoutPanel.Controls.Add(control, subject_x, count);
                this.tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f / 5));
            }  
        }

        void control_CheckedChanged(object sender, EventArgs e)
        {
          :confused::confused:
        }

    }

QuestionContextMenuStrip show problem Pin
josip cagalj3-Nov-08 4:11
josip cagalj3-Nov-08 4:11 
AnswerRe: ContextMenuStrip show problem Pin
Mircea Puiu3-Nov-08 4:38
Mircea Puiu3-Nov-08 4:38 
GeneralRe: ContextMenuStrip show problem Pin
josip cagalj3-Nov-08 20:07
josip cagalj3-Nov-08 20:07 
QuestionMerge dll files into one dll file Pin
Sami Sammour3-Nov-08 3:37
Sami Sammour3-Nov-08 3:37 
AnswerRe: Merge dll files into one dll file Pin
Dave Kreskowiak3-Nov-08 3:54
mveDave Kreskowiak3-Nov-08 3:54 
RantRe: Merge dll files into one dll file Pin
Paul Conrad3-Nov-08 4:57
professionalPaul Conrad3-Nov-08 4:57 
AnswerRe: Merge dll files into one dll file Pin
Giorgi Dalakishvili3-Nov-08 8:05
mentorGiorgi Dalakishvili3-Nov-08 8:05 
QuestionMaking Forms Work on Different Screen Resolutions Programatically... Pin
swjam3-Nov-08 1:52
swjam3-Nov-08 1:52 
AnswerRe: Making Forms Work on Different Screen Resolutions Programatically... Pin
EliottA3-Nov-08 1:54
EliottA3-Nov-08 1:54 
AnswerRe: Making Forms Work on Different Screen Resolutions Programatically... Pin
#realJSOP3-Nov-08 1:56
professional#realJSOP3-Nov-08 1:56 
GeneralRe: Making Forms Work on Different Screen Resolutions Programatically... Pin
swjam3-Nov-08 2:10
swjam3-Nov-08 2:10 
GeneralRe: Making Forms Work on Different Screen Resolutions Programatically... Pin
Dan Neely3-Nov-08 2:22
Dan Neely3-Nov-08 2:22 
GeneralRe: Making Forms Work on Different Screen Resolutions Programatically... Pin
#realJSOP3-Nov-08 2:33
professional#realJSOP3-Nov-08 2:33 
AnswerRe: Making Forms Work on Different Screen Resolutions Programatically... Pin
Giorgi Dalakishvili3-Nov-08 2:36
mentorGiorgi Dalakishvili3-Nov-08 2:36 
AnswerRe: Making Forms Work on Different Screen Resolutions Programatically... Pin
Alan Balkany3-Nov-08 4:03
Alan Balkany3-Nov-08 4:03 
QuestionAbout Sip implementation Pin
waqas shah3-Nov-08 1:13
waqas shah3-Nov-08 1:13 
AnswerRe: About Sip implementation Pin
Eddy Vluggen3-Nov-08 1:46
professionalEddy Vluggen3-Nov-08 1:46 

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.