Example #1
0
        public ScriptListWindow(ScriptListWindowState state) : base()
        {
            Caption            = Title;
            BitmapImageMoniker = KnownMonikers.ImageIcon;

            Content = new ScriptListWindowControl(state);
        }
Example #2
0
        public ScriptListWindowControl(ScriptListWindowState state)
        {
            _state = state;

            InitializeComponent();

            ScriptList.ItemsSource = _state.scripts;
        }