private void updatebutton_Click(object sender, EventArgs e) { LabSys = SMS.GetSystem("Laboratory"); Connection.url = comboBox1.SelectedItem.ToString(); Console.WriteLine(comboBox1.SelectedItem.ToString()); Console.WriteLine(Connection.url.ToString()); Console.WriteLine(LabSys.GetListing()); }
private void refreshBtn_Click(object sender, EventArgs e) { //get list of new messages LabSys = SMS.GetSystem("Laboratory"); DataTable MessageList = LabSys.GetListing(); dataGridView1.DataSource = MessageList; //bunifuCustomDataGrid1.DataSource = MessageList; }