Exemplo n.º 1
0
 private void ConfigureDcSettings(DCConfiguration dCConfiguration, ICircuitContext context)
 {
     if (context.Result.SimulationConfiguration.SweepMaxIterations.HasValue)
     {
         dCConfiguration.SweepMaxIterations = context.Result.SimulationConfiguration.SweepMaxIterations.Value;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// This is were the real configuration takes places. The Values of the XML file is actually put to use.
 /// </summary>
 /// <param name="configuration"></param>
 internal void Configure(DCConfiguration configuration)
 {
     DrawArea.DefaultDrawingAttributes.Width  = configuration.MarkerSize;
     DrawArea.DefaultDrawingAttributes.Height = configuration.MarkerSize;
     DrawArea.DefaultDrawingAttributes.Color  = configuration.MarkerColor;
 }
Exemplo n.º 3
0
 private void Configure(DCConfiguration configuration)
 {
     m_DrawWindow.Configure(configuration);
 }
Exemplo n.º 4
0
 private void Configure(System.Windows.Forms.MenuItem menuItem, DCConfiguration configuration)
 {
     Util.UncheckSubMenuItems(m_ConfigurationMenu);
     menuItem.Checked = true;
     Configure(configuration);
 }