Click here to Skip to main content
15,906,567 members
Home / Discussions / C#
   

C#

 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:15
protectorChristian Graus24-Oct-05 14:15 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:15
Stathread24-Oct-05 14:15 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:17
protectorChristian Graus24-Oct-05 14:17 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:20
Stathread24-Oct-05 14:20 
QuestionIs it possible to copy or delete or move a locked file? Pin
Sasuko24-Oct-05 12:49
Sasuko24-Oct-05 12:49 
AnswerRe: Is it possible to copy or delete or move a locked file? Pin
enjoycrack24-Oct-05 12:58
enjoycrack24-Oct-05 12:58 
QuestionPassing an active Socket from C# to Managed C++ Pin
DeepToot24-Oct-05 11:58
DeepToot24-Oct-05 11:58 
AnswerRe: Passing an active Socket from C# to Managed C++ Pin
S. Senthil Kumar24-Oct-05 19:21
S. Senthil Kumar24-Oct-05 19:21 
GeneralRe: Passing an active Socket from C# to Managed C++ Pin
DeepToot25-Oct-05 3:53
DeepToot25-Oct-05 3:53 
QuestionDisplay Window's Explorer menu in MY program's context menu Pin
Kasdoffe24-Oct-05 11:47
Kasdoffe24-Oct-05 11:47 
AnswerRe: Display Window's Explorer menu in MY program's context menu Pin
Judah Gabriel Himango24-Oct-05 12:23
sponsorJudah Gabriel Himango24-Oct-05 12:23 
QuestionNetwork communications Pin
Wjousts24-Oct-05 10:58
Wjousts24-Oct-05 10:58 
AnswerRe: Network communications Pin
enjoycrack24-Oct-05 12:29
enjoycrack24-Oct-05 12:29 
GeneralRe: Network communications Pin
Wjousts25-Oct-05 2:06
Wjousts25-Oct-05 2:06 
QuestionDelete Event Pin
Agyeman24-Oct-05 10:20
Agyeman24-Oct-05 10:20 
AnswerRe: Delete Event Pin
Judah Gabriel Himango24-Oct-05 12:19
sponsorJudah Gabriel Himango24-Oct-05 12:19 
GeneralRe: Delete Event Pin
Anonymous24-Oct-05 13:35
Anonymous24-Oct-05 13:35 
QuestionFill form with Rectangle Pin
har04mich24-Oct-05 9:24
har04mich24-Oct-05 9:24 
AnswerRe: Fill form with Rectangle Pin
Wjousts24-Oct-05 10:03
Wjousts24-Oct-05 10:03 
GeneralRe: Fill form with Rectangle Pin
har04mich24-Oct-05 10:10
har04mich24-Oct-05 10:10 
QuestionA net message Pin
Anonymous24-Oct-05 9:19
Anonymous24-Oct-05 9:19 
GeneralMillora en el login Pin
Anonymous24-Oct-05 9:02
Anonymous24-Oct-05 9:02 
The source is:

private void Form1_Load(object sender, System.EventArgs e)
{
password.Text = " ";
password.PasswordChar = "*";
}

private void SubmitPass_Click(object sender, System.EventArgs e)
{
if (id.Text == " USER " && password.Text == " PASSWORD ")
{
//here you have put the action that you want that the application
//do when login is true (for example)

this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
//this action does that the window state application is
//maximized
}
else
//here the action that you want that the application would do
//if the login is false (for example)

MessageBox.Show ("Login incorrect. Try again","Login by Rugi",MessageBoxButtons.OK,MessageBoxIcon.Error);
//this action is because the application shows a critical (message box)


Visca Catalunya ||*||


Salutacions cordials:
Roger Roca
GeneralRe: Millora en el login Pin
André Ziegler24-Oct-05 12:05
André Ziegler24-Oct-05 12:05 
QuestionLogin Pin
Rugi24-Oct-05 8:59
Rugi24-Oct-05 8:59 
AnswerRe: Login Pin
André Ziegler24-Oct-05 12:08
André Ziegler24-Oct-05 12:08 

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.