コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\Page\Customers\CreateNewCustomer.xaml"
                ((Diba.Desktop.Page.Customers.CreateNewCustomer)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CreateCustomerStart_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.Customer = ((Diba.Desktop.Controls.CustomerControl)(target));
                return;

            case 3:
                this.ErrorMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Register = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\..\Page\Customers\CreateNewCustomer.xaml"
                this.Register.Click += new System.Windows.RoutedEventHandler(this.Register_Click);

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

            #line 30 "..\..\..\..\Page\Customer\CustomerDetail.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Return_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.Customer = ((Diba.Desktop.Controls.CustomerControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: ReceiptControl.g.cs プロジェクト: hamidrezaaee/Diba
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomerFullName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.NewItem = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\..\Page\Receipts\ReceiptControl.xaml"
                this.NewItem.Click += new System.Windows.RoutedEventHandler(this.NewItem_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.ReceiptItemsGrid = ((Diba.Desktop.Controls.Table)(target));
                return;

            case 4:
                this.Customer = ((Diba.Desktop.Controls.CustomerControl)(target));
                return;

            case 5:
                this.Submit = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\..\..\Page\Receipts\ReceiptControl.xaml"
                this.Submit.Click += new System.Windows.RoutedEventHandler(this.Submit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
ファイル: CustomerPage.g.cs プロジェクト: hamidrezaaee/Diba
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 32 "..\..\..\..\Page\Customers\CustomerPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Return_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.CustomerFullName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:

            #line 79 "..\..\..\..\Page\Customers\CustomerPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ReceiptsGrid = ((Diba.Desktop.Controls.Table)(target));
                return;

            case 5:
                this.Customer = ((Diba.Desktop.Controls.CustomerControl)(target));
                return;
            }
            this._contentLoaded = true;
        }