EKG_Project.GUI.Window_ECG.closeAnalysis C# (CSharp) Method

closeAnalysis() private method

private closeAnalysis ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void
        private void closeAnalysis(object sender, RoutedEventArgs e)
        {
            int currentTabIndex = analysisTabControl.SelectedIndex;
            if (currentTabIndex != -1)
            {
                _tabContainer.CommunicationList[currentTabIndex].SendGUIMessage(new Abort());
            }
        }