Ejemplo n.º 1
0
        private void MDIContainer_Load(object sender, EventArgs e)
        {
            LogInForm LIForm = new LogInForm(null);

            LIForm.Show();
            LIForm.MdiParent = this;
        }
Ejemplo n.º 2
0
        private void btnLogOut_Click(object sender, EventArgs e)
        {
            LogInForm LF = new LogInForm(this);

            LF.MdiParent = this.MdiParent;
            LF.Show();
            LF.Location = new Point(0, 0);
        }
Ejemplo n.º 3
0
 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;
 }