Develop and Download Open Source Software

Browse Subversion Repository

Contents of /Controller.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Sun Jan 16 06:24:15 2011 UTC (13 years, 3 months ago) by aqua877
File size: 856 byte(s)
First commit.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Windows.Forms;
6
7 namespace LSharp
8 {
9 public class Settings
10 {
11 public void Load()
12 {
13 }
14
15 public void Save()
16 {
17 }
18 }
19
20 public class Controller
21 {
22 public Settings Setting;
23
24 public MainWindow MainForm
25 {
26 get;
27 private set;
28 }
29
30 public SettingsWindow SettingsForm
31 {
32 get;
33 private set;
34 }
35
36 public Controller(MainWindow mainWindow, SettingsWindow settingsWindow)
37 {
38 this.MainForm = mainWindow;
39 this.SettingsForm = settingsWindow;
40
41 this.MainForm.ShowSettingsWindow += this.ShowSettingsWindow;
42 }
43
44 public void ShowSettingsWindow()
45 {
46 this.SettingsForm.ShowDialog();
47
48 //TODO : 設定の保存
49 }
50
51 public void OpenLiveFromURLMenu(string url)
52 {
53
54 }
55 }
56 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26