Пример #1
0
        /// <summary>
        /// 仕入先商品売価設定ボタン押下時のイベント処理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ShiireButton_Click(object sender, RoutedEventArgs e)
        {
            MST17010 mstForm = new MST17010();

            mstForm.SendFormId = (int)MST17010.SEND_FORM.品番マスタ;
            mstForm.HinbanCode = int.Parse(品番コード);
            mstForm.ItemNumber = this.MyProductCode.Text;
            mstForm.ColorCode  = this.ColorCode.Text1;

            mstForm.ShowDialog(this);
        }
Пример #2
0
        /// <summary>
        /// 仕入先商品売価設定ボタン押下時のイベント処理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnShiShoGenkaSet_Click(object sender, RoutedEventArgs e)
        {
            MST17010 form = new MST17010();

            // 必要情報をプロパティに設定
            form.SendFormId   = (int)MST19010.SEND_FORM.取引先マスタ;
            form.SupplierCode = this.TORI_CODE.Text;
            form.SupplierEda  = this.TORI_EDA.Text;

            // 画面を表示する
            form.Show(this);
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainForm = ((KyoeiSystem.Application.Windows.Views.MST17010)(target));

            #line 19 "..\..\..\..\Views\MST\MST17010.xaml"
                this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 19 "..\..\..\..\Views\MST\MST17010.xaml"
                this.MainForm.Closed += new System.EventHandler(this.MainWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.BaseGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:

            #line 47 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 59 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 63 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 73 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 78 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 82 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 93 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 95 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 97 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 99 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 108 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 110 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 112 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 121 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 123 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 125 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 127 "..\..\..\..\Views\MST\MST17010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.SHIIRESAKI = ((KyoeiSystem.Application.Windows.Views.M01_TOK_TextBox)(target));
                return;

            case 21:
                this.HINBAN = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTwinTextBox)(target));
                return;

            case 22:
                this.COLOR = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTwinTextBox)(target));
                return;

            case 23:
                this.BtnStart = ((System.Windows.Controls.Button)(target));

            #line 219 "..\..\..\..\Views\MST\MST17010.xaml"
                this.BtnStart.Click += new System.Windows.RoutedEventHandler(this.BtnStart_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.HINGUN = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTwinTextBox)(target));
                return;

            case 25:
                this.ITEM_KBN = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTextRadioButton)(target));
                return;

            case 26:
                this.SHIIRE_NAME = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTextBox)(target));
                return;

            case 27:
                this.ITEM_NAME = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTextBox)(target));
                return;

            case 28:
                this.SearchGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 277 "..\..\..\..\Views\MST\MST17010.xaml"
                this.SearchGrid.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.SearchGrid_CellEditEnding);

            #line default
            #line hidden

            #line 277 "..\..\..\..\Views\MST\MST17010.xaml"
                this.SearchGrid.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.SearchGrid_BeginningEdit);

            #line default
            #line hidden
                return;

            case 29:
                this.Grid_SupplierCode = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.Grid_SupplierEda = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.Grid_SupplierName = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.Grid_ProductNumber = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.Grid_ProductName = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.Grid_Price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.Grid_Delete = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }