public FileMatrixWindow() { InitializeComponent(); MenuController menu = new MenuController(); menu.Configure(mainMenu); //FileMatrixDbAdapter db = // new FileMatrixDbAdapter( // ConnectionStrings.ByName("MySqlConnectionString")); //new FileMatrixMenuController().Configure(menu, db, dataGrid, statusBar); }
public ObjectGridWindow() { InitializeComponent(); rowObjects = new ObservableCollection<SynergyRowObject>(); dataGrid.ItemsSource = rowObjects; MenuController menu = new MenuController(); menu.Configure(mainMenu); menu.AddMenuItem("Phone", "Load Synced FileMatrix", LoadSyncedPhoneFileMatrix); menu.AddMenuItem("RowObjects", "Load Metadata", LoadMetaData); }