public void multislicer_gui() { if (singletondialog == null) { singletondialog = new maindialog(basepath, ACM.main.getServices(), clearSingletonDialog); Application.ShowModelessDialog(singletondialog); } else { singletondialog.Activate(); } }
static public void clearSingletonDialog() { singletondialog = null; ACM.main.multislicer_unload_dll(); }