public ArtooService() { ArtooDataSet = new ArtooBase(); ArtooDataSet.ReadXml("ArtooBase.xml"); NextToken = 42; MessageList = new ArrayList(); }
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); } }