Ejemplo n.º 1
0
        public YEvents(NineManagement nm)
        {
            if (nbInstances > 0)
                throw new Exception("YEvents can be instantiated more than once");

            _instance = this;

            LIO = LinkIOImp.Instance;
            Data = Data.Instance;
            Catalog = Catalog.Instance;
            NM = nm;
        }
Ejemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     DataContext = new NineManagement();
     Closing += (DataContext as NineManagement).MainClose;
 }