예제 #1
0
 public static void ClearListView(ListView list)
 {
     if (list.InvokeRequired)
     {
         var d = new ClearListViewDelegate(ClearListView);
         list.Invoke(d, new object[] { list });
     }
     else
     {
         list.Items.Clear();
     }
 }
예제 #2
0
 public void clearListView()
 {
     if (this.InvokeRequired)
     {
         ClearListViewDelegate clvd = new ClearListViewDelegate(clearListView);
         this.Invoke(clvd);
     }
     else
     {
         imageListView1.Items.Clear();
     }
 }
예제 #3
0
파일: MainForm.cs 프로젝트: Maxim3000/Zookr
 public void clearListView()
 {
     if (this.InvokeRequired)
     {
         ClearListViewDelegate clvd = new ClearListViewDelegate(clearListView);
         this.Invoke(clvd);
     }
     else
     {
         imageListView1.Items.Clear();
     }
 }