_ Partial Class Form12 Inherits System.Windows.Forms.Form 'Form remplace la méthode Dispose pour nettoyer la liste des composants. _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Requise par le Concepteur Windows Form Private components As System.ComponentModel.IContainer 'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form 'Elle peut être modifiée à l'aide du Concepteur Windows Form. 'Ne la modifiez pas à l'aide de l'éditeur de code. _ Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form12)) Me.Label1 = New System.Windows.Forms.Label() Me.Button1 = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.Timer1 = New System.Windows.Forms.Timer(Me.components) Me.SuspendLayout() ' 'Label1 ' Me.Label1.AutoSize = True Me.Label1.Location = New System.Drawing.Point(10, 14) Me.Label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(139, 16) Me.Label1.TabIndex = 0 Me.Label1.Text = "Arrêt du pc dans: 120s" ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(13, 41) Me.Button1.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(120, 23) Me.Button1.TabIndex = 1 Me.Button1.Text = "Maintenant" Me.Button1.UseVisualStyleBackColor = True ' 'Button2 ' Me.Button2.Location = New System.Drawing.Point(141, 41) Me.Button2.Margin = New System.Windows.Forms.Padding(4, 3, 4, 3) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(120, 23) Me.Button2.TabIndex = 1 Me.Button2.Text = "Annuler" Me.Button2.UseVisualStyleBackColor = True ' 'Timer1 ' Me.Timer1.Interval = 1000 ' 'Form12 ' Me.AccessibleRole = System.Windows.Forms.AccessibleRole.TitleBar Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(267, 72) Me.Controls.Add(Me.Button2) Me.Controls.Add(Me.Button1) Me.Controls.Add(Me.Label1) Me.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) Me.Margin = New System.Windows.Forms.Padding(4) Me.MaximizeBox = False Me.MaximumSize = New System.Drawing.Size(283, 111) Me.MinimumSize = New System.Drawing.Size(283, 111) Me.Name = "Form12" Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen Me.Text = "Arrêt du PC" Me.TopMost = True Me.ResumeLayout(False) Me.PerformLayout() End Sub Friend WithEvents Label1 As Label Friend WithEvents Button1 As Button Friend WithEvents Button2 As Button Friend WithEvents Timer1 As Timer End Class