Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: Call .Net 2005 DLL in .Net 2003 Pin
Bhavik Solanki24-Jul-07 12:22
Bhavik Solanki24-Jul-07 12:22 
QuestionC# choosing database connection Pin
lino_i23-Jul-07 8:47
lino_i23-Jul-07 8:47 
AnswerRe: C# choosing database connection Pin
Paul Conrad23-Jul-07 8:51
professionalPaul Conrad23-Jul-07 8:51 
GeneralRe: C# choosing database connection Pin
lino_i23-Jul-07 9:09
lino_i23-Jul-07 9:09 
AnswerRe: C# choosing database connection Pin
Pete O'Hanlon23-Jul-07 9:29
mvePete O'Hanlon23-Jul-07 9:29 
AnswerRe: C# choosing database connection Pin
Vikram A Punathambekar23-Jul-07 17:10
Vikram A Punathambekar23-Jul-07 17:10 
GeneralRe: C# choosing database connection Pin
lino_i24-Jul-07 1:49
lino_i24-Jul-07 1:49 
QuestionSimple forums question Pin
Raymond_P*23-Jul-07 7:43
Raymond_P*23-Jul-07 7:43 
Heres a simple one im making a startup forum which asks for a password when the user clicks on the trey icon , if the password is accpted the value Authenticated is set to true and the trey icon menu is enabled

the problem being the whole multi form thing i cant change the value of Authenticated in the native form , Can anyone tell me how to get this working ?

//Native form
private bool Authenticated;

private void TreyIcon_Click(object sender, EventArgs e)
{
Authenticated = false;
if (Authenticated == true)
{
this.TreyIcon.ContextMenuStrip = this.TreyMenu;
}
else
{
Authentication form = new Authentication();
form.ShowDialog();
}
}


//remote form
private bool Authenticated;

private void Authenticate(object sender, EventArgs e)
{
if (Password1.Text == "pass")
{
MessageBox.Show("Password accpted", "Exception", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
Authenticated = true;
}
else {
Application.Exit();
}
}
AnswerRe: Simple forums question Pin
Paul Conrad23-Jul-07 8:31
professionalPaul Conrad23-Jul-07 8:31 
GeneralRe: Simple forums question Pin
Raymond_P*23-Jul-07 8:51
Raymond_P*23-Jul-07 8:51 
GeneralRe: Simple forums question Pin
Paul Conrad23-Jul-07 17:56
professionalPaul Conrad23-Jul-07 17:56 
QuestionGet FTP Root/Home directory Pin
Muhammad Nauman Yousuf23-Jul-07 7:38
Muhammad Nauman Yousuf23-Jul-07 7:38 
QuestionIIS 7.0 Pin
kibromg23-Jul-07 6:32
kibromg23-Jul-07 6:32 
AnswerRe: IIS 7.0 Pin
Paul Conrad23-Jul-07 7:51
professionalPaul Conrad23-Jul-07 7:51 
AnswerBad user! Pin
leckey23-Jul-07 8:24
leckey23-Jul-07 8:24 
JokeRe: Bad user! Pin
Paul Conrad23-Jul-07 8:29
professionalPaul Conrad23-Jul-07 8:29 
QuestionModule handling..... Pin
Arish rivlin23-Jul-07 5:59
Arish rivlin23-Jul-07 5:59 
AnswerRe: Module handling..... Pin
Luc Pattyn23-Jul-07 6:13
sitebuilderLuc Pattyn23-Jul-07 6:13 
GeneralRe: Module handling..... Pin
Arish rivlin23-Jul-07 6:20
Arish rivlin23-Jul-07 6:20 
GeneralRe: Module handling..... Pin
Luc Pattyn23-Jul-07 6:34
sitebuilderLuc Pattyn23-Jul-07 6:34 
GeneralRe: Module handling..... Pin
kubben23-Jul-07 7:13
kubben23-Jul-07 7:13 
GeneralRe: Module handling..... Pin
Dave Kreskowiak23-Jul-07 7:17
mveDave Kreskowiak23-Jul-07 7:17 
QuestionHow can I create a document from my program with some coded portions? Pin
Cfer8323-Jul-07 5:02
Cfer8323-Jul-07 5:02 
AnswerRe: How can I create a document from my program with some coded portions? Pin
Pete O'Hanlon23-Jul-07 5:10
mvePete O'Hanlon23-Jul-07 5:10 
QuestionAdd CSS to XML with XMLWriter Pin
error140823-Jul-07 4:56
error140823-Jul-07 4:56 

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.