private void GetClashTests()
        {
            DocumentClashTests dct = Application.MainDocument.GetClash().TestsData;

            ClashTests.Clear();

            foreach (SavedItem savedItem in dct.Tests)
            {
                if (savedItem.GetType() == typeof(ClashTest))
                {
                    ClashTests.Add(new CustomClashTest(savedItem as ClashTest));
                }
            }
        }
        private void GetClashTests()
        {
            DocumentClashTests DCT = Application.MainDocument.GetClash().TestsData;

            ClashTests.Clear();
            foreach (ClashTest test in DCT.Tests)
            {
                ClashTests.Add(new CustomClashTest(test));
            }

            if (ClashTests.Count != 0)
            {
                Group_Button.IsEnabled = true;
            }
            else
            {
                Group_Button.IsEnabled = false;
            }
        }