public static void showList(ShowItemList showItemListT) { if (dialog == null || dialog.IsDisposed) { dialog = new SmallDialog_ShowList(); } if (showItemList != null) { showItemList.removeAll(); } showItemList = showItemListT; dialog.init(); dialog.Show(); dialog.Activate(); }