private void Form1_Load(object sender, EventArgs e)
 {
     if (auto)
     {
         Formaty q = new Formaty(ref this.richEditControl1);
         System.Environment.Exit(0);
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     Formaty q = new Formaty(ref this.richEditControl1);
 }