Exemple #1
0
 public static void multislicer_unload_dll()
 {
     if (services != null)
     {
         services.dodispose();
         services = null;
     }
 }
Exemple #2
0
 public static MultiSlicerServices getServices()
 {
     if (services == null)
     {
         services = new MultiSlicerServices(basepath);
     }
     return(services);
 }
Exemple #3
0
 public maindialog(string basepath, ACM.MultiSlicerServices s, main.singletonClear singletonClear)
 {
     try {
         this.singletonClear = singletonClear;
         doclose             = false;
         configdir           = basepath;
         stldir   = basepath;
         pathsdir = basepath;
         InitializeComponent();
         configFileTextBox.Text = System.IO.Path.Combine(configdir, "config.txt");
         this.MinimumSize       = this.Size;
         services = s;
     } catch (ApplicationException e) {
         closeException = e;
         doclose        = true;
     }
 }