예제 #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;
        }
예제 #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;
 }
예제 #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;
 }