BOOK-IQ4TD9B9LB\DIT-930
2023-05-15 f5120e92b525474f6b4e50130797946986c28eed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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();
        }
    }
}