private void button3_Click(object sender, EventArgs e)
 {
     button1_Click(sender, e);
     try
     {
         serialPort.SaveSettingsToFile("Comset.xml");
     }
     catch
     {
         ErrorMessage(texts[11]);
     }
 }