public void Setup() { _tempFolder = new TemporaryFolder(); _filePath = _tempFolder.GetTemporaryFile(); _lexEntryRepository = new LexEntryRepository(_filePath); Form window = new Form(); window.Size = new Size(800, 600); _lexEntryRepository.CreateItem(); Dash dash = new Dash(_lexEntryRepository, null); //, new UserSettingsForTask()); dash.ThingsToMakeButtonsFor = GetButtonItems(); dash.Dock = DockStyle.Fill; window.Controls.Add(dash); window.BackColor = dash.BackColor; dash.Activate(); Application.Run(window); }
private void DoDash() { dash.Activate(currentOrientation); }