40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Project
|
|
{
|
|
public partial class MessageWindow
|
|
{
|
|
public class CMessageData
|
|
{
|
|
public string Tag { get; set; }
|
|
public string Message { get; set; }
|
|
public eWindowType WindowType { get; set; }
|
|
public System.Drawing.Size WindowSize { get; set; }
|
|
public Boolean EnableClose { get; set; }
|
|
public System.Drawing.Font FontTitle { get; set; }
|
|
public System.Drawing.Font FontContent { get; set; }
|
|
// public System.Windows.Forms.Form msgForm { get; set; }
|
|
public CMessageData()
|
|
{
|
|
Tag = string.Empty;
|
|
WindowType = eWindowType.information;
|
|
WindowSize = new System.Drawing.Size(900, 500);
|
|
EnableClose = true;
|
|
FontContent = null;
|
|
FontTitle = null;
|
|
// msgForm = null;
|
|
}
|
|
~CMessageData()
|
|
{
|
|
// if (msgForm != null) msgForm.Dispose();
|
|
if (FontTitle != null) FontTitle.Dispose();
|
|
if (FontContent != null) FontContent.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|