Click here to Skip to main content
16,006,605 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.Windows.Forms.VisualStyles Error Pin
tongueless15-Jun-06 12:17
tongueless15-Jun-06 12:17 
GeneralRe: System.Windows.Forms.VisualStyles Error Pin
Judah Gabriel Himango15-Jun-06 13:14
sponsorJudah Gabriel Himango15-Jun-06 13:14 
QuestionC#-Secured XML Pin
yoti1111-Jun-06 6:17
yoti1111-Jun-06 6:17 
AnswerRe: C#-Secured XML Pin
Judah Gabriel Himango11-Jun-06 9:49
sponsorJudah Gabriel Himango11-Jun-06 9:49 
QuestionTwo click events bring to one form Pin
Saamir11-Jun-06 6:15
Saamir11-Jun-06 6:15 
AnswerRe: Two click events bring to one form Pin
NaNg1524111-Jun-06 6:36
NaNg1524111-Jun-06 6:36 
GeneralRe: Two click events bring to one form Pin
Saamir11-Jun-06 9:56
Saamir11-Jun-06 9:56 
GeneralRe: Two click events bring to one form Pin
NaNg1524111-Jun-06 20:14
NaNg1524111-Jun-06 20:14 
If you can't read, I gave a specific answer to that.
Your error: you are trying to check which button was clicked on a new form that was just created -> no buttons were clicked!!!
I have another way, make a new public enum with the name Clicker and have to values in it -> Add, Modify.
On the next form, make the constructor get that enum (eg. public Form2(Clicker WhoClicked)).
And in the main form in the Add click event do: new Form2(Clicker.Add).
Also in the modify click event (Clicker.Modify).
And then in the Form2 constructor you can define what to do based on the Clicker that was sent.

I gave you in this whole thread two ways to do it.
If you can't read or know what I wrote then you probably learn some more C#.

NaNg.

GeneralRe: Two click events bring to one form Pin
Saamir12-Jun-06 19:03
Saamir12-Jun-06 19:03 
Questiondll problem Pin
teejayem11-Jun-06 6:11
teejayem11-Jun-06 6:11 
AnswerRe: dll problem Pin
Judah Gabriel Himango11-Jun-06 9:54
sponsorJudah Gabriel Himango11-Jun-06 9:54 
GeneralRe: dll problem Pin
teejayem11-Jun-06 10:39
teejayem11-Jun-06 10:39 
GeneralRe: dll problem Pin
teejayem11-Jun-06 10:53
teejayem11-Jun-06 10:53 
Questionsearch in combobox ------- secound time Pin
Mohammed Elkholy11-Jun-06 4:58
Mohammed Elkholy11-Jun-06 4:58 
AnswerRe: search in combobox ------- secound time Pin
Colin Angus Mackay11-Jun-06 5:48
Colin Angus Mackay11-Jun-06 5:48 
QuestionSystem.Diagnostics.Process.Start Question Pin
QzRz11-Jun-06 4:48
QzRz11-Jun-06 4:48 
AnswerRe: System.Diagnostics.Process.Start Question Pin
teejayem11-Jun-06 5:55
teejayem11-Jun-06 5:55 
GeneralRe: System.Diagnostics.Process.Start Question Pin
QzRz11-Jun-06 19:50
QzRz11-Jun-06 19:50 
QuestionUsing C code in C# project Pin
mikeyhardingboyo11-Jun-06 4:38
mikeyhardingboyo11-Jun-06 4:38 
AnswerRe: Using C code in C# project Pin
User 665811-Jun-06 5:21
User 665811-Jun-06 5:21 
Question"operation must use an updatable query" error message Pin
isiran11-Jun-06 2:11
isiran11-Jun-06 2:11 
AnswerRe: "operation must use an updatable query" error message [modified] Pin
Guffa11-Jun-06 2:44
Guffa11-Jun-06 2:44 
GeneralRe: "operation must use an updatable query" error message [modified] Pin
isiran11-Jun-06 22:44
isiran11-Jun-06 22:44 
GeneralRe: "operation must use an updatable query" error message Pin
isiran11-Jun-06 22:46
isiran11-Jun-06 22:46 
AnswerRe: "operation must use an updatable query" error message Pin
Guffa12-Jun-06 7:16
Guffa12-Jun-06 7:16 

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.