public static ToDoListVersionDetailSubWindow Open(ToDoListProductDetailView productDetailView,
                                                          ToDoProduct todoProduct, ToDoProductVersion version = null, string name = null)
        {
            string str    = name ?? (version == null ? "Version Detail Create Window" : "Version Detail Editor Window");
            var    window = Open <ToDoListVersionDetailSubWindow>(str)
                            .Init(productDetailView, todoProduct, version);

            instance = window;
            window.Show();
            return(window);
        }
 private void OnDisable()
 {
     instance = null;
 }