private void loadOrders() { Data orders = ShardDb.getOrders(); if (!orders.Success) { this.Close(); return; } dataGridViewOrders.DataSource = orders.DataTable; changeDataGridView(); }