Files
DT_BR_GUI/LFP_Manager/Forms/fmxCommConfig.cs
2025-12-17 12:40:51 +09:00

38 lines
846 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
namespace LFP_Manager.Forms
{
public delegate void UpdateEvent(object aConfig);
public partial class fmxCommConfig : DevExpress.XtraEditors.XtraForm
{
public event UpdateEvent OnUpdate = null;
public fmxCommConfig()
{
InitializeComponent();
ucCommConfig1.OnClose += FormClose;
}
private void FormClose(object Config, bool saved)
{
if (OnUpdate != null)
{
if (saved == true)
{
OnUpdate(Config);
}
}
Close();
}
}
}