Click here to Skip to main content
15,891,758 members
Home / Discussions / C#
   

C#

 
GeneralRe: What library to use for Video and Text in real time. Pin
Manaxter16-Jun-07 12:24
Manaxter16-Jun-07 12:24 
GeneralRe: What library to use for Video and Text in real time. Pin
Ed.Poore16-Jun-07 21:40
Ed.Poore16-Jun-07 21:40 
QuestionRichTextBox problem Pin
cygnusx198615-Jun-07 22:56
cygnusx198615-Jun-07 22:56 
AnswerRe: RichTextBox problem Pin
giddy_guitarist16-Jun-07 7:56
giddy_guitarist16-Jun-07 7:56 
AnswerRe: RichTextBox problem Pin
Hesham Yassin20-Jun-07 0:24
Hesham Yassin20-Jun-07 0:24 
QuestionHow To Merge Columns in DataGridView ..? Pin
Pankaj - Joshi15-Jun-07 22:46
Pankaj - Joshi15-Jun-07 22:46 
AnswerRe: How To Merge Columns in DataGridView ..? [modified] Pin
mashisuke15-Jun-07 23:35
mashisuke15-Jun-07 23:35 
GeneralRe: How To Merge Columns in DataGridView ..? Pin
Pankaj - Joshi15-Jun-07 23:50
Pankaj - Joshi15-Jun-07 23:50 
GeneralRe: How To Merge Columns in DataGridView ..? Pin
Expert Coming16-Jun-07 0:46
Expert Coming16-Jun-07 0:46 
QuestionAssign Value in DropDownList type Combo Box Pin
Pankaj - Joshi15-Jun-07 22:25
Pankaj - Joshi15-Jun-07 22:25 
AnswerRe: Assign Value in DropDownList type Combo Box Pin
Luc Pattyn15-Jun-07 22:50
sitebuilderLuc Pattyn15-Jun-07 22:50 
GeneralRe: Assign Value in DropDownList type Combo Box Pin
Pankaj - Joshi15-Jun-07 23:47
Pankaj - Joshi15-Jun-07 23:47 
QuestionHow we get User active status in Activ directory Pin
ASysSolvers15-Jun-07 22:18
ASysSolvers15-Jun-07 22:18 
QuestionHow to bring whole word to next line Pin
Hum Dum15-Jun-07 22:07
Hum Dum15-Jun-07 22:07 
AnswerRe: How to bring whole word to next line Pin
Vasudevan Deepak Kumar16-Jun-07 1:57
Vasudevan Deepak Kumar16-Jun-07 1:57 
AnswerRe: How to bring whole word to next line Pin
Hesham Yassin20-Jun-07 0:26
Hesham Yassin20-Jun-07 0:26 
QuestionGetting unhandled exception in runtime Pin
beatles169215-Jun-07 21:24
beatles169215-Jun-07 21:24 
AnswerRe: Getting unhandled exception in runtime Pin
Christian Graus15-Jun-07 22:01
protectorChristian Graus15-Jun-07 22:01 
GeneralRe: Getting unhandled exception in runtime Pin
beatles169215-Jun-07 22:22
beatles169215-Jun-07 22:22 
Here it is :
In my login form:
<br />
private void OnOKButtonClicked()<br />
{ <br />
  try<br />
  {<br />
    this.Cursor=Cursors.WaitCursor;<br />
    progressForm.Login(this.txtUsername.Text,this.txtPassword.Text) ;<br />
    this.Cursor=Cursors.Default;<br />
    this.Close();<br />
  }<br />
  catch(LoginFailedException)<br />
  {	<br />
    this.Cursor=Cursors.Default;<br />
    MessageBox.Show("Invalid username and/or password.");<br />
  }<br />
  catch(Exception exp)<br />
  {<br />
    new ExceptionViewForm(exp).ShowDialog();<br />
  }<br />
}

In my progress from:
<br />
internal static void Login(string username,string password)<br />
{<br />
  progressForm frm=new progressForm() ;<br />
  frm.username=username;<br />
  frm.password=password;<br />
  frm.ShowDialog();			<br />
}<br />
<br />
protected override void OnActivated(EventArgs e)<br />
{<br />
  if(! activated)<br />
  {					   <br />
   LoginForm.engine=<br />
   LoginProcess.Instance.Login(this.username,this.password); <br />
  }<br />
}			<br />

GeneralRe: Getting unhandled exception in runtime Pin
Colin Angus Mackay16-Jun-07 0:41
Colin Angus Mackay16-Jun-07 0:41 
GeneralRe: Getting unhandled exception in runtime Pin
beatles169216-Jun-07 0:59
beatles169216-Jun-07 0:59 
QuestionImagebutton click+datalist+c# Pin
razanabanu15-Jun-07 20:53
razanabanu15-Jun-07 20:53 
AnswerRe: Imagebutton click+datalist+c# Pin
Christian Graus15-Jun-07 21:14
protectorChristian Graus15-Jun-07 21:14 
QuestionProblem with quicktime component (System.AccessViolationException) Pin
combo_ci15-Jun-07 20:48
combo_ci15-Jun-07 20:48 
AnswerRe: Problem with quicktime component (System.AccessViolationException) Pin
combo_ci15-Jun-07 23:25
combo_ci15-Jun-07 23:25 

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.