Exemplo n.º 1
0
        public Form_BridgeSettings()
        {
            InitializeComponent();
            CommandResult bresult = BridgeStore.SelectedBridge.GetBridgeSettings();

            if (!bresult.Success)
            {
                return;
            }
            _bsv        = new BridgeSettingsView((BridgeSettings)bresult.resultobject);
            DataContext = _bsv;
        }
 public Form_BridgeSettings(Bridge bridge)
 {
     InitializeComponent();
     _bsv        = new BridgeSettingsView(bridge);
     DataContext = _bsv;
 }