Esempio n. 1
0
 private void AdjustOrder()
 {
     SignalsForm.SuspendLayout();
     for (var index = 0; index < Scene.Signals.Count; index++)
     {
         FindSignalCon(index)?.SignalEdit?.BringToFront();
     }
     SignalsForm.ResumeLayout();
 }
Esempio n. 2
0
 private SignalsForm NewSignalsForm()
 {
     _signalsForm = new SignalsForm
     {
         TabText     = Resources.SignalsForm_TabText,
         Text        = Resources.SignalsForm_Text,
         ToolTipText = Resources.SignalsForm_Text
     };
     Init(_signalsForm.AddButton, WaveType.Constant);
     Init(_signalsForm.WaveTypeSlider, WaveType.Constant);
     Init(_signalsForm.WaveTypeSine, WaveType.Sine);
     Init(_signalsForm.WaveTypeSquare, WaveType.Square);
     Init(_signalsForm.WaveTypeTriangle, WaveType.Triangle);
     Init(_signalsForm.WaveTypeRampUp, WaveType.RampUp);
     Init(_signalsForm.WaveTypeRampDown, WaveType.RampDown);
     AppCon.InitControlTheme(Toolbar);
     return(_signalsForm);
 }