Subversion Repositories Code-Repo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 Kevin 1
using System;
2
using System.Collections.Generic;
3
using System.ComponentModel;
4
using System.Data;
5
using System.Drawing;
6
using System.Linq;
7
using System.Text;
8
using System.Windows.Forms;
9
 
10
namespace SWAT_Office_App
11
{
12
    public partial class Menu1_Main : Form
13
    {
14
        public Menu1_Main()
15
        {
16
            InitializeComponent();
17
            Settings_Form.ImportSettings();
18
        }
19
        private void btn_Main_UserMgmt_Click(object sender, EventArgs e)
20
        {
21
            ManageUserAccounts_Form user_Mgmt = new ManageUserAccounts_Form();
22
            user_Mgmt.ShowDialog();
23
        }
24
        private void btn_Main_Settings_Click(object sender, EventArgs e)
25
        {
26
            SettingsVerify_Form newForm = new SettingsVerify_Form();
27
            newForm.ShowDialog();
28
        }
29
        private void btn_Reimage_USB_Drives_Click(object sender, EventArgs e)
30
        {
31
            if (Reimage_USB_Drives.threadsRunning == false)
32
                Reimage_USB_Drives.reimageUSBDrives();
33
            else
34
            {
35
                MessageBox.Show("Another file copy operation is currently in progress.\n" +
36
                                "Please wait for transfer to finish before starting another");
37
            }
38
        }
39
 
40
        private void Menu1_Main_Load(object sender, EventArgs e)
41
        {
42
 
43
        }
44
 
45
    }
46
}