flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]0[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]25[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]1[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]50[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]2[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]75[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]3[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]100[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]4[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]125[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]5[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]150[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]6[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]175[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]7[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]200[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]8[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]225[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]9[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]250[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]10[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]275[/COLOR];
}
flag = ([B]this[/B].TrackBar1.Value == [COLOR=#00008b]11[/COLOR]);
[COLOR=#0000ff][B]if[/B][/COLOR] (flag)
{
[B]this[/B].Timer1.Interval = [COLOR=#00008b]300[/COLOR];
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.