public void ButtonPivot() { var formChart = new FormChart(_cardRepo, getUISnapshot, _fields); formChart.SnapTo(Direction.Top, _formRoot.Location); formChart.Show(); }
public ChartFilesSubsystem( FormChart formChart, ButtonBase buttonSave, ButtonBase buttonLoad, ContextMenuStrip menuMruFiles) { _formChart = formChart; _buttonSave = buttonSave; _buttonLoad = buttonLoad; _menuMruFiles = menuMruFiles; _buttonSave.Pressed += handleSaveClick; _buttonLoad.Pressed += handleLoadClick; }