private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (key == 0)
            {
                MessageBox.Show("Сначала выберите бегуна"); return;
            }
            Perem.CharityName = OrgName.Content.ToString();
            CharityView charityView = new CharityView();

            charityView.ShowDialog();
        }
        private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            WpfApp1.marathonDataSet marathonDataSet = ((WpfApp1.marathonDataSet)(this.FindResource("marathonDataSet")));
            WpfApp1.marathonDataSetTableAdapters.CharityTableAdapter charityTableAdapter = new marathonDataSetTableAdapters.CharityTableAdapter();
            charityTableAdapter.FillBy(marathonDataSet.Charity, charityNameComboBox.Text);
            Perem.CharityName = marathonDataSet.Charity[0][1].ToString();
            CharityView nn = new CharityView();

            nn.ShowDialog();
            charityTableAdapter.Fill(marathonDataSet.Charity);
        }