static void Main() { NumGenerator gen = new NumGenerator(new int[] { 6, 5, 4, 3, 7, 6 }); object o = gen.Get34Seeds(); Console.WriteLine(o); Console.WriteLine(gen.GetTxt4Lines()); Console.ReadLine(); }
private void btnCalc_Click(object sender, EventArgs e) { this.gen = new NumGenerator(new int[] { (int)this.numericUpDown1.Value, (int)this.numericUpDown2.Value, (int)this.numericUpDown3.Value, (int)this.numericUpDown4.Value, (int)this.numericUpDown5.Value, (int)this.numericUpDown6.Value, }); this.txtLine4.Text = this.gen.GetTxt4Lines(); }