public PhoneBook() { InitializeComponent(); name_TextBox.Focus(); WndConfig.setConfig4SimpleSearch(this); }
public PriceConfig() { InitializeComponent(); price = new DispatcherTimer(); price.Interval = TimeSpan.FromSeconds(1); price.Tick += new EventHandler(price_Tick); price.Start(); WndConfig.setConfig4SimpleSearch(this); }
public WindowConfig() { InitializeComponent(); WndConfig.setConfig4SimpleSearch(this); ConfigParams param = WndConfig.getConfig(); fontSize_Txt.Text = param.fontSize.ToString(); big_CheckBox.IsChecked = param.isMaximized; small_CheckBox.IsChecked = param.simpleIsMaximized; }