Click here to Skip to main content
15,894,410 members
Home / Discussions / C#
   

C#

 
GeneralRe: full screen maximize Pin
Blue_Aqua5-Feb-04 17:27
Blue_Aqua5-Feb-04 17:27 
GeneralPointers to Interfaces for COM Pin
Tristan Rhodes5-Feb-04 2:24
Tristan Rhodes5-Feb-04 2:24 
GeneralProblem 2 Pin
Tristan Rhodes5-Feb-04 2:32
Tristan Rhodes5-Feb-04 2:32 
GeneralRe: Problem 2 Pin
Heath Stewart5-Feb-04 5:14
protectorHeath Stewart5-Feb-04 5:14 
GeneralRe: Problem 2 Pin
Tristan Rhodes5-Feb-04 5:33
Tristan Rhodes5-Feb-04 5:33 
GeneralRe: Problem 2 Pin
Heath Stewart5-Feb-04 6:53
protectorHeath Stewart5-Feb-04 6:53 
GeneralRe: Problem 2 Pin
Tristan Rhodes5-Feb-04 7:13
Tristan Rhodes5-Feb-04 7:13 
GeneralInt / UInt in flag issue Pin
Tristan Rhodes5-Feb-04 1:54
Tristan Rhodes5-Feb-04 1:54 
GeneralRe: Int / UInt in flag issue Pin
Colin Angus Mackay5-Feb-04 1:56
Colin Angus Mackay5-Feb-04 1:56 
GeneralRe: Int / UInt in flag issue Pin
Tristan Rhodes5-Feb-04 2:20
Tristan Rhodes5-Feb-04 2:20 
GeneralRe: Int / UInt in flag issue Pin
Heath Stewart5-Feb-04 5:05
protectorHeath Stewart5-Feb-04 5:05 
GeneralProblem with class inheritance Pin
Andres Coder5-Feb-04 1:34
Andres Coder5-Feb-04 1:34 
GeneralRe: Problem with class inheritance Pin
Corinna John5-Feb-04 1:50
Corinna John5-Feb-04 1:50 
GeneralRe: Problem with class inheritance Pin
Colin Angus Mackay5-Feb-04 1:55
Colin Angus Mackay5-Feb-04 1:55 
GeneralCOM interop reference problem Pin
vladll4-Feb-04 23:33
vladll4-Feb-04 23:33 
GeneralRe: COM interop reference problem Pin
Heath Stewart5-Feb-04 4:52
protectorHeath Stewart5-Feb-04 4:52 
GeneralRe: COM interop reference problem Pin
vladll5-Feb-04 5:38
vladll5-Feb-04 5:38 
GeneralRe: COM interop reference problem Pin
Heath Stewart5-Feb-04 6:58
protectorHeath Stewart5-Feb-04 6:58 
GeneralRe: COM interop reference problem Pin
vladll5-Feb-04 7:06
vladll5-Feb-04 7:06 
GeneralRe: COM interop reference problem Pin
Heath Stewart5-Feb-04 8:58
protectorHeath Stewart5-Feb-04 8:58 
GeneralSelecting buttons Pin
Megastoffel4-Feb-04 23:30
Megastoffel4-Feb-04 23:30 
I'm working on a little project for school and I'm having a little problem with selecting a button.
I have some buttons and I have to detect which 2 buttons I just clicked so I can compare the values in it. How do I do that?

I can compare the two values, so that's not the problem, I want to know how to select two unknown buttons.

My code looks a bit like this
<br />
//the text in my buttons is a number!<br />
int comp1;<br />
int comp2;<br />
<br />
Button btncompare1;<br />
Button btncompare2;<br />
<br />
//Here's the problem! this is the only way I can select buttons<br />
//but I have to select them by a click.<br />
btncompare1=button1;<br />
btncompare2=button2;<br />
<br />
comp1=Convert.ToInt32(btncompare1.Text);<br />
comp2=Convert.ToInt32(btncompare2.Text);<br />
<br />
if(comp1>comp2)<br />
...<br />
<br />


I hope you understand my problem!!!
Thanks
GeneralRe: Selecting buttons Pin
Member 2611885-Feb-04 0:11
Member 2611885-Feb-04 0:11 
GeneralRe: Selecting buttons Pin
Megastoffel5-Feb-04 7:38
Megastoffel5-Feb-04 7:38 
GeneralPrintPreviewDialog Pin
Reinier van de Wetering4-Feb-04 22:25
Reinier van de Wetering4-Feb-04 22:25 
Generalconversion to pdf Pin
mohdshiraz4-Feb-04 19:11
mohdshiraz4-Feb-04 19:11 

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.