Exemple #1
0
        public static Config Config()
        {
            var xconfig = XFactory.XConfig();
            var config  = Config(xconfig);

            return(config);
        }
Exemple #2
0
        private void PasswordButton_Click(object sender, RoutedEventArgs e)
        {
            var md5  = XFactory.MD5Hash(PasswordTextBox.Text);
            var user = UsersComboBox.SelectedItem as User;

            user.Option.Pass = md5;
            MD5PasswordTextBox.GetBindingExpression(TextBox.TextProperty).UpdateTarget();
        }
 public static void Save(this Config config)
 {
     XFactory.XConfig(config).Save();
 }