- VAL.src.zip
- VAL
- Database
- packages
- EntityFramework.4.2.0.0
- lib
- net40
- EntityFramework.dll
- log4net.1.2.10
- lib
- 1.0
- log4net.dll
- 1.1
- log4net.dll
- 2.0
- log4net.dll
- log4net.1.2.11
- lib
- net10-full
- log4net.dll
- net11-full
- log4net.dll
- net20-cf
- log4net.dll
- net20-full
- log4net.dll
- net35-client
- log4net.dll
- net35-full
- log4net.dll
- net40-client
- log4net.dll
- net40-full
- log4net.dll
- Moq.4.0.10827
- lib
- NET35
- Moq.dll
- NET40
- Moq.dll
- Silverlight4
- Castle.Core.dll
- Moq.Silverlight.dll
- License.txt
- Moq.chm
- repositories.config
- structuremap.2.6.3
- lib
- StructureMap.dll
- READ-ME-First!.txt
- VAL.BusinessService
- VAL.ClientService
- VAL.Common
- VAL.Contracts
- VAL.Controls
- VAL.Data
- VAL.GUI
- VAL.Model
- VAL.Service
- VAL.sln
- VAL.Tests
- VAL.User.Documentation
- VAL.zip
- VisualApplicationLauncher
- Database
- Local.testsettings
- NRepo
- ProjectReferences
- EFCachingProvider.dll
- EFCachingProvider.Web.dll
- EFProviderWrapperToolkit.dll
- EFTracingProvider.dll
- log4net.dll
- StructureMap.dll
- READ-ME-First!.txt
- TraceAndTestImpact.testsettings
- VAL.BusinessService
- VAL.Common
- VAL.Contracts
- VAL.Controls
- VAL.Data
- VAL.GUI
- VAL.Model
- VAL.Service
- VAL.sln
- VAL.Tests
- VAL.User.Documentation
- VAL.vsmdi
|
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Windows.Forms.Design;
namespace VAL.Wizard
{
/// <summary>
/// Summary description for UserControl1.
/// </summary>
[Designer(typeof(InfoContainerDesigner))]
public class InfoContainer: System.Windows.Forms.UserControl
{
private System.Windows.Forms.PictureBox picImage;
private System.Windows.Forms.Label lblTitle;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
/// <summary>
///
/// </summary>
public InfoContainer()
{
// This call is required by the Windows.Forms Form Designer.
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(InfoContainer));
this.picImage = new System.Windows.Forms.PictureBox();
this.lblTitle = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// picImage
//
this.picImage.Dock = System.Windows.Forms.DockStyle.Left;
this.picImage.Image = ((System.Drawing.Image)(resources.GetObject("picImage.Image")));
this.picImage.Location = new System.Drawing.Point(0, 0);
this.picImage.Name = "picImage";
this.picImage.Size = new System.Drawing.Size(164, 388);
this.picImage.TabIndex = 0;
this.picImage.TabStop = false;
//
// lblTitle
//
this.lblTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblTitle.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblTitle.Location = new System.Drawing.Point(172, 4);
this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(304, 48);
this.lblTitle.TabIndex = 7;
this.lblTitle.Text = "Welcome to the / Completing the <Title> Wizard";
//
// InfoContainer
//
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.lblTitle);
this.Controls.Add(this.picImage);
this.Name = "InfoContainer";
this.Size = new System.Drawing.Size(480, 388);
this.Load += new System.EventHandler(this.InfoContainer_Load);
this.ResumeLayout(false);
}
#endregion
private void InfoContainer_Load(object sender, System.EventArgs e)
{
//Handle really irating resize that doesn't take account of Anchor
lblTitle.Left = picImage.Width+8;
lblTitle.Width = (this.Width-4)-lblTitle.Left;
}
/// <summary>
/// Get/Set the title for the info page
/// </summary>
[Category("Appearance")]
public string PageTitle
{
get
{
return lblTitle.Text;
}
set
{
lblTitle.Text = value;
}
}
/// <summary>
/// Gets/Sets the Icon
/// </summary>
[Category("Appearance")]
public Image Image
{
get
{
return picImage.Image;
}
set
{
picImage.Image = value;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.