Example #1
0
 public void UpdateData(string groupname)
 {
     dt1.AddGroup(++groupid, groupname);
     dt2.AddUser(groupid, userid++);
     dt2.AddUser(groupid, userid++);
     settingsWindow.FillTree(dt1, dt2);
 }
Example #2
0
 public Form1()
 {
     InitializeComponent();
     dt1 = new SampleTable1();
     dt2 = new SampleTable2();
     dt1.AddGroup(groupid);
     dt2.AddUser(groupid, userid++);
     dt2.AddUser(groupid, userid++);
     dt1.AddGroup(++groupid);
     dt2.AddUser(groupid, userid++);
     dt2.AddUser(groupid, userid++);
     dt2.AddUser(groupid, userid++);
 }