private void buttonInsert_Click(object sender, EventArgs e) { Form form = new DressProperties(); form.ShowDialog(); refreshListViewDress(); }
private void listViewDress_MouseDoubleClick(object sender, MouseEventArgs e) { if (listViewDress.SelectedItems.Count > 0) { ThreadStart ts = new ThreadStart(showProcessing); Thread wait = new Thread(ts); wait.Start(); Form form = new DressProperties(listViewDress.SelectedItems[0].ImageKey); wait.Abort(); form.ShowDialog(); refreshListViewDress(); } }