Subversion Repositories Code-Repo

Rev

Rev 45 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 45 Rev 50
Line 7... Line 7...
7
using System.Text;
7
using System.Text;
8
using System.Windows.Forms;
8
using System.Windows.Forms;
9
 
9
 
10
namespace SWAT_Office_App
10
namespace SWAT_Office_App
11
{
11
{
12
    public partial class Menu1_Main : Form
12
    public partial class Menu_Main : Form
13
    {
13
    {
14
        public Menu1_Main()
14
        public Menu_Main()
15
        {
15
        {
16
            InitializeComponent();
16
            InitializeComponent();
17
            Settings_Form.ImportSettings();
17
            Settings_Form.ImportSettings();
18
            this.KeyPress += new KeyPressEventHandler(Menu1_Main_KeyPress);
18
            this.KeyPress += new KeyPressEventHandler(Menu_Main_KeyPress);
19
        }
19
        }
20
 
20
 
21
        void Menu1_Main_KeyPress(object sender, KeyPressEventArgs e)
21
        void Menu_Main_KeyPress(object sender, KeyPressEventArgs e)
22
        {
22
        {
23
            // Monitors for keypresses
23
            // Monitors for keypresses
24
            switch (e.KeyChar)
24
            switch (e.KeyChar)
25
            {
25
            {
26
                case '1':
26
                case '1':