private void miYRangeStart_Click(object sender, System.EventArgs e) { HONUS.dgInputValue dgInputValue1 = new HONUS.dgInputValue(); if(dgInputValue1.ShowDialog() == DialogResult.OK) { try { this.YRangeStart = double.Parse(dgInputValue1.ctValue); } catch(Exception ex) { MessageBox.Show(ex.Message); } this.Refresh(); } }
private void miXLabel_Click(object sender, System.EventArgs e) { HONUS.dgInputValue dgInputValue1 = new HONUS.dgInputValue(); if(dgInputValue1.ShowDialog() == DialogResult.OK) { try { this.xlabel = dgInputValue1.ctValue; } catch(Exception ex) { MessageBox.Show(ex.Message); } this.Refresh(); } }
private void miMakerSize_Click(object sender, System.EventArgs e) { HONUS.dgInputValue dgInputValue1 = new HONUS.dgInputValue(); if(dgInputValue1.ShowDialog() == DialogResult.OK) { try { this.MarkerSize = int.Parse(dgInputValue1.ctValue); } catch(Exception ex) { MessageBox.Show(ex.Message); } this.Refresh(); } }
private void miTitleFont_Click(object sender, System.EventArgs e) { HONUS.dgInputValue dgInputValue1 = new HONUS.dgInputValue(); if(fontDialog1.ShowDialog() == DialogResult.OK) { try { this.FontTitle = fontDialog1.Font; } catch(Exception ex) { MessageBox.Show(ex.Message); } this.Refresh(); } }
private void item_Name_Click(object sender, System.EventArgs e) { HONUS.dgInputValue dgInputValue1 = new HONUS.dgInputValue(); if(dgInputValue1.ShowDialog() == DialogResult.OK) { ((DataSeries)this.series[((MenuItem)((MenuItem)sender).Parent).Index]).Name = dgInputValue1.ctValue; } this.Refresh(); }