コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PhieuXuatWindow = ((QLDL.Presentation.PhieuXuat)(target));
                return;

            case 2:
                this.Main = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.txtSoTienTra = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:

            #line 33 "..\..\..\..\Presentation\Phiếu Xuất\_PhieuXuat.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ThemPhieuXuat);

            #line default
            #line hidden
                return;

            case 5:
                this.svCTPX = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 6:
                this.spCTPX = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.btnAddCTPX = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\..\Presentation\Phiếu Xuất\_PhieuXuat.xaml"
                this.btnAddCTPX.Click += new System.Windows.RoutedEventHandler(this.AddCTPX);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PhieuXuatWindow = ((QLDL.Presentation.PhieuXuat)(target));
                return;

            case 2:
                this.Main = ((System.Windows.Controls.DockPanel)(target));
                return;

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