private void btnNext_Click(object sender, EventArgs e)
        {
            if (new ArgumentParser().GetArgValue("disp") == "2d")
            {
                _ss = new StarSystem();

                Graphics g = pictureBox1.CreateGraphics();
                g.Clear(Color.FromKnownColor(KnownColor.ButtonFace));

                paintSS(g);
            }
        }
 public SystemDisplay2D(StarSystem ss)
 {
     InitializeComponent();
     _ss = ss;
 }
Exemple #3
0
 public SystemDisplay2D(StarSystem ss)
 {
     InitializeComponent();
     _ss = ss;
 }