rendered paste bodyusing System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace Ocphy
{
class Look
{
public Label lblTitlePage;
public Panel myBox;
public Look(Form myForm)
{
this.createTitleBackgroundPage(myForm);
this.createTitlePage(myForm);
}
public void createTitlePage(Form myForm)
{
this.lblTitlePage = new Label();
this.lblTitlePage.AutoSize = true;
this.lblTitlePage.BackColor = System.Drawing.Color.Transparent;
this.lblTitlePage.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitlePage.ForeColor = System.Drawing.Color.White;
this.lblTitlePage.Location = new System.Drawing.Point(2, 13);
this.lblTitlePage.Name = "lblTitlePage";
this.lblTitlePage.Size = new System.Drawing.Size(252, 26);
this.lblTitlePage.TabIndex = 183;
this.lblTitlePage.Text = "Simulateur d\'hypothèque";
}
public void createTitleBackgroundPage(Form myForm)
{
this.myBox = new Panel();
this.myBox.BackgroundImage = global::Ocphy.Local.boxTitleBackgroundPattern;
this.myBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.myBox.Controls.Add(this.lblTitlePage);
this.myBox.Dock = System.Windows.Forms.DockStyle.Top;
this.myBox.Location = new System.Drawing.Point(0, 0);
this.myBox.Name = "pnlBackgroundTitlePage";
this.myBox.Size = new System.Drawing.Size(938, 53);
this.myBox.TabIndex = 187;
}
}
}