Click here to Skip to main content
15,896,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: Pretty technical bugger. Pin
Mike Dimmick26-Aug-05 13:01
Mike Dimmick26-Aug-05 13:01 
GeneralRe: Pretty technical bugger. Pin
Alomgir Miah26-Aug-05 18:16
Alomgir Miah26-Aug-05 18:16 
Questionform close Pin
mpastchenko26-Aug-05 11:34
mpastchenko26-Aug-05 11:34 
QuestionRe: form close Pin
eggie526-Aug-05 12:13
eggie526-Aug-05 12:13 
AnswerRe: form close Pin
mpastchenko26-Aug-05 14:07
mpastchenko26-Aug-05 14:07 
AnswerRe: form close Pin
mpastchenko26-Aug-05 14:22
mpastchenko26-Aug-05 14:22 
GeneralRe: form close Pin
mpastchenko16-Sep-05 12:27
mpastchenko16-Sep-05 12:27 
Questionc# procedure Pin
Jassim Rahma26-Aug-05 10:39
Jassim Rahma26-Aug-05 10:39 
Hi,

I have a procedure in Form_A which changes the form text and the label caption on the same form and display a message. The procedure is:

public void yahaa()
{
this.Text = "TEST";
lblName.Text = "TEST";
MessageBox.Show("Yahaa!!", "STOP!!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}


I am calling this procedure from Form_B

but I am just getting the message displayed without changing the form text and label caption


first, I want to ask wehther what i'm doing is correct because I want to add some database action in the same proceure.

then, if it is correct.. why the form text and label caption are not changed..




Many Thanks
Jassim Rahma
AnswerRe: c# procedure Pin
Colin Angus Mackay26-Aug-05 11:24
Colin Angus Mackay26-Aug-05 11:24 
GeneralRe: c# procedure Pin
Jassim Rahma26-Aug-05 12:52
Jassim Rahma26-Aug-05 12:52 
GeneralRe: c# procedure Pin
Dave Kreskowiak26-Aug-05 14:20
mveDave Kreskowiak26-Aug-05 14:20 
GeneralRe: c# procedure Pin
Jassim Rahma26-Aug-05 20:48
Jassim Rahma26-Aug-05 20:48 
GeneralRe: c# procedure Pin
Dave Kreskowiak27-Aug-05 2:59
mveDave Kreskowiak27-Aug-05 2:59 
GeneralRe: c# procedure Pin
Jassim Rahma27-Aug-05 3:38
Jassim Rahma27-Aug-05 3:38 
GeneralRe: c# procedure Pin
Dave Kreskowiak27-Aug-05 8:16
mveDave Kreskowiak27-Aug-05 8:16 
GeneralRe: c# procedure Pin
Jassim Rahma27-Aug-05 8:44
Jassim Rahma27-Aug-05 8:44 
GeneralRe: c# procedure Pin
Dave Kreskowiak28-Aug-05 3:18
mveDave Kreskowiak28-Aug-05 3:18 
GeneralRe: c# procedure Pin
Jassim Rahma28-Aug-05 8:30
Jassim Rahma28-Aug-05 8:30 
GeneralRe: c# procedure Pin
Dave Kreskowiak28-Aug-05 9:36
mveDave Kreskowiak28-Aug-05 9:36 
GeneralRe: c# procedure Pin
Jassim Rahma28-Aug-05 9:48
Jassim Rahma28-Aug-05 9:48 
GeneralRe: c# procedure Pin
Dave Kreskowiak29-Aug-05 1:24
mveDave Kreskowiak29-Aug-05 1:24 
QuestionScrolling TreeView without scrollbars shown. Pin
Blazej Stompel26-Aug-05 9:44
Blazej Stompel26-Aug-05 9:44 
AnswerRe: Scrolling TreeView without scrollbars shown. Pin
Dave Kreskowiak26-Aug-05 14:17
mveDave Kreskowiak26-Aug-05 14:17 
QuestionMSDE 2000 over network Pin
Anonymous26-Aug-05 9:27
Anonymous26-Aug-05 9:27 
AnswerI'm not really anonymous Pin
theStorminMormon26-Aug-05 9:30
theStorminMormon26-Aug-05 9:30 

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.