-
Notifications
You must be signed in to change notification settings - Fork 0
/
UserData.cs
54 lines (40 loc) · 1.19 KB
/
UserData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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;
namespace _4enLinea
{
public partial class UserData : Form
{
Form main_parent;
SortedList<string, User> UserSortedList { get; set; }
List<User> UserList { get; set; }
public UserData(Form main, List<User> list, SortedList<string, User> slist)
{
main_parent = main;
UserList = list;
UserSortedList = slist;
InitializeComponent();
}
private void UserData_Load(object sender, EventArgs e)
{
userBindingSource.DataSource = UserList;
//not visible areas
user_dtg.Columns["name"].Visible = false;
user_dtg.Columns["surname"].Visible = false;
user_dtg.Columns["password"].Visible = false;
}
private void btn_back_Click_1(object sender, EventArgs e)
{
this.Close();
main_parent.Show();
}
//write file
//display players
}
}