protected void CloseTemplateEditWindow(object sender, bool isSave)
        {
            StruTemplateEditViewModel model = (StruTemplateEditViewModel)sender;

            model.CloseEditTemplateWindowEvent -= CloseTemplateEditWindow;
            if (editWindow != null)
            {
                editWindow.Close();
            }
            editWindow = null;

            if (isSave)
            {
                InitializeData();
            }
        }