Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.searchBarData = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.listViewDSBenhNhan = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:
                this.buttonThemBenhNhan = ((DevExpress.Xpf.WindowsUI.NavigationButton)(target));
                return;

            case 4:
                this.buttonSuaBenhNhan = ((DevExpress.Xpf.WindowsUI.NavigationButton)(target));
                return;

            case 5:
                this.buttonXoaBenhNhan = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.listViewChoNhanThuoc = ((System.Windows.Controls.ListView)(target));
                return;

            case 2:
                this.buttonXacNhanThanhToan = ((DevExpress.Xpf.WindowsUI.NavigationButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.listViewDSChoKham = ((System.Windows.Controls.ListView)(target));
                return;

            case 2:
                this.buttonPhieuKhamMoi = ((DevExpress.Xpf.WindowsUI.NavigationButton)(target));
                return;

            case 3:
                this.buttonXemBenhAn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }