private void Window_Loaded(object sender, RoutedEventArgs e) { paramManager = new ParamManager(paramPanel, resultPanel); paramManager.Init(); BindEvents(); drawer = new Drawer(paramManager, canvas); }
public Drawer(ParamManager pm, Canvas canvas) { this.pm = pm; this.canvas = canvas; }