private void btnLabelEditor_Click(object sender, EventArgs e) { KeywordsStringEditorForm dialog = new KeywordsStringEditorForm(txtLabel.Text, "Series", "Label", 9); dialog.KeywordsRegistry = new KeywordsRegistry(); dialog.ShowDialog(); txtLabel.Text = dialog.ResultString; }
private void btnLegendText_Click(object sender, EventArgs e) { KeywordsStringEditorForm dialog = new KeywordsStringEditorForm(txtLegendText.Text, "LegendCellColumn", "LegendText", 9); dialog.KeywordsRegistry = new KeywordsRegistry(); dialog.ShowDialog(); txtLegendText.Text = dialog.ResultString; }