public ScriptListWindow(ScriptListWindowState state) : base() { Caption = Title; BitmapImageMoniker = KnownMonikers.ImageIcon; Content = new ScriptListWindowControl(state); }
public ScriptListWindowControl(ScriptListWindowState state) { _state = state; InitializeComponent(); ScriptList.ItemsSource = _state.scripts; }