Exemple #1
0
        /// <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);
            }
        }
Exemple #2
0
        /// <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);
              }
        }