using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Server
{
/// <summary>
/// Descrizione di riepilogo per MBox.
/// </summary>
public class MBox : System.Windows.Forms.Form
{
private System.Windows.Forms.Label l;
/// <summary>
/// Variabile di progettazione necessaria.
/// </summary>
private System.ComponentModel.Container components = null;
public MBox(string titolo,string messaggio)
{
//
// Necessario per il supporto di Progettazione Windows Form
//
InitializeComponent();
this.Text=titolo;
l.Text=messaggio;
this.TopMost=true;
}
/// <summary>
/// Pulire le risorse in uso.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Codice generato da Progettazione Windows Form
/// <summary>
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
/// il contenuto del metodo con l'editor di codice.
/// </summary>
private void InitializeComponent()
{
this.
l = new System.
Windows.
Forms.
Label();
this.SuspendLayout();
//
// l
//
this.
l.
Font = new System.Drawing.
Font("Microsoft Sans Serif", 12F,
System.Drawing.
FontStyle.
Regular,
System.Drawing.
GraphicsUnit.
Point,
((System.
Byte)(0
)));
this.
l.
Location = new System.Drawing.
Point(16, 8
);
this.l.Name = "l";
this.
l.
Size = new System.Drawing.
Size(304, 56
);
this.l.TabIndex = 0;
//
// MBox
//
this.
AutoScaleBaseSize = new System.Drawing.
Size(5, 13
);
this.
ClientSize = new System.Drawing.
Size(330, 72
);
this.Controls.Add(this.l);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "MBox";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "MBox";
this.
Load += new System.
EventHandler(this.
MBox_Load);
this.ResumeLayout(false);
}
#endregion
private void button1_Click(object sender, System.EventArgs e)
{
Close();
}
private void MBox_Load(object sender, System.EventArgs e)
{
}
}
}