示例#1
0
        public PhoneBook()
        {
            InitializeComponent();

            name_TextBox.Focus();

            WndConfig.setConfig4SimpleSearch(this);
        }
示例#2
0
        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;
        }