private void NewRadialGaugeCommand_Executed(object sender, ExecutedRoutedEventArgs e) { RadialGaugeSettings panelSettings = new RadialGaugeSettings(); RadialGaugeDlg dlgWindow = new RadialGaugeDlg(panelSettings); InitiateNewGaugeDlg(dlgWindow, panelSettings); }
public RadialGauge(MainWindow mainWindow, RadialGaugeSettings panelSettings) : base(mainWindow, panelSettings) { this.panelSettings = panelSettings; parameter = ConfigManager.ParamData.GetParam(panelSettings.pid); }
protected override void Init(PanelSettings panelSettings) { this.panelSettings = (RadialGaugeSettings)base.panelSettings; }