Exemple #1
0
        private void addScheme()
        {
            ColorTableDataConfig config = new ColorTableDataConfig()
            {
                Heading = "方案 " + (_colors.Count + 1).ToString()
            };
            RadarColorSchemeEditorClient client = new RadarColorSchemeEditorClient(config);

            if (client.ShowDialog().Value)
            {
                _colors.Add(client.Config);
                loadColorSchemesListView();
                colorSchemesListView.SelectedIndex = colorSchemesListView.Items.Count - 1;
            }
        }