파일정리
This commit is contained in:
37
HMI/Project/MessageWindow/CMessageData.cs
Normal file
37
HMI/Project/MessageWindow/CMessageData.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public partial class MessageWindow
|
||||
{
|
||||
public class CMessageData
|
||||
{
|
||||
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()
|
||||
{
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user