Пример #1
0
        /// <summary>
        /// Advanced MGV50 configuration
        /// </summary>
        private void CmdConfigMgv50AdvancedClick(object sender, EventArgs e)
        {
            var currentAddress = SelectedAddress;

            if (currentAddress != null)
            {
                var dialog = new LocoIOAdvancedConfigurationForm();
                dialog.Initialize(appState.LocoBuffer, currentAddress);
                dialog.Show(this);
            }
        }
Пример #2
0
 /// <summary>
 /// Advanced MGV50 configuration
 /// </summary>
 private void CmdConfigMgv50AdvancedClick(object sender, EventArgs e)
 {
     var currentAddress = SelectedAddress;
     if (currentAddress != null)
     {
         var dialog = new LocoIOAdvancedConfigurationForm();
         dialog.Initialize(appState.LocoBuffer, currentAddress);
         dialog.Show(this);
     }
 }