예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

            DropDownSmena.SelectedIndex = 0;

            set            = new Settings("DataBrCode.xml");
            CLog.DayToSave = set.DayToSaveLog;
            CLog.InitCLog();
            CLog.WriteInfo("DataBrCode", "StartProgram");

            textBoxDate.Text = DateTime.Now.ToString("dd.MM.yy");
            this.KeyPreview  = true;

            //Заполняем поле ввода
            SettingsTsd.ReadSettings();
            textBoxLogin.Text = SettingsTsd.USEROLD;
        }