Click here to Skip to main content
12,065,204 members (44,475 online)
   

C#

 
GeneralRe: Converting from VB.NET Pin
Andy_L_J18-Nov-12 12:12
memberAndy_L_J18-Nov-12 12:12 
Questionfiltering column value in DevExpress grid view Pin
eli1502197917-Nov-12 21:23
membereli1502197917-Nov-12 21:23 
AnswerRe: filtering column value in DevExpress grid view Pin
n.podbielski17-Nov-12 22:29
membern.podbielski17-Nov-12 22:29 
Questionhelp Pin
AMIR ESLAMI17-Nov-12 10:08
memberAMIR ESLAMI17-Nov-12 10:08 
AnswerRe: help Pin
Eddy Vluggen17-Nov-12 10:25
memberEddy Vluggen17-Nov-12 10:25 
AnswerRe: help Pin
Abhinav S18-Nov-12 21:58
mvpAbhinav S18-Nov-12 21:58 
QuestionAccess to created control Pin
KKW_acd17-Nov-12 6:18
memberKKW_acd17-Nov-12 6:18 
AnswerRe: Access to created control Pin
DaveyM6917-Nov-12 8:30
mentorDaveyM6917-Nov-12 8:30 
At the moment it is a method level variable, you need to make it a class level one:
System.Windows.Forms.CheckedListBox AvailableDataList;
 
private void loadDataToolStripMenuItem_Click(object sender, EventArgs e)
{
     TabPage tp = new TabPage();
     tp.Text = "Data";
     AvailableDataList = new system.Windows.Forms.CheckedListBox();
     AvailableDataList.Dock=DockStyle.Fill;
     tp.Controls.Add(AvailableDataList);
 
    for (bb = 0; bb < 8; bb++)
    {
        AvailableDataList.Items.Add("Bob");
        switch(SelectName(bb))
        {
            case false:
                AvailableDataList.SetItemChecked(bb, false);
                break;
            case true:
                AvailableDataList.SetItemChecked(bb, true);
        }
    tabControl1.TabPages.Add(tp);
}
 
 
private void button4_Click(object sender, EventArgs e)
{
    if(AvailableDataList != null)
        label1.text = AvailableDataList.Items.Count;
}
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



QuestionHow do you programatically open a file in c# to append? Pin
Xarzu17-Nov-12 2:05
memberXarzu17-Nov-12 2:05 
AnswerRe: How do you programatically open a file in c# to append? Pin
DaveyM6917-Nov-12 2:35
mentorDaveyM6917-Nov-12 2:35 
AnswerRe: How do you programatically open a file in c# to append? Pin
Eddy Vluggen17-Nov-12 10:32
memberEddy Vluggen17-Nov-12 10:32 
QuestionC# noob: Making Textbox entry a percentage, and Help with loops Pin
maul5916-Nov-12 19:46
membermaul5916-Nov-12 19:46 
AnswerRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
Richard MacCutchan16-Nov-12 21:43
mvpRichard MacCutchan16-Nov-12 21:43 
AnswerRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
OriginalGriff16-Nov-12 22:40
mvpOriginalGriff16-Nov-12 22:40 
GeneralRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
maul5916-Nov-12 23:20
membermaul5916-Nov-12 23:20 
GeneralRe: C# noob: Making Textbox entry a percentage, and Help with loops Pin
OriginalGriff16-Nov-12 23:26
mvpOriginalGriff16-Nov-12 23:26 
QuestionInterface issue when implementing Factory pattern Pin
MichCl16-Nov-12 9:36
memberMichCl16-Nov-12 9:36 
AnswerRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen16-Nov-12 10:01
memberEddy Vluggen16-Nov-12 10:01 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl16-Nov-12 10:18
memberMichCl16-Nov-12 10:18 
GeneralRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen16-Nov-12 14:46
memberEddy Vluggen16-Nov-12 14:46 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl19-Nov-12 3:20
memberMichCl19-Nov-12 3:20 
AnswerRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen19-Nov-12 3:32
memberEddy Vluggen19-Nov-12 3:32 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl19-Nov-12 4:51
memberMichCl19-Nov-12 4:51 
GeneralRe: Interface issue when implementing Factory pattern Pin
Eddy Vluggen19-Nov-12 5:46
memberEddy Vluggen19-Nov-12 5:46 
GeneralRe: Interface issue when implementing Factory pattern Pin
MichCl19-Nov-12 10:38
memberMichCl19-Nov-12 10:38 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160204.4 | Last Updated 7 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid