Exemple #1
0
        public void ButtonPivot()
        {
            var formChart = new FormChart(_cardRepo, getUISnapshot, _fields);

            formChart.SnapTo(Direction.Top, _formRoot.Location);
            formChart.Show();
        }
Exemple #2
0
        public ChartFilesSubsystem(
            FormChart formChart,
            ButtonBase buttonSave,
            ButtonBase buttonLoad,
            ContextMenuStrip menuMruFiles)
        {
            _formChart    = formChart;
            _buttonSave   = buttonSave;
            _buttonLoad   = buttonLoad;
            _menuMruFiles = menuMruFiles;

            _buttonSave.Pressed += handleSaveClick;
            _buttonLoad.Pressed += handleLoadClick;
        }