Click here to Skip to main content
       

C#

 
GeneralRe: Sending bytes via internet? (info) Pinmemberclonze18-Nov-12 3:54 
GeneralRe: Sending bytes via internet? (info) PinmemberEddy Vluggen18-Nov-12 4:42 
QuestionConverting from VB.NET [modified] PinmemberAndy_L_J17-Nov-12 21:39 
AnswerRe: Converting from VB.NET [modified] PinmentorDaveyM6917-Nov-12 22:23 
GeneralRe: Converting from VB.NET PinmemberAndy_L_J17-Nov-12 22:54 
GeneralRe: Converting from VB.NET PinmentorDaveyM6918-Nov-12 7:10 
GeneralRe: Converting from VB.NET PinmemberAndy_L_J18-Nov-12 11:12 
Questionfiltering column value in DevExpress grid view Pinmembereli1502197917-Nov-12 20:23 
AnswerRe: filtering column value in DevExpress grid view Pinmembern.podbielski17-Nov-12 21:29 
Questionhelp PinmemberAMIR ESLAMI17-Nov-12 9:08 
AnswerRe: help PinmemberEddy Vluggen17-Nov-12 9:25 
AnswerRe: help PinmvpAbhinav S18-Nov-12 20:58 
QuestionAccess to created control PinmemberKKW_acd17-Nov-12 5:18 
AnswerRe: Access to created control PinmentorDaveyM6917-Nov-12 7: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? PinmemberXarzu17-Nov-12 1:05 
AnswerRe: How do you programatically open a file in c# to append? PinmentorDaveyM6917-Nov-12 1:35 
AnswerRe: How do you programatically open a file in c# to append? PinmemberEddy Vluggen17-Nov-12 9:32 
QuestionC# noob: Making Textbox entry a percentage, and Help with loops Pinmembermaul5916-Nov-12 18:46 
AnswerRe: C# noob: Making Textbox entry a percentage, and Help with loops PinmvpRichard MacCutchan16-Nov-12 20:43 
AnswerRe: C# noob: Making Textbox entry a percentage, and Help with loops PinmvpOriginalGriff16-Nov-12 21:40 
GeneralRe: C# noob: Making Textbox entry a percentage, and Help with loops Pinmembermaul5916-Nov-12 22:20 
GeneralRe: C# noob: Making Textbox entry a percentage, and Help with loops PinmvpOriginalGriff16-Nov-12 22:26 
QuestionInterface issue when implementing Factory pattern PinmemberMichCl16-Nov-12 8:36 
AnswerRe: Interface issue when implementing Factory pattern PinmemberEddy Vluggen16-Nov-12 9:01 
GeneralRe: Interface issue when implementing Factory pattern PinmemberMichCl16-Nov-12 9:18 
GeneralRe: Interface issue when implementing Factory pattern PinmemberEddy Vluggen16-Nov-12 13:46 
GeneralRe: Interface issue when implementing Factory pattern PinmemberMichCl19-Nov-12 2:20 
AnswerRe: Interface issue when implementing Factory pattern PinmemberEddy Vluggen19-Nov-12 2:32 
GeneralRe: Interface issue when implementing Factory pattern PinmemberMichCl19-Nov-12 3:51 
GeneralRe: Interface issue when implementing Factory pattern PinmemberEddy Vluggen19-Nov-12 4:46 
GeneralRe: Interface issue when implementing Factory pattern PinmemberMichCl19-Nov-12 9:38 
GeneralRe: Interface issue when implementing Factory pattern PinmemberEddy Vluggen19-Nov-12 9:53 
QuestionIssue in accessing 32 bit C++ DLL in Windows Server 2008 PinmemberKumaran Poongavanam16-Nov-12 8:32 
AnswerRe: Issue in accessing 32 bit C++ DLL in Windows Server 2008 PinmemberEddy Vluggen16-Nov-12 9:04 
GeneralRe: Issue in accessing 32 bit C++ DLL in Windows Server 2008 PinmemberKumaran Poongavanam16-Nov-12 10:09 
AnswerRe: Issue in accessing 32 bit C++ DLL in Windows Server 2008 PinmvpDave Kreskowiak16-Nov-12 11:55 
AnswerRe: Issue in accessing 32 bit C++ DLL in Windows Server 2008 Pinmemberjschell17-Nov-12 6:11 
QuestionOutlook 2010 / C# - Hide or Remove item from ContextMenuContactItem + add custom item into it Pinmembercsharpcomeintome16-Nov-12 5:20 
QuestionException Handling PinmemberPhanindra26116-Nov-12 3:21 
AnswerRe: Exception Handling PinmemberBobJanova16-Nov-12 3:41 
GeneralRe: Exception Handling PinmemberPhanindra26116-Nov-12 8:03 
AnswerRe: Exception Handling PinmemberClifford Nelson16-Nov-12 9:49 
GeneralRe: Exception Handling PinmvpDave Kreskowiak16-Nov-12 11:49 
AnswerRe: Exception Handling PinmemberOrjan Westin16-Nov-12 4:37 
AnswerRe: Exception Handling PinmemberSledgeHammer0116-Nov-12 9:55 
JokeRe: Exception Handling PinmemberMycroft Holmes16-Nov-12 15:42 
AnswerRe: Exception Handling Pinmemberjschell17-Nov-12 6:20 
QuestionManual Coding vs Code Generation PinmemberPhanindra26116-Nov-12 0:22 
AnswerRe: Manual Coding vs Code Generation PinmentorDaveyM6916-Nov-12 0:46 
GeneralRe: Manual Coding vs Code Generation Pinmembern.podbielski16-Nov-12 1:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web03 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid