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