public override void Initialized()
        {
            FRAMMapper.Register(this);

            cbMode.Items.Clear();

            foreach (var name in ModelPanel.Elements.OfType <FMPPMOutDesignPanel>().Select(mode => mode.ModeName))
            {
                cbMode.Items.Add(name);
            }

            if (_ModeIdx >= 0 && _ModeIdx < cbMode.Items.Count)
            {
                cbMode.SelectedIndex = _ModeIdx;
            }
        }
Пример #2
0
 public void Initialize()
 {
     FRAMMapper.Register(this);
 }
 public override void Initialized()
 {
     FRAMMapper.Register(this);
 }