Example #1
0
 internal SeriesResistance(Load program)
 {
     InitializeComponent();
     this.program            = program;
     vc                      = new Converters.ValueConverter();
     textBoxResistance.Text  = (string)(vc.Convert(this.program.SeriesResistance, typeof(string), "f3", System.Globalization.CultureInfo.CurrentCulture));
     textBoxPower.Text       = (string)(vc.Convert(this.program.SeriesResistancePowerLimit, typeof(string), "f0", System.Globalization.CultureInfo.CurrentCulture));
     checkBoxPower.IsChecked = program.SeriesResistancePowerLimitIsEnabled;
 }
 internal SeriesResistance(Load program)
 {
     InitializeComponent();
     this.program           = program;
     vc                     = new Converters.ValueConverter();
     textBoxResistance.Text = (string)(vc.Convert(this.program.SeriesResistance, typeof(string), "f3", System.Globalization.CultureInfo.CurrentCulture));
 }