コード例 #1
0
        private void ViewConfig()
        {
            SettingsEditor editor = new SettingsEditor(settings);
            editor.ShowDialog();

            if (editor.IsDirty)
                settings = editor.Settings;

            editor.Dispose();
        }
コード例 #2
0
 internal DataAccess(Settings settings)
 {
     Settings = settings;
 }
コード例 #3
0
 public CommissionControl()
 {
     InitializeComponent();
     settings = new Settings();
     dataAccess = new DataAccess(Settings);
 }
コード例 #4
0
 public SettingsEditor(Settings settings)
 {
     Settings = settings;
     InitializeComponent();
 }