Exemple #1
0
        private void MagicButton_Click(object sender, EventArgs e)
        {
            ClearButton_Click(this, null);
            IEnumerable <string> subjects = DSTableCreator.GetInstance().GetSubjects();

            FillListBox(subjects);
            AddButton.Enabled = false;
        }
        public static DSTableCreator GetInstance()
        {
            if (dSTableCreator == null)
            {
                dSTableCreator = new DSTableCreator();
            }

            return(dSTableCreator);
        }