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

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

            InitializeComponent();

            ScriptList.ItemsSource = _state.scripts;
        }