Beispiel #1
0
        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;
        }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 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;
 }