using SA_LTT; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SA_LTT_UI.Viewer { public partial class EquipmentInfoViewer : Form { MainFrame _mainFrame; public EquipmentInfoViewer(MainFrame mainFrame) { InitializeComponent(); _mainFrame = mainFrame; lb_Version.Text = $"Version - {Equipment.Version}"; lb_LastUpdateDay.Text = $"Last update day - {Equipment.UpdateDate}"; } private void btn_OK_Click(object sender, EventArgs e) { this.Hide(); } private void EquipmentInfoViewer_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; this.Hide(); } } }