Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 52 "..\..\..\..\Views\NotesType\NewNoteType.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Savenotetipe_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 60 "..\..\..\..\Views\NotesType\NewNoteType.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\..\..\Views\NotesType\NewNoteType.xaml"
                this.txtDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtDescription_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.txtNoteType = ((System.Windows.Controls.TextBox)(target));

            #line 80 "..\..\..\..\Views\NotesType\NewNoteType.xaml"
                this.txtNoteType.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtNoteType_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this._rttb1 = ((RichTextBoxToolBar.RichTextBoxToolBar)(target));
                return;

            case 6:
                this._rtb = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 7:
                this.Note = ((System.Windows.Controls.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Print = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\..\..\Views\Sales\InternalNote.xaml"
                this.Print.Click += new System.Windows.RoutedEventHandler(this.Print_Click);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\..\Views\Sales\InternalNote.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Save = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\..\..\Views\Sales\InternalNote.xaml"
                this.Save.Click += new System.Windows.RoutedEventHandler(this.Savesales_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.srcustomer = ((System.Windows.Controls.AutoCompleteBox)(target));
                return;

            case 5:
                this.txtRefereneNumber = ((System.Windows.Controls.TextBox)(target));

            #line 117 "..\..\..\..\Views\Sales\InternalNote.xaml"
                this.txtRefereneNumber.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtRefereneNumber_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.dtNote = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.dtReminder = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.txtNoteTitle = ((System.Windows.Controls.TextBox)(target));

            #line 120 "..\..\..\..\Views\Sales\InternalNote.xaml"
                this.txtNoteTitle.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtNoteTitle_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.txtNoteType = ((System.Windows.Controls.TextBox)(target));

            #line 121 "..\..\..\..\Views\Sales\InternalNote.xaml"
                this.txtNoteType.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtNoteType_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this._rttb1 = ((RichTextBoxToolBar.RichTextBoxToolBar)(target));
                return;

            case 11:
                this._rtb = ((System.Windows.Controls.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 55 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Savenote_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 63 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Print_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 71 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 85 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NoDokumen_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.srkontak = ((System.Windows.Controls.AutoCompleteBox)(target));

            #line 105 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                this.srkontak.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_selection_change);

            #line default
            #line hidden
                return;

            case 6:
                this.noreference = ((System.Windows.Controls.AutoCompleteBox)(target));
                return;

            case 7:
                this.cbdepartment = ((System.Windows.Controls.ComboBox)(target));

            #line 135 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                this.cbdepartment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.department_selectionchange);

            #line default
            #line hidden
                return;

            case 8:
                this.dtNotedate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.Departmen1 = ((System.Windows.Controls.RadioButton)(target));

            #line 137 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                this.Departmen1.Checked += new System.Windows.RoutedEventHandler(this.Departmen_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.Project = ((System.Windows.Controls.RadioButton)(target));

            #line 138 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                this.Project.Checked += new System.Windows.RoutedEventHandler(this.Proyek_Checked);

            #line default
            #line hidden
                return;

            case 11:
                this.dtReminder = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.txtNoteTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.cbNoteType = ((System.Windows.Controls.ComboBox)(target));

            #line 141 "..\..\..\..\Views\Note\NewInternalNote.xaml"
                this.cbNoteType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.note_selectionchange);

            #line default
            #line hidden
                return;

            case 14:
                this.noreferencedokumen = ((System.Windows.Controls.AutoCompleteBox)(target));
                return;

            case 15:
                this.staf = ((System.Windows.Controls.AutoCompleteBox)(target));
                return;

            case 16:
                this._rttb1 = ((RichTextBoxToolBar.RichTextBoxToolBar)(target));
                return;

            case 17:
                this._rtb = ((System.Windows.Controls.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }