Hello EveryBody, I write this code but the code not work:
Can anyone help me?
--------------------------------
And how I can do an animation using C# (If you can give me an example).
Thanks for anyhelp.
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
//Set the form opacity = 0.
this.Opacity = 0.00;
for (double i = 0.00; i < 1.01; i = i + 0.01)
{
//Make the form opacity a motion.
this.Opacity += i;
if (this.Opacity.Equals(1.00) == true)
{
break;
}
}
}
}
}
--------------------------------
And how I can do an animation using C# (If you can give me an example).
Thanks for anyhelp.
Comment