private void buttonEditFonts_Click(object sender, EventArgs e) { FontEditor fe = new FontEditor(); fe.ShowDialog(); fe.Dispose(); }
void IReflectorPersistance.Properties() { FontEditor fe = new FontEditor(); fe.ShowDialog(); fe.Dispose(); //throw new Exception( "The method or operation is not implemented." ); }
private void PickFont_Click(object sender, EventArgs e) { FontEditor fe = new FontEditor(that.FontTracker); fe.ShowDialog(); if (fe.DialogResult == DialogResult.OK) { that.FontTracker = fe.GetFontResult(); } fe.Dispose(); }
private void button1_Click(object sender, EventArgs e) { FontEditor fe = new FontEditor(FontEditor.GetFontTracker(control.Font)); fe.ShowDialog(); if (fe.DialogResult == DialogResult.OK) { control.Font = fe.GetFontResult(); } fe.Dispose(); }
private void buttonEditFonts_Click(object sender, EventArgs e) { FontEditor fe = new FontEditor(); fe.ShowDialog(); if (fe.DialogResult == DialogResult.OK) { listBoxFonts.DataSource = null; listBoxFonts.DataSource = FontEditor.fonts; } fe.Dispose(); }