private void Menu_Load(object sender, EventArgs e) { Program.GlowStruct ally = new Program.GlowStruct(); ally.a = (float)numericUpDownAlly.Value / 100; Program.ally.a = ally.a; Program.GlowStruct enemy = new Program.GlowStruct(); enemy.a = (float)numericUpDownEnemy.Value / 100; Program.enemy.a = enemy.a; }
private void numericUpDown1_ValueChanged(object sender, EventArgs e) { Program.GlowStruct ally = new Program.GlowStruct(); ally.a = (float)numericUpDownAlly.Value / 100; Program.ally.a = ally.a; }
private void numericUpDownEnemy_ValueChanged(object sender, EventArgs e) { Program.GlowStruct enemy = new Program.GlowStruct(); enemy.a = (float)numericUpDownEnemy.Value / 100; Program.enemy.a = enemy.a; }