Beispiel #1
0
        /// <summary>
        /// 外注先商品売価設定ボタン押下時のイベント処理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void GaichuButton_Click(object sender, RoutedEventArgs e)
        {
            MST18010 mstForm = new MST18010();

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

            mstForm.ShowDialog(this);
        }
Beispiel #2
0
        /// <summary>
        /// 外注先商品売価設定ボタン押下時のイベント処理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnGaiShoKakoSet_Click(object sender, RoutedEventArgs e)
        {
            MST18010 form = new MST18010();

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

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

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

            #line default
            #line hidden

            #line 18 "..\..\..\..\Views\MST\MST18010.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 46 "..\..\..\..\Views\MST\MST18010.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:
                this.GAITHUSAKI = ((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 217 "..\..\..\..\Views\MST\MST18010.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.GAITHU_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 280 "..\..\..\..\Views\MST\MST18010.xaml"
                this.SearchGrid.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.SearchGrid_CellEditEnding);

            #line default
            #line hidden

            #line 280 "..\..\..\..\Views\MST\MST18010.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;
        }