Click here to Skip to main content
15,900,110 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionOpen cash drawer using c#.net 2.0 Pin
eccw21-Jun-07 19:50
eccw21-Jun-07 19:50 
AnswerRe: Open cash drawer using c#.net 2.0 Pin
originSH21-Jun-07 23:20
originSH21-Jun-07 23:20 
GeneralRe: Open cash drawer using c#.net 2.0 Pin
eccw22-Jun-07 0:03
eccw22-Jun-07 0:03 
GeneralRe: Open cash drawer using c#.net 2.0 Pin
originSH22-Jun-07 4:52
originSH22-Jun-07 4:52 
GeneralRe: Open cash drawer using c#.net 2.0 Pin
eccw22-Jun-07 16:43
eccw22-Jun-07 16:43 
QuestionWhich button did the mouse click Pin
earlgraham21-Jun-07 11:52
earlgraham21-Jun-07 11:52 
AnswerRe: Which button did the mouse click Pin
Scott Dorman21-Jun-07 18:03
professionalScott Dorman21-Jun-07 18:03 
GeneralRe: Which button did the mouse click Pin
earlgraham22-Jun-07 10:05
earlgraham22-Jun-07 10:05 
Thanks it works great. Here is my final code. This greatly reduces the variables that have to be shared in the class.

private: System::Void btnTmOut_Click(System::Object^  sender, System::EventArgs^  e) <br />
{<br />
...<br />
Button          ^btnLocalOnly = (Button^)sender;<br />
...<br />
  if(btnLocalOnly->Name == this->btnTmOut1->Name)<br />
    x = IO_1;<br />
  else if(btnLocalOnly->Name == this->btnTmOut2->Name)<br />
    x = IO_2;<br />
  else if(btnLocalOnly->Name == this->btnTmOut3->Name)<br />
    x = IO_3;<br />
  else if(btnLocalOnly->Name == this->btnTmOut4->Name)<br />
    x = IO_4;<br />
  else if(btnLocalOnly->Name == this->btnTmOut5->Name)<br />
    x = IO_5;<br />
  else if(btnLocalOnly->Name == this->btnTmOut6->Name)<br />
    x = IO_6;<br />
  else if(btnLocalOnly->Name == this->btnTmOut7->Name)<br />
    x = IO_7;<br />
  else if(btnLocalOnly->Name == this->btnTmOut8->Name)<br />
    x = IO_8;<br />
  else<br />
  {<br />
   //Error<br />
   }<br />
...<br />
}


Programmer
Glenn Earl Graham
Austin, TX

QuestionPopulate Date time picker Pin
ozzyrocsdbn21-Jun-07 4:16
ozzyrocsdbn21-Jun-07 4:16 
Questionhow do i search a value using combo box in vb.net Pin
sathyan_829420-Jun-07 22:13
sathyan_829420-Jun-07 22:13 
QuestionUser-ordered list (C#) Pin
ruanr20-Jun-07 22:06
ruanr20-Jun-07 22:06 
AnswerRe: User-ordered list (C#) Pin
originSH21-Jun-07 0:09
originSH21-Jun-07 0:09 
QuestionGlobal Variable Pin
ozzyrocsdbn20-Jun-07 21:34
ozzyrocsdbn20-Jun-07 21:34 
AnswerRe: Global Variable Pin
Giorgi Dalakishvili20-Jun-07 22:08
mentorGiorgi Dalakishvili20-Jun-07 22:08 
GeneralRe: Global Variable Pin
ozzyrocsdbn20-Jun-07 22:39
ozzyrocsdbn20-Jun-07 22:39 
GeneralRe: Global Variable Pin
Giorgi Dalakishvili20-Jun-07 22:41
mentorGiorgi Dalakishvili20-Jun-07 22:41 
AnswerRe: Global Variable Pin
Brady Kelly20-Jun-07 22:12
Brady Kelly20-Jun-07 22:12 
GeneralRe: Global Variable Pin
ozzyrocsdbn20-Jun-07 22:38
ozzyrocsdbn20-Jun-07 22:38 
GeneralRe: Global Variable Pin
Brady Kelly20-Jun-07 22:46
Brady Kelly20-Jun-07 22:46 
AnswerRe: Global Variable Pin
vims25-Jun-07 21:53
vims25-Jun-07 21:53 
QuestionImport / Export of data from an Excel Sheet Pin
Siddhartha S.20-Jun-07 20:45
Siddhartha S.20-Jun-07 20:45 
QuestionButton control Pin
dodoxor20-Jun-07 20:14
dodoxor20-Jun-07 20:14 
AnswerRe: Button control Pin
Manas Bhardwaj22-Jun-07 5:08
professionalManas Bhardwaj22-Jun-07 5:08 
QuestionRe: Button control Pin
dodoxor22-Jun-07 21:19
dodoxor22-Jun-07 21:19 
AnswerRe: Button control Pin
Manas Bhardwaj23-Jun-07 2:07
professionalManas Bhardwaj23-Jun-07 2:07 

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.