コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._frameViewer = ((SDE.Tools.ActViewer.FrameViewer)(target));
                return;

            case 2:
                this._selector = ((SDE.Tools.ActViewer.CompactActIndexSelector)(target));
                return;

            case 3:
                this._listView = ((TokeiLibrary.WpfBugFix.RangeListView)(target));
                return;

            case 4:
                this._gridSpriteMissing = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this._tbSpriteMissing = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        public void Init(FrameViewer viewer)
        {
            _viewer        = viewer;
            ActionChanged += _frameSelector_ActionChanged;
            _sbFrameIndex.ValueChanged += _sbFrameIndex_ValueChanged;
            _tbFrameIndex.TextChanged  += _tbFrameIndex_TextChanged;

            _sbFrameIndex.SmallChange = 1;
            _sbFrameIndex.LargeChange = 1;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._gridColumnPrimary = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 2:
                this._lvItems = ((TokeiLibrary.WpfBugFix.RangeListView)(target));
                return;

            case 3:
                this._buttonDelete = ((System.Windows.Controls.MenuItem)(target));

            #line 35 "..\..\..\..\..\View\Dialogs\ShopSimulatorDialog.xaml"
                this._buttonDelete.Click += new System.Windows.RoutedEventHandler(this._buttonDelete_Click);

            #line default
            #line hidden
                return;

            case 4:
                this._buttonNew = ((System.Windows.Controls.MenuItem)(target));

            #line 36 "..\..\..\..\..\View\Dialogs\ShopSimulatorDialog.xaml"
                this._buttonNew.Click += new System.Windows.RoutedEventHandler(this._buttonNew_Click);

            #line default
            #line hidden
                return;

            case 5:
                this._buttonUp = ((System.Windows.Controls.MenuItem)(target));

            #line 37 "..\..\..\..\..\View\Dialogs\ShopSimulatorDialog.xaml"
                this._buttonUp.Click += new System.Windows.RoutedEventHandler(this._buttonUp_Click);

            #line default
            #line hidden
                return;

            case 6:
                this._buttonDown = ((System.Windows.Controls.MenuItem)(target));

            #line 38 "..\..\..\..\..\View\Dialogs\ShopSimulatorDialog.xaml"
                this._buttonDown.Click += new System.Windows.RoutedEventHandler(this._buttonDown_Click);

            #line default
            #line hidden
                return;

            case 7:
                this._cbColorZeny = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this._cbDiscount = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this._cbUseViewId = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            case 12:
                this._buttonQueryItem = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this._buttonResetPrice = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this._frameViewer = ((SDE.Tools.ActViewer.FrameViewer)(target));
                return;

            case 15:
                this._actIndexSelected = ((SDE.Tools.ActViewer.CompactActIndexSelector)(target));
                return;

            case 16:
                this._comboBoxShopType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

            case 21:
                this._buttonViewIdQuery = ((System.Windows.Controls.Button)(target));
                return;

            case 22:
                this._buttonCurItemQuery = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this._shop = ((ICSharpCode.AvalonEdit.TextEditor)(target));
                return;

            case 24:
                this._buttonCancel = ((System.Windows.Controls.Button)(target));

            #line 142 "..\..\..\..\..\View\Dialogs\ShopSimulatorDialog.xaml"
                this._buttonCancel.Click += new System.Windows.RoutedEventHandler(this._buttonCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }