Ejemplo n.º 1
0
 /// <summary>
 ///     Updates only the contents of the Converter editor
 /// </summary>
 public void UpdateConverterComponent()
 {
     if (_ignoreUpdates)
     {
         return;
     }
     ConverterEditor.SetViewingComponent(_selected.Converter);
 }
Ejemplo n.º 2
0
        /// <summary>
        ///     Updates the information about the currently selected block
        /// </summary>
        public void ListBlockContent()
        {
            // Only show things if the selected block is available
            if (_selected == null)
            {
                splitContainer1.Hide();
                ConverterEditor.SetViewingComponent(null);
            }
            else
            {
                splitContainer1.Show();

                // Update the data on the top page
                BlockName.Text = _selected.Name;

                ConverterEditor.SetViewingComponent(_selected.Converter);
            }
        }