Click here to Skip to main content
15,915,319 members
Home / Discussions / C#
   

C#

 
Generaldestructor Vs Finalize Pin
devvvy11-Aug-03 1:45
devvvy11-Aug-03 1:45 
GeneralRe: destructor Vs Finalize Pin
Nish Nishant11-Aug-03 1:51
sitebuilderNish Nishant11-Aug-03 1:51 
GeneralRe: destructor Vs Finalize Pin
devvvy11-Aug-03 1:57
devvvy11-Aug-03 1:57 
GeneralRe: destructor Vs Finalize Pin
Nish Nishant11-Aug-03 2:06
sitebuilderNish Nishant11-Aug-03 2:06 
GeneralWhat can you do in destructor with .NET? Pin
devvvy11-Aug-03 2:52
devvvy11-Aug-03 2:52 
GeneralRe: What can you do in destructor with .NET? Pin
James T. Johnson11-Aug-03 10:50
James T. Johnson11-Aug-03 10:50 
GeneralRe: What can you do in destructor with .NET? Pin
Nish Nishant11-Aug-03 15:58
sitebuilderNish Nishant11-Aug-03 15:58 
GeneralUsing a .lib in c# Pin
Big Trev11-Aug-03 1:32
Big Trev11-Aug-03 1:32 
GeneralRe: Using a .lib in c# Pin
Anthony_Yio11-Aug-03 1:56
Anthony_Yio11-Aug-03 1:56 
GeneralConverting Binary to Hex Pin
eggie511-Aug-03 0:26
eggie511-Aug-03 0:26 
GeneralRe: Converting Binary to Hex Pin
Meysam Mahfouzi11-Aug-03 1:16
Meysam Mahfouzi11-Aug-03 1:16 
GeneralRe: Converting Binary to Hex Pin
WillemM11-Aug-03 9:02
WillemM11-Aug-03 9:02 
QuestionWhat did I click in the treeview Pin
Nick Seng10-Aug-03 23:58
Nick Seng10-Aug-03 23:58 
AnswerRe: What did I click in the treeview Pin
OMalleyW11-Aug-03 1:59
OMalleyW11-Aug-03 1:59 
GeneralRe: What did I click in the treeview Pin
Heath Stewart11-Aug-03 2:20
protectorHeath Stewart11-Aug-03 2:20 
GeneralRe: What did I click in the treeview Pin
Nick Seng11-Aug-03 2:28
Nick Seng11-Aug-03 2:28 
GeneralRe: What did I click in the treeview Pin
Nick Seng11-Aug-03 2:27
Nick Seng11-Aug-03 2:27 
GeneralRe: What did I click in the treeview Pin
OMalleyW11-Aug-03 2:44
OMalleyW11-Aug-03 2:44 
GeneralRe: What did I click in the treeview Pin
Nick Seng11-Aug-03 2:46
Nick Seng11-Aug-03 2:46 
Questionweb service???? Pin
don7cry10-Aug-03 23:28
don7cry10-Aug-03 23:28 
AnswerRe: web service???? Pin
Anthony_Yio11-Aug-03 1:59
Anthony_Yio11-Aug-03 1:59 
Generalinsert statement for ms access Pin
zecodela10-Aug-03 23:01
zecodela10-Aug-03 23:01 
GeneralRe: insert statement for ms access Pin
Nish Nishant10-Aug-03 23:12
sitebuilderNish Nishant10-Aug-03 23:12 
GeneralWhich button was pressed... Pin
eggie510-Aug-03 21:29
eggie510-Aug-03 21:29 
bool switchB=true;
private void button1_Click(object sender, System.EventArgs e)
{

    if(switchB==true)
    {
        <code>//Change the sender button's text</code>
        switchB=false;
    }
    else if(switchB==false)
    {
        //nothing yet...
    }
}


I have a set of 7 buttons, numbered from 0-7, right to left, and all their text set to "0".

now, all of the button's onclicks go to the above method...

As you can see, inside the for loop... Now all I need it to do is this...

Change the text of whatever (of the 8) buttons were clicked.

/\ |_ E X E GG
GeneralRe: Which button was pressed... Pin
Meysam Mahfouzi10-Aug-03 22:25
Meysam Mahfouzi10-Aug-03 22:25 

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.