public Form1(string pathFileTest, bool bufb, menu objectClass)
 {
     InitializeComponent();
     typeConstructor      = bufb;
     filename             = pathFileTest;
     richTextBox1.Enabled = true;
     richTextBox2.Enabled = true;
     richTextBox3.Enabled = true;
     richTextBox4.Enabled = true;
     pathToClass          = objectClass;
 }
 private void button1_Click(object sender, EventArgs e)
 {
     if (comboBox1.Text.Length > 0)
     {
         this.Hide();
         menu m = new menu();
         m.GetData(comboBox1.Text, filesname[comboBox1.SelectedIndex]);
         DataProfil.Name          = comboBox1.Text;
         DataProfil.PathForProfil = filesname[comboBox1.SelectedIndex];
         m.Show();
     }
 }