, Visual C#


         


private int N_Interval = 3;
private void timer1_Tick(object sender, EventArgs e)
{
//, counter
// N_Interval,
// :
if (counter >= N_Interval)
{
//
//N_Interval, :
this.Text = "(Calculator)";
// counter :
counter = 0;
}
else
{
//
// N_Interval,
// :
this.Text = " " +
"(Calculator with animation)";
// 1:
counter = counter + 1;
}
}
2.5. . 3.
// (counter)
// :
private int counter = 0;
// N_Interval,
// :
private int N_Interval = 3;
// i_Interval_Stop,
//
// :
private int i_Interval_Stop = 0;
// N_Interval_Stop,
// :
private int N_Interval_Stop = 10;
private void timer1_Tick(object sender, EventArgs e)
{
// i_Interval_Stop,
//
// , 1:
i_Interval_Stop = i_Interval_Stop + 1;
// i_Interval_Stop,
// :
if (i_Interval_Stop >= N_Interval_Stop)