Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
GeneralAVI Pin
17-Apr-02 5:29
suss17-Apr-02 5:29 
GeneralRe: AVI Pin
James T. Johnson17-Apr-02 16:38
James T. Johnson17-Apr-02 16:38 
GeneralRe: AVI Pin
Mike Nordell17-Apr-02 17:35
Mike Nordell17-Apr-02 17:35 
GeneralXor() Pin
Mazdak17-Apr-02 5:13
Mazdak17-Apr-02 5:13 
GeneralRe: Xor() Pin
James T. Johnson17-Apr-02 5:54
James T. Johnson17-Apr-02 5:54 
GeneralRe: Xor() Pin
Mazdak17-Apr-02 7:04
Mazdak17-Apr-02 7:04 
GeneralI don't have topic for this Pin
Mazdak17-Apr-02 3:44
Mazdak17-Apr-02 3:44 
GeneralRe: I don't have topic for this Pin
Rüpel18-Apr-02 2:15
Rüpel18-Apr-02 2:15 
maybe something like

class Form1 : System.Windows.Forms.Form
{

  bool shown = false;

  ...

  private void Form1_Activated(object sender, System.EventArgs e)
  {
    if (!shown)
    {
      shown = true;
      MessageBox.Show("I'm here.");
    }
  }
}


does the job for you.

the "Activated" event with a bool to show it only once (after construction)

not really nice, because everytime the form is activated this comparison takes place, but hey: in times of gigahertz and garbage-collectors - who cares about one function call and one comparison Wink | ;)

:wq
GeneralRe: I don't have topic for this Pin
Mazdak18-Apr-02 5:23
Mazdak18-Apr-02 5:23 
GeneralRe: I don't have topic for this Pin
James T. Johnson18-Apr-02 5:53
James T. Johnson18-Apr-02 5:53 
GeneralWinForm Datagrid Control Pin
17-Apr-02 3:27
suss17-Apr-02 3:27 
GeneralRe: WinForm Datagrid Control Pin
James T. Johnson17-Apr-02 15:12
James T. Johnson17-Apr-02 15:12 
Generalmemstream to listview icon Pin
SimonS16-Apr-02 23:00
SimonS16-Apr-02 23:00 
GeneralRe: memstream to listview icon Pin
James T. Johnson17-Apr-02 2:06
James T. Johnson17-Apr-02 2:06 
QuestionCButton::GetState in .NET? Pin
Nish Nishant16-Apr-02 19:48
sitebuilderNish Nishant16-Apr-02 19:48 
AnswerRe: CButton::GetState in .NET? Pin
Nick Parker17-Apr-02 11:41
protectorNick Parker17-Apr-02 11:41 
GeneralRe: CButton::GetState in .NET? Pin
James T. Johnson17-Apr-02 11:53
James T. Johnson17-Apr-02 11:53 
GeneralRe: CButton::GetState in .NET? Pin
Nick Parker17-Apr-02 12:11
protectorNick Parker17-Apr-02 12:11 
GeneralRe: CButton::GetState in .NET? Pin
James T. Johnson17-Apr-02 12:21
James T. Johnson17-Apr-02 12:21 
GeneralRe: CButton::GetState in .NET? Pin
Nick Parker17-Apr-02 12:28
protectorNick Parker17-Apr-02 12:28 
GeneralNew VS.net Pin
16-Apr-02 11:27
suss16-Apr-02 11:27 
GeneralRe: New VS.net Pin
James T. Johnson16-Apr-02 11:54
James T. Johnson16-Apr-02 11:54 
GeneralRe: New VS.net Pin
franck_alain16-Apr-02 12:18
franck_alain16-Apr-02 12:18 
GeneralRe: New VS.net Pin
James T. Johnson16-Apr-02 12:35
James T. Johnson16-Apr-02 12:35 
GeneralRe: New VS.net Pin
James T. Johnson16-Apr-02 11:56
James T. Johnson16-Apr-02 11: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.