Exemple #1
0
        private void NewTabButton_Click( object sender, EventArgs e )
        {
            var tabPage = new TabPage();
                tabPage.Text = "Choose Amount & Algo";

            var sortingAlgorythmVisualizerUserControl = new SortingAlgorithmVisualizer();
                sortingAlgorythmVisualizerUserControl.Parent = tabPage;
                sortingAlgorythmVisualizerUserControl.Dock = DockStyle.Fill;

            AlgoVisTabControl.TabPages.Add( tabPage );
        }
Exemple #2
0
        private void NewTabButton_Click(object sender, EventArgs e)
        {
            var tabPage = new TabPage();

            tabPage.Text = "Choose Amount & Algo";

            var sortingAlgorythmVisualizerUserControl = new SortingAlgorithmVisualizer();

            sortingAlgorythmVisualizerUserControl.Parent = tabPage;
            sortingAlgorythmVisualizerUserControl.Dock   = DockStyle.Fill;

            AlgoVisTabControl.TabPages.Add(tabPage);
        }