Click here to Skip to main content
15,893,190 members
Home / Discussions / C#
   

C#

 
GeneralRe: StackOverflowException Pin
Anonymous8-Jul-03 18:35
Anonymous8-Jul-03 18:35 
GeneralRe: StackOverflowException Pin
Andy Smith8-Jul-03 18:58
Andy Smith8-Jul-03 18:58 
GeneralI've looked everywhere Pin
mdolby8-Jul-03 8:54
mdolby8-Jul-03 8:54 
GeneralRe: I've looked everywhere Pin
Nathan Blomquist8-Jul-03 9:19
Nathan Blomquist8-Jul-03 9:19 
GeneralPossible creation of comp.std.cli and comp.std.csharp Pin
Eric Gunnerson (msft)8-Jul-03 8:23
Eric Gunnerson (msft)8-Jul-03 8:23 
GeneralClickety Police Pin
leppie8-Jul-03 9:07
leppie8-Jul-03 9:07 
GeneralMaking one user control aware of another Pin
frogb0x8-Jul-03 7:57
frogb0x8-Jul-03 7:57 
GeneralRe: Making one user control aware of another Pin
leppie8-Jul-03 8:34
leppie8-Jul-03 8:34 
public class Form1 : System.Windows.Forms.Form
{
  private System.Windows.Forms.Button button1;
  private System.Windows.Forms.Button button2;

  private System.ComponentModel.Container components = null;

	public Form1()
	{
		InitializeComponent();
	}

	protected override void Dispose( bool disposing )
	{
		if( disposing )
		{
			if (components != null) 
			{
				components.Dispose();
			}
		}
		base.Dispose( disposing );
	}

	private void InitializeComponent()
	{
    this.button1 = new System.Windows.Forms.Button();
    this.button2 = new System.Windows.Forms.Button();
    this.SuspendLayout();

    this.button1.Location = new System.Drawing.Point(64, 112);
    this.button1.Name = "button1";
    this.button1.TabIndex = 0;
    this.button1.Text = "button1";
    this.button1.Click += new System.EventHandler(this.button1_Click);

    this.button2.Location = new System.Drawing.Point(160, 112);
    this.button2.Name = "button2";
    this.button2.TabIndex = 1;
    this.button2.Text = "button2";
    this.button2.Visible = false;
    this.button2.Click += new System.EventHandler(this.button2_Click);

    this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    this.ClientSize = new System.Drawing.Size(292, 273);
    this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                this.button2,
                                                                this.button1});
    this.Name = "Form1";
    this.Text = "Form1";
    this.ResumeLayout(false);

  }
	
	private void button1_Click(object sender, System.EventArgs e)
  {
    button2.Visible = true;
    button1.Visible = false;
  }

  private void button2_Click(object sender, System.EventArgs e)
  {
    button2.Visible = false;
    button1.Visible = true;
  }
}


leppie::AllocCPArticle(Generic DFA State Machine for .NET);
GeneralRe: Making one user control aware of another Pin
Not Active8-Jul-03 9:54
mentorNot Active8-Jul-03 9:54 
GeneralHere's my code so far Pin
frogb0x8-Jul-03 10:32
frogb0x8-Jul-03 10:32 
GeneralRe: Here's my code so far Pin
leppie8-Jul-03 13:34
leppie8-Jul-03 13:34 
GeneralRe: Here's my code so far Pin
frogb0x8-Jul-03 13:35
frogb0x8-Jul-03 13:35 
GeneralRe: Here's my code so far Pin
leppie8-Jul-03 14:05
leppie8-Jul-03 14:05 
GeneralSetting form location Pin
mcgahanfl8-Jul-03 7:32
mcgahanfl8-Jul-03 7:32 
GeneralRe: Setting form location Pin
dynamic8-Jul-03 9:40
dynamic8-Jul-03 9:40 
GeneralRe: Setting form location Pin
mcgahanfl8-Jul-03 10:08
mcgahanfl8-Jul-03 10:08 
GeneralCreate Image With Text Pin
Werdna8-Jul-03 6:54
Werdna8-Jul-03 6:54 
GeneralRichTextBox: How to get the count of tabs in a TextLine Pin
STW8-Jul-03 6:17
STW8-Jul-03 6:17 
GeneralRe: RichTextBox: How to get the count of tabs in a TextLine Pin
dynamic8-Jul-03 9:25
dynamic8-Jul-03 9:25 
GeneralRe: RichTextBox: How to get the count of tabs in a TextLine Pin
STW8-Jul-03 10:43
STW8-Jul-03 10:43 
QuestionChanging listview icons? Pin
Manster8-Jul-03 4:57
Manster8-Jul-03 4:57 
GeneralBounds Checker in C# / .NET Pin
NKH8-Jul-03 4:23
NKH8-Jul-03 4:23 
GeneralRe: Bounds Checker in C# / .NET Pin
leppie8-Jul-03 7:41
leppie8-Jul-03 7:41 
GeneralRe: Bounds Checker in C# / .NET Pin
Kant8-Jul-03 16:40
Kant8-Jul-03 16:40 
GeneralRe: Bounds Checker in C# / .NET Pin
Daniel Turini9-Jul-03 4:14
Daniel Turini9-Jul-03 4:14 

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.