/// <summary> /// Sets up the user interface. /// </summary> private void SetupGUI() { lblobjecttoskin.Text = ElementName; btnstretch.BackgroundImage = Properties.Resources.stretchbutton; btntile.BackgroundImage = Properties.Resources.tilebutton; btncentre.BackgroundImage = Properties.Resources.centrebutton; btnzoom.BackgroundImage = Properties.Resources.zoombutton; switch (this.ImageLayout) { case ImageLayout.Stretch: btnstretch.BackgroundImage = Properties.Resources.stretchbuttonpressed; break; case ImageLayout.Tile: btntile.BackgroundImage = Properties.Resources.tilebuttonpressed; break; case ImageLayout.Center: btncentre.BackgroundImage = Properties.Resources.centrebuttonpressed; break; default: btnzoom.BackgroundImage = Properties.Resources.zoombuttonpressed; break; } if (ShowMouseImages == true) { txtmousedownfile.Show(); txtmouseoverfile.Show(); Label3.Show(); Label4.Show(); picmousedown.Show(); picmouseover.Show(); btnmousedownbrowse.Show(); btnmouseoverbrowse.Show(); this.Height = MOUSE_IMAGES_WINDOW_HEIGHT; } else { txtmousedownfile.Hide(); txtmouseoverfile.Hide(); Label3.Hide(); Label4.Hide(); picmousedown.Hide(); picmouseover.Hide(); btnmousedownbrowse.Hide(); btnmouseoverbrowse.Hide(); this.Height = IDLE_ONLY_WINDOW_HEIGHT; } picidle.BackgroundImage = IdleImage; picidle.BackgroundImageLayout = this.ImageLayout; picmousedown.BackgroundImage = MouseDownImage; picidle.BackgroundImageLayout = this.ImageLayout; picmouseover.BackgroundImage = MouseOverImage; picidle.BackgroundImageLayout = this.ImageLayout; txtidlefile.Text = idle_filename; txtmousedownfile.Text = mousedown_filename; txtmouseoverfile.Text = mouseover_filename; }
private void Button1_Click(object sender, EventArgs e) { if (TextBox1.Text == "www.12padams.com") { Label3.Show(); Label3.Text = "Hidden Content Found: Time Distorter"; TitleScreen.frm95.hiddenpadamsFound = true; } else { Label3.Show(); Label3.Text = "No Content Found"; } }
private void Button1_Click(object sender, EventArgs e) { if (TextBox1.Text == "www.12padams.com") { Label3.Show(); Label3.Text = "Hidden Content Found: Time Distorter"; TitleScreen.frm95.hiddenpadamsFound = true; if (TitleScreen.frm95.ie != null && ((WinClassicIE4)TitleScreen.frm95.ie.programContent.Controls[0]).currentsite.Title == "12PADAMS") { ((WinClassicIE4)TitleScreen.frm95.ie.programContent.Controls[0]).webBrowser1.Refresh(); } } else { Label3.Show(); Label3.Text = "No Content Found"; } }
private void PictureBox1_Click(object sender, EventArgs e) { ProgressBar1.Show(); Label3.Show(); timer1.Start(); }