84 lines
2.2 KiB
C#
84 lines
2.2 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
using INT69DC_7C.Forms;
|
|
|
|
namespace INT69DC_7C.Controls
|
|
{
|
|
public partial class ControlMainDisplayAlarm : UserControl
|
|
{
|
|
#region Field
|
|
private FormMainDisplay m_ParentForm;
|
|
#endregion
|
|
|
|
#region Constructor
|
|
public ControlMainDisplayAlarm(FormMainDisplay parent)
|
|
{
|
|
InitializeComponent();
|
|
|
|
this.ParentForm = parent;
|
|
|
|
this.InitializeDesign();
|
|
}
|
|
#endregion
|
|
|
|
#region Property
|
|
public FormMainDisplay ParentForm
|
|
{
|
|
get { return this.m_ParentForm; }
|
|
private set { this.m_ParentForm = value; }
|
|
}
|
|
#endregion
|
|
|
|
#region Method
|
|
|
|
private void InitializeDesign()
|
|
{
|
|
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
{
|
|
}
|
|
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
{
|
|
}
|
|
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
{
|
|
}
|
|
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
{
|
|
}
|
|
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
{
|
|
this.labelTitle.Text = " Alarm";
|
|
this.buttonClose.Text = "Schließen";
|
|
}
|
|
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Japanese)
|
|
{
|
|
this.labelTitle.Text = " アラㅡム";
|
|
this.buttonClose.Text = "クロㅡズ";
|
|
}
|
|
else
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
public void DisplayRefresh()
|
|
{
|
|
}
|
|
#endregion
|
|
|
|
#region Event Handler
|
|
private void buttonClose_Click(object sender, EventArgs e)
|
|
{
|
|
this.Visible = false;
|
|
}
|
|
#endregion
|
|
}
|
|
}
|