Beispiel #1
0
        public Login()
        {
            InitializeComponent();
            db    = Database.getInstanece();
            login = "******";
            Binding b = new Binding();

            b.Source = this;
            b.Path   = new PropertyPath("login");
            b.Mode   = BindingMode.TwoWay;
            LoginBox.SetBinding(TextBox.TextProperty, b);
        }