예제 #1
0
 public void RegisterTool(GenericWindow gen)
 {
     RefCount++;
     Tools.Add(gen);
     gen.RegisterClosed(() =>
     {
         ReleaseGenericWindow(gen);
         Dispose();
     });
 }
예제 #2
0
 public void RegisterTool(GenericWindow gen)
 {
     RefCount++;
     Tools.Add(gen);
     gen.RegisterClosed(() =>
     {
         ReleaseGenericWindow(gen);
         Dispose();
     });
 }