using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace HeuristicLab.DataPreprocessing.Views { public partial class FindAndReplaceDialog : Form { public FindAndReplaceDialog() { InitializeComponent(); } private void tabControl1_SelectedIndexChanged(object sender, System.EventArgs e) { if (sender is TabControl) { TabControl tc = (TabControl)sender; tc.SelectedTab.Controls.Add(btnFindAll); tc.SelectedTab.Controls.Add(btnFindNext); tc.SelectedTab.Controls.Add(lblSearch); tc.SelectedTab.Controls.Add(txtSearchString); } } } }