Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace Descartes
- {
- public partial class frmSplashScreen : Form
- {
- int IntX;
- int IntY;
- public frmSplashScreen()
- {
- InitializeComponent();
- }
- private void tmrFadeIn_Tick(object sender, EventArgs e)
- {
- //Fades the page in
- this.Opacity += 0.02;
- }
- private void tmrWait_Tick(object sender, EventArgs e)
- {
- //Stops the fade in function
- tmrFadeIn.Enabled = false;
- }
- private void frmSplashScreen_MouseMove(object sender, MouseEventArgs e)
- {
- //IntX = frmSplashScreen.MousePosition.X;
- //IntY = frmSplashScreen.MousePosition.Y;
- //lblClick.Location = new Point(IntX,IntY);
- }
- private void frmSplashScreen_Load(object sender, EventArgs e)
- {
- }
- private void frmSplashScreen_Click(object sender, EventArgs e)
- {
- // Goes to the Login Page
- frmLogin frm = new frmLogin();
- frm.Show();
- this.Hide();
- }
- private void lblClick_Click(object sender, EventArgs e)
- {
- // Goes to the Login Page
- frmLogin frm = new frmLogin();
- frm.Show();
- this.Hide();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement