Пример #1
0
 public ArtooService()
 {
     ArtooDataSet = new ArtooBase();
     ArtooDataSet.ReadXml("ArtooBase.xml");
     NextToken   = 42;
     MessageList = new ArrayList();
 }
Пример #2
0
    public UsersAdminForm()
    {
        InitializeComponent();
        ArtooDataSet = new ArtooBase();
        ArtooDataSet.ReadXml("ArtooBase.xml");
        IEnumerator users = ArtooDataSet.User.GetEnumerator();

        while (users.MoveNext())
        {
            UsersList.Items.Add((users.Current as ArtooBase.UserRow).id);
        }
    }