private void btnShowDetail_Click(object sender, EventArgs e) { if (ListActive == 1) { List1.ViewMode(ViewStyle.Details); } else { List2.ViewMode(ViewStyle.Details); } }
private void btnViewList_Click(object sender, EventArgs e) { if (ListActive == 1) { List1.ViewMode(ViewStyle.List); } else { List2.ViewMode(ViewStyle.List); } }