private void button_GenerateMatrix_Click(object sender, EventArgs e)
        {
            var MatrixH = GoldCode.GenerateMatrixH((int)numericGenerateMatrix.Value);

            if (MatrixH == (object)-1)
            {
                MessageBox.Show("Podana wartość jest nieprawidłowa.");
            }
            else
            {
                String Message = "Udało się wygenerować macierz Hadamard-a:\n";
                for (int i = 0; i < ((double[, ])MatrixH).GetLength(0); i++)
                {
                    for (int j = 0; j < ((double[, ])MatrixH).GetLength(1); j++)
                    {
                        Message += ((double[, ])MatrixH)[i, j].ToString();
                    }
                    Message += "\n";
                }

                MessageBox.Show(Message);
            }
        }
 public Form1()
 {
     InitializeComponent();
     int[] Code = GoldCode.GenerateGoldCode(new int[] { 1, 0, 0, 0, 0 });
 }