Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\NPC\MonsterViewer.xaml"
                ((DnD.NPC.MonsterViewer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 12 "..\..\..\NPC\MonsterViewer.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 15 "..\..\..\NPC\MonsterViewer.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 4:
                this.listMonster = ((System.Windows.Controls.ListBox)(target));

            #line 40 "..\..\..\NPC\MonsterViewer.xaml"
                this.listMonster.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listMonster_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.MainFlowReader = ((DnD.NPC.MonsterFlowDocumentReader)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\MainWindow.xaml"
                ((DnD.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 46 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 49 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuPrint_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.listMonster = ((System.Windows.Controls.ListBox)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.listMonster.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listMonster_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.MainFlowReader = ((DnD.NPC.MonsterFlowDocumentReader)(target));
                return;

            case 6:
                this.txtFilter = ((System.Windows.Controls.TextBox)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.txtFilter.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtFilter_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.CustomFlowReader = ((DnD.NPC.MonsterFlowDocumentReader)(target));
                return;

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

            #line 95 "..\..\MainWindow.xaml"
                this.txtName.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\MainWindow.xaml"
                this.txtSize.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 10:
                this.txtType = ((System.Windows.Controls.TextBox)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.txtType.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.txtAlignment = ((System.Windows.Controls.TextBox)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.txtAlignment.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\MainWindow.xaml"
                this.txtAC.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 13:
                this.txtHP = ((System.Windows.Controls.TextBox)(target));

            #line 105 "..\..\MainWindow.xaml"
                this.txtHP.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.txtSpeed = ((System.Windows.Controls.TextBox)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.txtSpeed.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 15:
                this.txtSave = ((System.Windows.Controls.TextBox)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.txtSave.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 16:
                this.txtSkill = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtResist = ((System.Windows.Controls.TextBox)(target));

            #line 113 "..\..\MainWindow.xaml"
                this.txtResist.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 18:
                this.txtVulnerable = ((System.Windows.Controls.TextBox)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.txtVulnerable.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 19:
                this.txtImmune = ((System.Windows.Controls.TextBox)(target));

            #line 117 "..\..\MainWindow.xaml"
                this.txtImmune.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 20:
                this.txtConditionImmune = ((System.Windows.Controls.TextBox)(target));

            #line 119 "..\..\MainWindow.xaml"
                this.txtConditionImmune.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 21:
                this.txtSenses = ((System.Windows.Controls.TextBox)(target));

            #line 121 "..\..\MainWindow.xaml"
                this.txtSenses.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 22:
                this.txtPassive = ((System.Windows.Controls.TextBox)(target));

            #line 123 "..\..\MainWindow.xaml"
                this.txtPassive.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 23:
                this.txtLanguages = ((System.Windows.Controls.TextBox)(target));

            #line 125 "..\..\MainWindow.xaml"
                this.txtLanguages.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 24:
                this.txtCR = ((System.Windows.Controls.TextBox)(target));

            #line 127 "..\..\MainWindow.xaml"
                this.txtCR.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 25:
                this.txtReaction = ((System.Windows.Controls.TextBox)(target));

            #line 129 "..\..\MainWindow.xaml"
                this.txtReaction.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 26:
                this.txtSpells = ((System.Windows.Controls.TextBox)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.txtSpells.LostFocus += new System.Windows.RoutedEventHandler(this.CustomText_LostFocus);

            #line default
            #line hidden
                return;

            case 27:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.MainCharacterSheet = ((DnD.Character.Sheet)(target));
                return;

            case 29:
                this.btnOOTAEncounterGen = ((System.Windows.Controls.Button)(target));

            #line 196 "..\..\MainWindow.xaml"
                this.btnOOTAEncounterGen.Click += new System.Windows.RoutedEventHandler(this.btnOOTAEncounterGen_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.btnNPC = ((System.Windows.Controls.Button)(target));

            #line 197 "..\..\MainWindow.xaml"
                this.btnNPC.Click += new System.Windows.RoutedEventHandler(this.btnNPC_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btnCharacterSheet = ((System.Windows.Controls.Button)(target));

            #line 198 "..\..\MainWindow.xaml"
                this.btnCharacterSheet.Click += new System.Windows.RoutedEventHandler(this.btnCharacterSheet_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.textBox_Copy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.textBox_Copy1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.textBox_Copy2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.textBox_Copy3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.textBox_Copy4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.textBox_Copy5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.textBox_Copy6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.textBox_Copy7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.textBox_Copy8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.textBox_Copy9 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.textBox_Copy10 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.textBox_Copy11 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.textBox_Copy12 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.textBox_Copy13 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.textBox_Copy14 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 48:
                this.textBox_Copy15 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 49:
                this.textBox_Copy16 = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }