예제 #1
0
        private void colorSchemesListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            object item = ListViewBaseInfo.GetElementFromPoint((ItemsControl)sender, e.GetPosition((ItemsControl)sender));

            if (item != null)
            {
                editorScheme();
            }
        }
예제 #2
0
        private void renamingMenu_Click(object sender, MouseButtonEventArgs e)
        {
            object item = ListViewBaseInfo.GetElementFromPoint((ItemsControl)sender, e.GetPosition((ItemsControl)sender));

            if (item != null)
            {
                renamingRadarArea();
            }
        }
예제 #3
0
        private void radarsListView_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            object item = ListViewBaseInfo.GetElementFromPoint((ItemsControl)sender, e.GetPosition((ItemsControl)sender));

            if (item != null)
            {
                _radarsInfo.CenteredRadar();
            }
        }
예제 #4
0
        private void sourceListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Point  pt   = e.GetPosition((ItemsControl)sender);
            object item = ListViewBaseInfo.GetElementFromPoint((ItemsControl)sender, pt);

            if (item != null)
            {
                int columnIndex = getColumnIndex(pt.X);
                if (columnIndex == 2)
                {
                    settingBox(sourceListView.SelectedIndex);
                }
                else if (columnIndex == 5)
                {
                    updateRemarks(sourceListView.SelectedIndex);
                }
            }
        }