38 lines
849 B
C#
38 lines
849 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using WinFormsApp4.Models;
|
|
using WinFormsApp4.Controllers;
|
|
|
|
namespace WinFormsApp4
|
|
{
|
|
public partial class UserControl1 : UserControl
|
|
{
|
|
|
|
private int id;
|
|
|
|
public UserController _userController { get; set; } = new();
|
|
|
|
public UserControl1(string username, string email, string date_registered, int id)
|
|
{
|
|
InitializeComponent();
|
|
|
|
label1.Text = username;
|
|
label2.Text = email;
|
|
label3.Text = date_registered.ToString();
|
|
this.id = id;
|
|
|
|
}
|
|
private void UserControl1_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|