Example #1
0
        private void syncedListsButton_Click(object sender, EventArgs e)
        {
            foreach (IDisposable control in workPanel.Controls)
                control.Dispose();

            workPanel.Controls.Clear();

            var docBrowser = new SyncedLists();
            docBrowser.TabIndex = 0;
            docBrowser.Dock = DockStyle.Fill;
            workPanel.Controls.Add(docBrowser);
        }
Example #2
0
        private void syncedListsButton_Click(object sender, EventArgs e)
        {
            foreach (IDisposable control in workPanel.Controls)
            {
                control.Dispose();
            }

            workPanel.Controls.Clear();

            var docBrowser = new SyncedLists();

            docBrowser.TabIndex = 0;
            docBrowser.Dock     = DockStyle.Fill;
            workPanel.Controls.Add(docBrowser);
        }