Subversion Repositories Code-Repo

Rev

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

Rev 53 Rev 57
Line 12... Line 12...
12
    public partial class Menu_Main : Form
12
    public partial class Menu_Main : Form
13
    {
13
    {
14
        public Menu_Main()
14
        public Menu_Main()
15
        {
15
        {
16
            DebugText.startNewSession();
16
            DebugText.startNewSession();
17
            InitializeComponent();
-
 
18
            Settings_Form.ImportSettings();
17
            Settings_Form.ImportSettings();
-
 
18
            StatLogging.ImportSettings();
-
 
19
            InitializeComponent();
19
            this.KeyPress += new KeyPressEventHandler(Menu_Main_KeyPress);
20
            this.KeyPress += new KeyPressEventHandler(Menu_Main_KeyPress);
-
 
21
            this.FormClosing += new FormClosingEventHandler(Menu_Main_FormClosing);
20
        }
22
        }
21
 
23
 
-
 
24
        void Menu_Main_FormClosing(object sender, FormClosingEventArgs e)
-
 
25
        {
-
 
26
            StatLogging.ExportSettings();
-
 
27
        }
22
        void Menu_Main_KeyPress(object sender, KeyPressEventArgs e)
28
        void Menu_Main_KeyPress(object sender, KeyPressEventArgs e)
23
        {
29
        {
24
            // Monitors for keypresses
30
            // Monitors for keypresses
25
            switch (e.KeyChar)
31
            switch (e.KeyChar)
26
            {
32
            {