private void lblPause_Click(object sender, EventArgs e)
        {
            TmrMoving.Stop();
            PauseForm pf = new PauseForm(this);

            pf.ShowDialog();
            if (pf.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                TmrMoving.Start();
            }
        }
 public ProfileForm(LogInForm LIForm, PauseForm PForm)
 {
     InitializeComponent();
     this.LIForm    = LIForm;
     this.PForm     = PForm;
     this.Username  = LogInForm.Username;
     lblHi.Text     = "BELLO \n" + Username;
     con            = new SqlCeConnection(@"Data Source=App_Data\Database.sdf");
     picture        = new SqlCeParameter("@picture", SqlDbType.Image);
     cmd.Connection = con;
 }