public static GloveModule GetSingleton(MainWindow mw) { if (Instance == null) { Instance = new GloveModule(mw); } return(Instance); }
private ControlServerManage() { gc = GloveModule.GetSingleton().gc; }
private void InitModule() { ConsoleManager.Show(); gloveModule = GloveModule.GetSingleton(this); // gc = gloveModule.gc; }