Ejemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     pictureBox1.Paint += new PaintEventHandler(pictureBox1_Paint);
     theNesPalette      = new NesPalette();
     theNesPalette.GenerateNTSC(0, 50);
     comboBox1.SelectedIndex = 0;
 }
Ejemplo n.º 2
0
 private void numericUpDown1_ValueChanged(object sender, EventArgs e)
 {
     theNesPalette.GenerateNTSC((int)numericUpDown1.Value, (int)numericUpDown2.Value);
     pictureBox1.Refresh();
 }