/// <summary> /// save the selected font for the Arduino /// </summary> private void _btnSaveArduino_Click(object sender, EventArgs e) { ArduinoFontWriter fw; try { UpdatePreviewEvent(null, null); fw = new ArduinoFontWriter(); fw.FontDef = _fd; fw.Write(this); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
/// <summary> /// save the selected font for the Arduino /// </summary> private void _btnSaveArduino_Click(object sender, EventArgs e) { ArduinoFontWriter fw; try { UpdatePreviewEvent(null,null); fw=new ArduinoFontWriter(); fw.FontDef=_fd; fw.Write(this); } catch(Exception ex) { MessageBox.Show(ex.Message,"Error",MessageBoxButtons.OK,MessageBoxIcon.Error); } }