public void OpenSettings(int position) { dialogs.OpensSettingsDialog(core, main, periodList.D.Results[position].Id, this).Show(); }