1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
| /*
* Created by SharpDevelop.
* User: vincent
* Date: 17/04/2007
* Time: 14:01
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace AVP04
{
partial class UserControl1
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserControl1));
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.Message = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// button1
//
this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
this.button1.Location = new System.Drawing.Point(17, 24);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(88, 74);
this.button1.TabIndex = 0;
this.button1.UseVisualStyleBackColor = true;
this.button1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Button1MouseDown);
this.button1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Button1MouseUp);
//
// button2
//
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
this.button2.Location = new System.Drawing.Point(111, 25);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(88, 72);
this.button2.TabIndex = 1;
this.button2.UseVisualStyleBackColor = true;
this.button2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Button2MouseDown);
this.button2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Button2MouseUp);
//
// button3
//
this.button3.Location = new System.Drawing.Point(205, 24);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(88, 74);
this.button3.TabIndex = 2;
this.button3.Text = "Focus éloigné";
this.button3.UseVisualStyleBackColor = true;
this.button3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Button3MouseDown);
this.button3.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Button3MouseUp);
//
// button4
//
this.button4.Location = new System.Drawing.Point(299, 24);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(88, 74);
this.button4.TabIndex = 3;
this.button4.Text = "Focus proche";
this.button4.UseVisualStyleBackColor = true;
this.button4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Button4MouseDown);
this.button4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Button4MouseUp);
//
// Message
//
this.Message.Location = new System.Drawing.Point(66, 127);
this.Message.Name = "Message";
this.Message.Size = new System.Drawing.Size(282, 20);
this.Message.TabIndex = 4;
//
// UserControl1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.Message);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Name = "UserControl1";
this.Size = new System.Drawing.Size(428, 179);
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.TextBox Message;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
void Button1MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="vous zoomez";
}
void Button1MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="vous arretez de zoomer";
}
void Button2MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="vous dézoomez";
}
void Button2MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="vous arretez de dézoomer";
}
void Button3MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="Vous approchez le Focus";
}
void Button3MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="Vous arretez d'approcher le Focus";
}
void Button4MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="Vous eloignez le Focus";
}
void Button4MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
Message.Text="Vous arretez d'éloigner le Focus";
}
}
} |
Partager