public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/%E3%82%B3%E3%83%94%E3%83%BC%20" +
                                                                   "%EF%BD%9E%20Utl_MstPerson.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy        = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey  = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle        = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId           = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID           = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode         = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.lblName         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblCompanyGroup = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCompanyGroup")));
     this.utlCompanyGroup = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup")));
     this.lblDisplay      = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay      = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark       = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/Dlg/Report/Dlg_ReportSetting.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dlgThemeShinyBlue    = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeShinyBlue)(this.FindName("dlgThemeShinyBlue")));
     this.dlgThemeTwilightBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeTwilightBlue)(this.FindName("dlgThemeTwilightBlue")));
     this.txtDummy             = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.Main                 = ((System.Windows.Controls.Grid)(this.FindName("Main")));
     this.cmbReportSize        = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbReportSize")));
     this.rdoVertical          = ((System.Windows.Controls.RadioButton)(this.FindName("rdoVertical")));
     this.rdoHorizontal        = ((System.Windows.Controls.RadioButton)(this.FindName("rdoHorizontal")));
     this.rdoOriDefault        = ((System.Windows.Controls.RadioButton)(this.FindName("rdoOriDefault")));
     this.txtLeftMargin        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtLeftMargin")));
     this.txtRightMargin       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtRightMargin")));
     this.txtTopMargin         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTopMargin")));
     this.txtButtomMargin      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtButtomMargin")));
     this.stpReportRange       = ((System.Windows.Controls.Border)(this.FindName("stpReportRange")));
     this.tbkGroup             = ((System.Windows.Controls.TextBlock)(this.FindName("tbkGroup")));
     this.utlCompanyGroup_F    = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup_F")));
     this.utlCompanyGroup_T    = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup_T")));
     this.stpGroupTotal        = ((System.Windows.Controls.StackPanel)(this.FindName("stpGroupTotal")));
     this.tbkGroupTotal        = ((System.Windows.Controls.TextBlock)(this.FindName("tbkGroupTotal")));
     this.rdoGroupTotalKbnNasi = ((System.Windows.Controls.RadioButton)(this.FindName("rdoGroupTotalKbnNasi")));
     this.rdoGroupTotalKbnAri  = ((System.Windows.Controls.RadioButton)(this.FindName("rdoGroupTotalKbnAri")));
     this.stpTotalKbn          = ((System.Windows.Controls.Border)(this.FindName("stpTotalKbn")));
     this.cmbTotalKbn          = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbTotalKbn")));
     this.utlFunctionKey       = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.utlDummy             = ((SlvHanbaiClient.Class.UI.ExUserControl)(this.FindName("utlDummy")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstUser.xaml", System.UriKind.Relative));
     this.LayoutRoot              = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy                = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey          = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle                = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId                   = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.cmbLoginId              = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbLoginId")));
     this.utlMode                 = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.stpInput                = ((System.Windows.Controls.StackPanel)(this.FindName("stpInput")));
     this.lblLoginId              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblLoginId")));
     this.txtLoginId              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtLoginId")));
     this.lblLoginPassword        = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblLoginPassword")));
     this.txtLoginPassword        = ((System.Windows.Controls.PasswordBox)(this.FindName("txtLoginPassword")));
     this.lblLoginPasswordConfirm = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblLoginPasswordConfirm")));
     this.txtLoginPasswordConfirm = ((System.Windows.Controls.PasswordBox)(this.FindName("txtLoginPasswordConfirm")));
     this.lblName                 = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName                 = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblCompanyGroup         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCompanyGroup")));
     this.utlCompanyGroup         = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup")));
     this.lblPerson               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPerson")));
     this.utlPerson               = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson")));
     this.lblDisplay              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay              = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo                 = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
     this.utlDummy                = ((SlvHanbaiClient.Class.UI.ExUserControl)(this.FindName("utlDummy")));
 }
        private void ExUserControl_Loaded(object sender, RoutedEventArgs e)
        {
            //System.Globalization.CultureInfo Culture = new System.Globalization.CultureInfo(Thread.CurrentThread.CurrentCulture.Name);
            //// SelectedDateFormat=Shortのパターン
            //Culture.DateTimeFormat.ShortDatePattern = "yyyy/MM";
            //// SelectedDateFormat=Longのパターン
            //Culture.DateTimeFormat.LongDatePattern = "ggy'年'M'月'";
            //Thread.CurrentThread.CurrentCulture = Culture;

            this.utlFKey = ExVisualTreeHelper.GetUtlFunctionKey(this.LayoutRoot);
            this.utlFKey.gFunctionKeyEnable = Utl_FunctionKey.geFunctionKeyEnable.Init;

            // 処理棚卸日初期設定
            DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datYmd, ref this.datYmd);

            //if (Common.gWinGroupType == Common.geWinGroupType.InpDetailReport && this.utlFKey != null)
            //{
            //    this.utlFKey.btnF6.Content = "     F6     " + Environment.NewLine;
            //    this.utlFKey.btnF6.IsEnabled = false;
            //}
            this.utlFKey.btnF6.Content = "     F6     " + Environment.NewLine;
            this.utlFKey.btnF6.IsEnabled = false;

            Init_SearchDisplay();
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Utl_InpMain.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.InpHeader = ((System.Windows.Controls.Grid)(this.FindName("InpHeader")));
     this.UserCtlFKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("UserCtlFKey")));
     this.Rectangle2 = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle2")));
     this.InpDetail = ((System.Windows.Controls.Grid)(this.FindName("InpDetail")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/DataForm/Utl_DataFormOrder.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DataForm = ((SlvHanbaiClient.Class.UI.ExDataForm)(this.FindName("DataForm")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.txtBefore = ((System.Windows.Controls.TextBlock)(this.FindName("txtBefore")));
     this.txtNext = ((System.Windows.Controls.TextBlock)(this.FindName("txtNext")));
     this.recAdd = ((System.Windows.Shapes.Rectangle)(this.FindName("recAdd")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/Dlg/Dlg_InpSearch.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.GridMain = ((System.Windows.Controls.Grid)(this.FindName("GridMain")));
     this.utlInpSearchOrder = ((SlvHanbaiClient.View.UserControl.Input.Sales.Utl_InpSearchOrder)(this.FindName("utlInpSearchOrder")));
     this.dlgThemeShinyBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeShinyBlue)(this.FindName("dlgThemeShinyBlue")));
     this.dlgThemeTwilightBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeTwilightBlue)(this.FindName("dlgThemeTwilightBlue")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCondition.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.dg = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg")));
 }
示例#9
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCompany.xaml", System.UriKind.Relative));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy            = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey      = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle            = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblName             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName             = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana             = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.utlZip              = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblTel              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail             = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.txtUrl              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtUrl")));
     this.tabMainMenu         = ((System.Windows.Controls.TabControl)(this.FindName("tabMainMenu")));
     this.tabItem1            = ((System.Windows.Controls.TabItem)(this.FindName("tabItem1")));
     this.txtCustomerIdFg     = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCustomerIdFg")));
     this.txtPurchaseIdFg     = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseIdFg")));
     this.txtCommdityIdFg     = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCommdityIdFg")));
     this.txtDenNoFg          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtDenNoFg")));
     this.txtGroupDisplayNm   = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtGroupDisplayNm")));
     this.tabItem2            = ((System.Windows.Controls.TabItem)(this.FindName("tabItem2")));
     this.txtEstimateYmd      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateYmd")));
     this.txtEstimateCnt      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateCnt")));
     this.txtOrderYmd         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderYmd")));
     this.txtOrderCnt         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderCnt")));
     this.txtSalesYmd         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesYmd")));
     this.txtSalesCnt         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCnt")));
     this.txtReceiptYmd       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptYmd")));
     this.txtReceiptCnt       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptCnt")));
     this.txtPurchaseOrderYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderYmd")));
     this.txtPurchaseOrderCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderCnt")));
     this.txtPurchaseYmd      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseYmd")));
     this.txtPurchaseCnt      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseCnt")));
     this.txtCashPaymentYmd   = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentYmd")));
     this.txtCashPaymentCnt   = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentCnt")));
     this.txtProduceYmd       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceYmd")));
     this.txtProduceCnt       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceCnt")));
     this.txtShipYmd          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipYmd")));
     this.txtShipCnt          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipCnt")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Utl_InpMain.xaml", System.UriKind.Relative));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.InpHeader   = ((System.Windows.Controls.Grid)(this.FindName("InpHeader")));
     this.UserCtlFKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("UserCtlFKey")));
     this.Rectangle2  = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle2")));
     this.InpDetail   = ((System.Windows.Controls.Grid)(this.FindName("InpDetail")));
 }
示例#11
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCondition.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy       = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle       = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.utlMode        = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.dg             = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg")));
 }
示例#12
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/DataForm/Utl_DataFormMstPerson.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DataForm       = ((SlvHanbaiClient.Class.UI.ExDataForm)(this.FindName("DataForm")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.txtBefore      = ((System.Windows.Controls.TextBlock)(this.FindName("txtBefore")));
     this.txtNext        = ((System.Windows.Controls.TextBlock)(this.FindName("txtNext")));
     this.recAdd         = ((System.Windows.Shapes.Rectangle)(this.FindName("recAdd")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/Dlg/Dlg_InpSearch.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.utlFunctionKey       = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.GridMain             = ((System.Windows.Controls.Grid)(this.FindName("GridMain")));
     this.utlInpSearchOrder    = ((SlvHanbaiClient.View.UserControl.Input.Sales.Utl_InpSearchOrder)(this.FindName("utlInpSearchOrder")));
     this.dlgThemeShinyBlue    = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeShinyBlue)(this.FindName("dlgThemeShinyBlue")));
     this.dlgThemeTwilightBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeTwilightBlue)(this.FindName("dlgThemeTwilightBlue")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Report/Utl_Report.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.Main = ((System.Windows.Controls.Grid)(this.FindName("Main")));
     this.lblID = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblID")));
     this.utlID_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID_F")));
     this.utlID_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID_T")));
     this.lblOrderYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderYmd")));
     this.datUpdateYmd = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datUpdateYmd")));
     this.cmbOrder = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbOrder")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
 }
示例#15
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstSupplier.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy        = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey  = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle        = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblCustomer     = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCustomer")));
     this.utlCustomer     = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCustomer")));
     this.MainDetail      = ((System.Windows.Controls.StackPanel)(this.FindName("MainDetail")));
     this.lblId           = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID           = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode         = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.btnCustomerCopy = ((System.Windows.Controls.Button)(this.FindName("btnCustomerCopy")));
     this.lblName         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.lblAdoutName    = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblAdoutName")));
     this.txtAdoutName    = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAdoutName")));
     this.utlZip          = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblStationName  = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblStationName")));
     this.txtStationName  = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtStationName")));
     this.lblPersonName   = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPersonName")));
     this.txtPersonName   = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPersonName")));
     this.lblPostName     = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPostName")));
     this.txtPostName     = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPostName")));
     this.lblTitle_       = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle_")));
     this.utlTitle        = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTitle")));
     this.lblTel          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.lblDisplay      = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay      = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark       = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Report/%E3%82%B3%E3%83%94%E3%83%BC%20" +
                                                                   "%EF%BD%9E%20Utl_Report.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Main           = ((System.Windows.Controls.Grid)(this.FindName("Main")));
     this.lblID          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblID")));
     this.utlID_F        = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID_F")));
     this.utlID_T        = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID_T")));
     this.lblOrderYmd    = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderYmd")));
     this.datUpdateYmd   = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datUpdateYmd")));
     this.cmbOrder       = ((System.Windows.Controls.ComboBox)(this.FindName("cmbOrder")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstPerson.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.lblName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblCompanyGroup = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCompanyGroup")));
     this.utlCompanyGroup = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup")));
     this.lblDisplay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstAuthority.xaml", System.UriKind.Relative));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy            = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey      = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle            = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblUser             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUser")));
     this.cmbUser             = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbUser")));
     this.utlMode             = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.stpAll              = ((System.Windows.Controls.StackPanel)(this.FindName("stpAll")));
     this.borAll              = ((System.Windows.Controls.Border)(this.FindName("borAll")));
     this.chkAll              = ((System.Windows.Controls.CheckBox)(this.FindName("chkAll")));
     this.stpSales            = ((System.Windows.Controls.StackPanel)(this.FindName("stpSales")));
     this.chkSales            = ((System.Windows.Controls.CheckBox)(this.FindName("chkSales")));
     this.chkEstimateInp      = ((System.Windows.Controls.CheckBox)(this.FindName("chkEstimateInp")));
     this.chkEstimateApproval = ((System.Windows.Controls.CheckBox)(this.FindName("chkEstimateApproval")));
     this.stpSalesReport      = ((System.Windows.Controls.StackPanel)(this.FindName("stpSalesReport")));
     this.chkSalesReport      = ((System.Windows.Controls.CheckBox)(this.FindName("chkSalesReport")));
     this.stpPurchase         = ((System.Windows.Controls.StackPanel)(this.FindName("stpPurchase")));
     this.chkPurchase         = ((System.Windows.Controls.CheckBox)(this.FindName("chkPurchase")));
     this.stpPurchaseReport   = ((System.Windows.Controls.StackPanel)(this.FindName("stpPurchaseReport")));
     this.chkPurcharseReport  = ((System.Windows.Controls.CheckBox)(this.FindName("chkPurcharseReport")));
     this.stpSetting          = ((System.Windows.Controls.StackPanel)(this.FindName("stpSetting")));
     this.chkSetting          = ((System.Windows.Controls.CheckBox)(this.FindName("chkSetting")));
     this.stpSupport          = ((System.Windows.Controls.StackPanel)(this.FindName("stpSupport")));
     this.chkSupport          = ((System.Windows.Controls.CheckBox)(this.FindName("chkSupport")));
     this.stpReport           = ((System.Windows.Controls.StackPanel)(this.FindName("stpReport")));
     this.chkReport           = ((System.Windows.Controls.CheckBox)(this.FindName("chkReport")));
     this.utlDummy            = ((SlvHanbaiClient.Class.UI.ExUserControl)(this.FindName("utlDummy")));
 }
        private void _Init_SearchDisplay()
        {
            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            if (Common.gWinType == Common.geWinType.ListCollectPlan)
            {
                this.lblCollectPlanYmd.Content = "回収予定日";
                this.utlInvoice_F.Visibility = System.Windows.Visibility.Visible;
                this.utlInvoice_T.Visibility = System.Windows.Visibility.Visible;
                this.utlPurchase_F.Visibility = System.Windows.Visibility.Collapsed;
                this.utlPurchase_T.Visibility = System.Windows.Visibility.Collapsed;
            }
            else
            {
                this.lblCollectPlanYmd.Content = "支払予定日";
                this.utlInvoice_F.Visibility = System.Windows.Visibility.Collapsed;
                this.utlInvoice_T.Visibility = System.Windows.Visibility.Collapsed;
                this.utlPurchase_F.Visibility = System.Windows.Visibility.Visible;
                this.utlPurchase_T.Visibility = System.Windows.Visibility.Visible;
            }

            // ファンクションキー初期設定
            utlFKey = ExVisualTreeHelper.GetUtlFunctionKey(this);
            this.utlFKey.Init();

            // レポート初期設定
            this.utlReport.gPageType = Common.gPageType;
            this.utlReport.gWinMsterType = Common.geWinMsterType.None;
            this.utlReport.parentUtl = this;
            this.utlReport.Init();

            entityList = null;
            this.dg.ItemsSource = null;
            this.dg.ItemsSource = entityList;

            switch (Common.gWinGroupType)
            {
                case Common.geWinGroupType.InpList:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Month, ref this.datCollectPlanYmd_F, ref this.datCollectPlanYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Visible;

                    break;
                case Common.geWinGroupType.InpListReport:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datCollectPlanYmd_F, ref this.datCollectPlanYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Collapsed;

                    break;
                case Common.geWinGroupType.InpDetailReport:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datCollectPlanYmd_F, ref this.datCollectPlanYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Visible;
                    this.dg.ItemsSource = null;
                    this.dg.ItemsSource = entityList;

                    this.utlFKey.btnF6.Content = "     F6     " + Environment.NewLine;
                    this.utlFKey.btnF6.IsEnabled = false;

                    break;
            }

            SetBinding();

            GetListData();
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCommodity.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.lblName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.lblUnit = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnit")));
     this.utlUnit = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlUnit")));
     this.lblEnterNumver = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblEnterNumver")));
     this.txtEnterNumver = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEnterNumver")));
     this.lblNumverDecimalDigit = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblNumverDecimalDigit")));
     this.txtNumverDecimalDigit = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtNumverDecimalDigit")));
     this.lblUnitDecimalDigit = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnitDecimalDigit")));
     this.txtUnitDecimalDigit = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtUnitDecimalDigit")));
     this.lblTaxationDivisionID = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTaxationDivisionID")));
     this.utlTaxationDivisionID = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTaxationDivisionID")));
     this.lblInventoryDivisionId = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInventoryDivisionId")));
     this.utlInventoryDivisionId = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlInventoryDivisionId")));
     this.lblPurchaseLot = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPurchaseLot")));
     this.txtPurchaseLot = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseLot")));
     this.lblJustInventoryNumber = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblJustInventoryNumber")));
     this.txtJustInventoryNumber = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtJustInventoryNumber")));
     this.lblInventoryNumber = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInventoryNumber")));
     this.txtInventoryNumber = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtInventoryNumber")));
     this.btnInventory = ((System.Windows.Controls.Button)(this.FindName("btnInventory")));
     this.lblMainPurchaseId = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMainPurchaseId")));
     this.utlMainPurchaseId = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlMainPurchaseId")));
     this.lblLeadTime = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblLeadTime")));
     this.txtLeadTime = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtLeadTime")));
     this.lblUnitPrice = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnitPrice")));
     this.lblSkipTax = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSkipTax")));
     this.lblBeforeTax = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblBeforeTax")));
     this.lblRetailPrice = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRetailPrice")));
     this.txtRetailPriceSkipTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtRetailPriceSkipTax")));
     this.txtRetailPriceBeforeTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtRetailPriceBeforeTax")));
     this.lblSalesUnit = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesUnit")));
     this.txtSalesUnitSkipTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesUnitSkipTax")));
     this.txtSalesUnitBeforeTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesUnitBeforeTax")));
     this.lblSalesCost = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesCost")));
     this.txtSalesCostSkipTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCostSkipTax")));
     this.txtSalesCostBeforeTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCostBeforeTax")));
     this.lblPurchaseUnit = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPurchaseUnit")));
     this.txtPurchaseUnitSkipTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseUnitSkipTax")));
     this.txtPurchaseUnitBeforeTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseUnitBeforeTax")));
     this.lblGroup1 = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblGroup1")));
     this.utlGroup1 = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlGroup1")));
     this.lblDisplay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/Dlg/Report/Dlg_ReportSetting.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dlgThemeShinyBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeShinyBlue)(this.FindName("dlgThemeShinyBlue")));
     this.dlgThemeTwilightBlue = ((SlvHanbaiClient.View.Dlg.Theme.Dlg_ThemeTwilightBlue)(this.FindName("dlgThemeTwilightBlue")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.Main = ((System.Windows.Controls.Grid)(this.FindName("Main")));
     this.cmbReportSize = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbReportSize")));
     this.rdoVertical = ((System.Windows.Controls.RadioButton)(this.FindName("rdoVertical")));
     this.rdoHorizontal = ((System.Windows.Controls.RadioButton)(this.FindName("rdoHorizontal")));
     this.rdoOriDefault = ((System.Windows.Controls.RadioButton)(this.FindName("rdoOriDefault")));
     this.txtLeftMargin = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtLeftMargin")));
     this.txtRightMargin = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtRightMargin")));
     this.txtTopMargin = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTopMargin")));
     this.txtButtomMargin = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtButtomMargin")));
     this.stpReportRange = ((System.Windows.Controls.Border)(this.FindName("stpReportRange")));
     this.tbkGroup = ((System.Windows.Controls.TextBlock)(this.FindName("tbkGroup")));
     this.utlCompanyGroup_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup_F")));
     this.utlCompanyGroup_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup_T")));
     this.stpGroupTotal = ((System.Windows.Controls.StackPanel)(this.FindName("stpGroupTotal")));
     this.tbkGroupTotal = ((System.Windows.Controls.TextBlock)(this.FindName("tbkGroupTotal")));
     this.rdoGroupTotalKbnNasi = ((System.Windows.Controls.RadioButton)(this.FindName("rdoGroupTotalKbnNasi")));
     this.rdoGroupTotalKbnAri = ((System.Windows.Controls.RadioButton)(this.FindName("rdoGroupTotalKbnAri")));
     this.stpTotalKbn = ((System.Windows.Controls.Border)(this.FindName("stpTotalKbn")));
     this.cmbTotalKbn = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbTotalKbn")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.utlDummy = ((SlvHanbaiClient.Class.UI.ExUserControl)(this.FindName("utlDummy")));
 }
        private void ExUserControl_Loaded(object sender, RoutedEventArgs e)
        {
            if (Common.gblnLogin == false) return;

            this.utlNo._ExUserControl_LostFocus -= this.utlNo_LostFocus;
            this.utlNo._ExUserControl_LostFocus += this.utlNo_LostFocus;

            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            // ファンクションキー初期設定
            this.utlFunctionKey = ExVisualTreeHelper.GetUtlFunctionKey(this.LayoutRoot);
            this.utlFunctionKey.gFunctionKeyEnable = Utl_FunctionKey.geFunctionKeyEnable.Init;

            if (Common.gintEstimateApprovalFlg == 0)
            {
                this.lblState.Visibility = System.Windows.Visibility.Collapsed;
                this.utlState.Visibility = System.Windows.Visibility.Collapsed;
                this.tblState.Width = this.tblState.Width + 220;
            }

            // バインド設定
            this.utlCustomer.utlSupplier = this.utlSupply;
            SetBinding();
            
            // 明細追加
            this.RecordAdd();

            dg.ItemsSource = _entityListD;

            ExBackgroundWorker.DoWork_Focus(this.utlNo.txtID, 10);
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCompanyGroup.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.btnCompanyCopy = ((System.Windows.Controls.Button)(this.FindName("btnCompanyCopy")));
     this.lblName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.utlZip = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblTel = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.txtUrl = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtUrl")));
     this.lblRemark = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
     this.lblDisplay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.tabMainMenu = ((System.Windows.Controls.TabControl)(this.FindName("tabMainMenu")));
     this.tabItem2 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem2")));
     this.rdoApprovalAri = ((System.Windows.Controls.RadioButton)(this.FindName("rdoApprovalAri")));
     this.rdoApprovalNasi = ((System.Windows.Controls.RadioButton)(this.FindName("rdoApprovalNasi")));
     this.tabItem3 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem3")));
     this.txtBankName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtBankName")));
     this.txtBranchName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtBranchName")));
     this.txtAccountNo = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAccountNo")));
     this.txtAccountName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAccountName")));
     this.txtAccountKana = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAccountKana")));
     this.rdoInvvoicePrintAri = ((System.Windows.Controls.RadioButton)(this.FindName("rdoInvvoicePrintAri")));
     this.rdoInvvoicePrintNasi = ((System.Windows.Controls.RadioButton)(this.FindName("rdoInvvoicePrintNasi")));
     this.tabItem1 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem1")));
     this.txtEstimateYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateYmd")));
     this.txtEstimateCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateCnt")));
     this.utlEstimateNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlEstimateNo")));
     this.txtOrderYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderYmd")));
     this.txtOrderCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderCnt")));
     this.utlOrderNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlOrderNo")));
     this.txtSalesYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesYmd")));
     this.txtSalesCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCnt")));
     this.utlSalesNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlSalesNo")));
     this.txtReceiptYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptYmd")));
     this.txtReceiptCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptCnt")));
     this.utlReceiptNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlReceiptNo")));
     this.txtPurchaseOrderYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderYmd")));
     this.txtPurchaseOrderCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderCnt")));
     this.utlPurchaseOrderNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlPurchaseOrderNo")));
     this.txtPurchaseYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseYmd")));
     this.txtPurchaseCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseCnt")));
     this.utlPurchaseNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlPurchaseNo")));
     this.txtCashPaymentYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentYmd")));
     this.txtCashPaymentCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentCnt")));
     this.utlCashPaymentNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlCashPaymentNo")));
     this.txtProduceYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceYmd")));
     this.txtProduceCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceCnt")));
     this.utlProduceNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlProduceNo")));
     this.txtShipYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipYmd")));
     this.txtShipCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipCnt")));
     this.utlShipNo = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlShipNo")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstPurchase.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.lblName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.lblAdoutName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblAdoutName")));
     this.txtAdoutName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAdoutName")));
     this.utlZip = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblStationName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblStationName")));
     this.txtStationName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtStationName")));
     this.lblPersonName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPersonName")));
     this.txtPersonName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPersonName")));
     this.lblPostName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPostName")));
     this.txtPostName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPostName")));
     this.lblTitle_ = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle_")));
     this.utlTitle = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTitle")));
     this.lblTel = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.lblExchange = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblExchange")));
     this.utlBusiness = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlBusiness")));
     this.lblUnitKind = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnitKind")));
     this.utlUnitKind = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlUnitKind")));
     this.lblCreditRate = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCreditRate")));
     this.txtCreditRate = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCreditRate")));
     this.lblTaxChange = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTaxChange")));
     this.utlTaxChange = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTaxChange")));
     this.lblSummingUp = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSummingUp")));
     this.utlSummingUp = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSummingUp")));
     this.lblReceiptDivision = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblReceiptDivision")));
     this.utlPaymentDivision = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPaymentDivision")));
     this.lblCollectCycle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCollectCycle")));
     this.utlPaymentCycle = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlPaymentCycle")));
     this.lblCollectDay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCollectDay")));
     this.txtPaymentDay = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPaymentDay")));
     this.lblBillSite = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblBillSite")));
     this.txtBillSite = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtBillSite")));
     this.lblPriceFractionProc = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPriceFractionProc")));
     this.utlPriceFractionProc = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlPriceFractionProc")));
     this.lblTaxFractionProc = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTaxFractionProc")));
     this.utlTaxFractionProc = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTaxFractionProc")));
     this.lblSalesLimitPrice = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesLimitPrice")));
     this.txtSalesLimitPrice = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesLimitPrice")));
     this.btnSalesBalance = ((System.Windows.Controls.Button)(this.FindName("btnSalesBalance")));
     this.lblGroup1 = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblGroup1")));
     this.utlGroup1 = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlGroup1")));
     this.lblDisplay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
        private void _Init_SearchDisplay()
        {
            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            if (Common.gWinType == Common.geWinType.ListPurchaseMonth)
            {
                lblPruchaseYmd.Content = "仕入年月";
                System.Globalization.CultureInfo Culture = new System.Globalization.CultureInfo(Thread.CurrentThread.CurrentCulture.Name);
                // SelectedDateFormat=Shortのパターン
                Culture.DateTimeFormat.ShortDatePattern = "yyyy/MM";
                // SelectedDateFormat=Longのパターン
                Culture.DateTimeFormat.LongDatePattern = "ggy'年'M'月'";
                Thread.CurrentThread.CurrentCulture = Culture;
            }
            else if (Common.gWinType == Common.geWinType.ListPurchaseChange)
            {
                lblPruchaseYmd.Content = "仕入年";
                System.Globalization.CultureInfo Culture = new System.Globalization.CultureInfo(Thread.CurrentThread.CurrentCulture.Name);
                // SelectedDateFormat=Shortのパターン
                Culture.DateTimeFormat.ShortDatePattern = "yyyy";
                // SelectedDateFormat=Longのパターン
                Culture.DateTimeFormat.LongDatePattern = "ggy'年'";
                Thread.CurrentThread.CurrentCulture = Culture;
            }

            // ファンクションキー初期設定
            utlFKey = ExVisualTreeHelper.GetUtlFunctionKey(this);
            this.utlFKey.Init();

            // レポート初期設定
            this.utlReport.gPageType = Common.gPageType;
            this.utlReport.gWinMsterType = Common.geWinMsterType.None;
            this.utlReport.parentUtl = this;
            this.utlReport.Init();

            this.lst.Clear();
            this.dg.ItemsSource = null;
            this.dg.ItemsSource = lst;
            this.dgSelect.ItemsSource = null;
            this.dgSelect.ItemsSource = lst;

            switch (Common.gWinGroupType)
            {
                case Common.geWinGroupType.InpList:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Month, ref this.datPurchaseYmd_F, ref this.datPurchaseYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Visible;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Collapsed;

                    break;
                case Common.geWinGroupType.InpListReport:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datPurchaseYmd_F, ref this.datPurchaseYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Collapsed;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Visible;

                    break;
                case Common.geWinGroupType.InpDetailReport:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datPurchaseYmd_F, ref this.datPurchaseYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Visible;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Collapsed;
                    this.dg.ItemsSource = null;
                    this.dg.ItemsSource = lst;

                    this.utlFKey.btnF6.Content = "     F6     " + Environment.NewLine;
                    this.utlFKey.btnF6.IsEnabled = false;

                    break;
            }

            SetBinding();

            GetListData();
        }
        private void ExUserControl_Loaded(object sender, RoutedEventArgs e)
        {
            if (Common.gblnLogin == false) return;

            this.utlNo._ExUserControl_LostFocus -= this.utlNo_LostFocus;
            this.utlNo._ExUserControl_LostFocus += this.utlNo_LostFocus;

            this.utlSendKbn.ID_TextChanged -= this.sendKbn_TextChanged;
            this.utlSendKbn.ID_TextChanged += this.sendKbn_TextChanged;

            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            // ファンクションキー初期設定
            this.utlFunctionKey = ExVisualTreeHelper.GetUtlFunctionKey(this.LayoutRoot);
            this.utlFunctionKey.gFunctionKeyEnable = Utl_FunctionKey.geFunctionKeyEnable.Init;

            // バインド設定
            this.utlPurchase.utlSupplier = this.utlCustomer;
            SetBinding();

            // 明細追加
            this.RecordAdd();

            dg.ItemsSource = _entityListD;

            ExBackgroundWorker.DoWork_Focus(this.utlNo.txtID, 10);
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCommodity.xaml", System.UriKind.Relative));
     this.LayoutRoot               = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy                 = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey           = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle                 = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId                    = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID                    = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode                  = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.lblName                  = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName                  = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana                  = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana                  = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.lblUnit                  = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnit")));
     this.utlUnit                  = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlUnit")));
     this.lblEnterNumver           = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblEnterNumver")));
     this.txtEnterNumver           = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEnterNumver")));
     this.lblNumverDecimalDigit    = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblNumverDecimalDigit")));
     this.txtNumverDecimalDigit    = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtNumverDecimalDigit")));
     this.lblUnitDecimalDigit      = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnitDecimalDigit")));
     this.txtUnitDecimalDigit      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtUnitDecimalDigit")));
     this.lblTaxationDivisionID    = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTaxationDivisionID")));
     this.utlTaxationDivisionID    = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTaxationDivisionID")));
     this.lblInventoryDivisionId   = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInventoryDivisionId")));
     this.utlInventoryDivisionId   = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlInventoryDivisionId")));
     this.lblPurchaseLot           = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPurchaseLot")));
     this.txtPurchaseLot           = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseLot")));
     this.lblJustInventoryNumber   = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblJustInventoryNumber")));
     this.txtJustInventoryNumber   = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtJustInventoryNumber")));
     this.lblInventoryNumber       = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInventoryNumber")));
     this.txtInventoryNumber       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtInventoryNumber")));
     this.btnInventory             = ((System.Windows.Controls.Button)(this.FindName("btnInventory")));
     this.lblMainPurchaseId        = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMainPurchaseId")));
     this.utlMainPurchaseId        = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlMainPurchaseId")));
     this.lblLeadTime              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblLeadTime")));
     this.txtLeadTime              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtLeadTime")));
     this.lblUnitPrice             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnitPrice")));
     this.lblSkipTax               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSkipTax")));
     this.lblBeforeTax             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblBeforeTax")));
     this.lblRetailPrice           = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRetailPrice")));
     this.txtRetailPriceSkipTax    = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtRetailPriceSkipTax")));
     this.txtRetailPriceBeforeTax  = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtRetailPriceBeforeTax")));
     this.lblSalesUnit             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesUnit")));
     this.txtSalesUnitSkipTax      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesUnitSkipTax")));
     this.txtSalesUnitBeforeTax    = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesUnitBeforeTax")));
     this.lblSalesCost             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesCost")));
     this.txtSalesCostSkipTax      = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCostSkipTax")));
     this.txtSalesCostBeforeTax    = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCostBeforeTax")));
     this.lblPurchaseUnit          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPurchaseUnit")));
     this.txtPurchaseUnitSkipTax   = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseUnitSkipTax")));
     this.txtPurchaseUnitBeforeTax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseUnitBeforeTax")));
     this.lblGroup1                = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblGroup1")));
     this.utlGroup1                = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlGroup1")));
     this.lblDisplay               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay               = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark                = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo                  = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstAuthority.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblUser = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUser")));
     this.cmbUser = ((SlvHanbaiClient.Class.UI.ExComboBox)(this.FindName("cmbUser")));
     this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.stpAll = ((System.Windows.Controls.StackPanel)(this.FindName("stpAll")));
     this.borAll = ((System.Windows.Controls.Border)(this.FindName("borAll")));
     this.chkAll = ((System.Windows.Controls.CheckBox)(this.FindName("chkAll")));
     this.stpSales = ((System.Windows.Controls.StackPanel)(this.FindName("stpSales")));
     this.chkSales = ((System.Windows.Controls.CheckBox)(this.FindName("chkSales")));
     this.chkEstimateInp = ((System.Windows.Controls.CheckBox)(this.FindName("chkEstimateInp")));
     this.chkEstimateApproval = ((System.Windows.Controls.CheckBox)(this.FindName("chkEstimateApproval")));
     this.stpSalesReport = ((System.Windows.Controls.StackPanel)(this.FindName("stpSalesReport")));
     this.chkSalesReport = ((System.Windows.Controls.CheckBox)(this.FindName("chkSalesReport")));
     this.stpPurchase = ((System.Windows.Controls.StackPanel)(this.FindName("stpPurchase")));
     this.chkPurchase = ((System.Windows.Controls.CheckBox)(this.FindName("chkPurchase")));
     this.stpPurchaseReport = ((System.Windows.Controls.StackPanel)(this.FindName("stpPurchaseReport")));
     this.chkPurcharseReport = ((System.Windows.Controls.CheckBox)(this.FindName("chkPurcharseReport")));
     this.stpSetting = ((System.Windows.Controls.StackPanel)(this.FindName("stpSetting")));
     this.chkSetting = ((System.Windows.Controls.CheckBox)(this.FindName("chkSetting")));
     this.stpSupport = ((System.Windows.Controls.StackPanel)(this.FindName("stpSupport")));
     this.chkSupport = ((System.Windows.Controls.CheckBox)(this.FindName("chkSupport")));
     this.stpReport = ((System.Windows.Controls.StackPanel)(this.FindName("stpReport")));
     this.chkReport = ((System.Windows.Controls.CheckBox)(this.FindName("chkReport")));
     this.utlDummy = ((SlvHanbaiClient.Class.UI.ExUserControl)(this.FindName("utlDummy")));
 }
        private void _Init_SearchDisplay() 
        {
            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            if (Common.gWinType == Common.geWinType.ListPaymentCashMonth)
            {
                lblReceiptYmd.Content = "出金年月";
                System.Globalization.CultureInfo Culture = new System.Globalization.CultureInfo(Thread.CurrentThread.CurrentCulture.Name);
                // SelectedDateFormat=Shortのパターン
                Culture.DateTimeFormat.ShortDatePattern = "yyyy/MM";
                // SelectedDateFormat=Longのパターン
                Culture.DateTimeFormat.LongDatePattern = "ggy'年'M'月'";
                Thread.CurrentThread.CurrentCulture = Culture;
            }

            this.lst.Clear();
            this.dg.ItemsSource = null;
            this.dg.ItemsSource = lst;

            // ファンクションキー初期設定
            utlFKey = ExVisualTreeHelper.GetUtlFunctionKey(this);
            this.utlFKey.Init();

            this.utlReport.gPageType = Common.gPageType;
            this.utlReport.gWinMsterType = Common.geWinMsterType.None;
            this.utlReport.parentUtl = this;
            this.utlReport.Init();

            if (Common.gWinGroupType == Common.geWinGroupType.InpList)
            {
                DataInitWhere.InitDate(DataInitWhere.geDateKbn.Month, ref this.datPaymentCashYmd_F, ref this.datPaymentCashYmd_T);
            }
            else
            {
                DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datPaymentCashYmd_F, ref this.datPaymentCashYmd_T);
            }

            if (Common.gWinGroupType != Common.geWinGroupType.InpList)
            {
                this.utlFKey.btnF6.Content = "     F6     " + Environment.NewLine;
                this.utlFKey.btnF6.IsEnabled = false;
            }

            SetBinding();

            GetListData();
        }
        private void ExUserControl_Loaded(object sender, RoutedEventArgs e)
        {
            Init();

            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            ExBackgroundWorker.DoWork_Focus(this.utlID_F.txtID, 100);
            ExBackgroundWorker.DoWork_Focus(this.utlID_F.txtID, 200);
            ExBackgroundWorker.DoWork_Focus(this.utlID_F.txtID, 300);
            ExBackgroundWorker.DoWork_Focus(this.utlID_F.txtID, 400);
            ExBackgroundWorker.DoWork_Focus(this.utlID_F.txtID, 500);

            this.utlParentFKey = this.utlFunctionKey;

            this.blClose = false;
        }
示例#31
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstPurchase.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy             = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey       = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId                = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID                = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode              = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.lblName              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.lblAdoutName         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblAdoutName")));
     this.txtAdoutName         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAdoutName")));
     this.utlZip               = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblStationName       = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblStationName")));
     this.txtStationName       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtStationName")));
     this.lblPersonName        = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPersonName")));
     this.txtPersonName        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPersonName")));
     this.lblPostName          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPostName")));
     this.txtPostName          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPostName")));
     this.lblTitle_            = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle_")));
     this.utlTitle             = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTitle")));
     this.lblTel               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel               = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax               = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.lblExchange          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblExchange")));
     this.utlBusiness          = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlBusiness")));
     this.lblUnitKind          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblUnitKind")));
     this.utlUnitKind          = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlUnitKind")));
     this.lblCreditRate        = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCreditRate")));
     this.txtCreditRate        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCreditRate")));
     this.lblTaxChange         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTaxChange")));
     this.utlTaxChange         = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTaxChange")));
     this.lblSummingUp         = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSummingUp")));
     this.utlSummingUp         = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSummingUp")));
     this.lblReceiptDivision   = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblReceiptDivision")));
     this.utlPaymentDivision   = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPaymentDivision")));
     this.lblCollectCycle      = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCollectCycle")));
     this.utlPaymentCycle      = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlPaymentCycle")));
     this.lblCollectDay        = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCollectDay")));
     this.txtPaymentDay        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPaymentDay")));
     this.lblBillSite          = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblBillSite")));
     this.txtBillSite          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtBillSite")));
     this.lblPriceFractionProc = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPriceFractionProc")));
     this.utlPriceFractionProc = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlPriceFractionProc")));
     this.lblTaxFractionProc   = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTaxFractionProc")));
     this.utlTaxFractionProc   = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTaxFractionProc")));
     this.lblSalesLimitPrice   = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesLimitPrice")));
     this.txtSalesLimitPrice   = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesLimitPrice")));
     this.btnSalesBalance      = ((System.Windows.Controls.Button)(this.FindName("btnSalesBalance")));
     this.lblGroup1            = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblGroup1")));
     this.utlGroup1            = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlGroup1")));
     this.lblDisplay           = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay           = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark            = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstSupplier.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblCustomer = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCustomer")));
     this.utlCustomer = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCustomer")));
     this.MainDetail = ((System.Windows.Controls.StackPanel)(this.FindName("MainDetail")));
     this.lblId = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.btnCustomerCopy = ((System.Windows.Controls.Button)(this.FindName("btnCustomerCopy")));
     this.lblName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.lblAdoutName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblAdoutName")));
     this.txtAdoutName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAdoutName")));
     this.utlZip = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblStationName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblStationName")));
     this.txtStationName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtStationName")));
     this.lblPersonName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPersonName")));
     this.txtPersonName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPersonName")));
     this.lblPostName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblPostName")));
     this.txtPostName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPostName")));
     this.lblTitle_ = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle_")));
     this.utlTitle = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlTitle")));
     this.lblTel = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.lblDisplay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.lblRemark = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
 }
        private void ExUserControl_Loaded(object sender, RoutedEventArgs e)
        {
            if (Common.gblnLogin == false) return;

            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            // ファンクションキー初期設定
            utlFunctionKey = ExVisualTreeHelper.GetUtlFunctionKey(this.LayoutRoot);
            utlFunctionKey.gFunctionKeyEnable = Utl_FunctionKey.geFunctionKeyEnable.Init;
            utlFunctionKey.Init();

            // バインド設定
            SetBinding();

            //System.Globalization.CultureInfo Culture = new System.Globalization.CultureInfo(Thread.CurrentThread.CurrentCulture.Name);
            //// SelectedDateFormat=Shortのパターン
            //Culture.DateTimeFormat.ShortDatePattern = "yyyy/MM";
            //// SelectedDateFormat=Longのパターン
            //Culture.DateTimeFormat.LongDatePattern = "ggy'年'M'月'";
            //Thread.CurrentThread.CurrentCulture = Culture;

            ExBackgroundWorker.DoWork_Focus(this.utlInvoice.txtID, 100);
        }
        private void ExUserControl_Loaded(object sender, RoutedEventArgs e)
        {
            if (Common.gblnLogin == false) return;

            this.utlNo._ExUserControl_LostFocus -= this.utlNo_LostFocus;
            this.utlNo._ExUserControl_LostFocus += this.utlNo_LostFocus;

            // 画面初期化
            this.utlFunctionKey = ExVisualTreeHelper.GetUtlFunctionKey(this.LayoutRoot);
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            // ファンクションキー初期設定
            this.utlFunctionKey.gFunctionKeyEnable = Utl_FunctionKey.geFunctionKeyEnable.Init;
            SetDatePickerNotEnabled();

            // バインド設定
            SetBinding();

            // 明細追加
            this.RecordAdd();

            dg.ItemsSource = _entityListD;

            ExBackgroundWorker.DoWork_Focus(this.utlNo.txtID, 10);
        }
 private Utl_FunctionKey GetUserControlFKey()
 {
     if (utlFncKey == null)
     {
         utlFncKey = ExVisualTreeHelper.GetUtlFunctionKey(this.LayoutRoot);
     }
     return utlFncKey;
 }
        private void _Init_SearchDisplay()
        {
            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            // 処理対象年月初期設定
            DataInitWhere.InitDateYm(ref this.datYm);

            this.dgPrint.ItemsSource = null;

            // ファンクションキー初期設定
            utlFKey = ExVisualTreeHelper.GetUtlFunctionKey(this);
            this.utlFKey.Init();

            this.utlReport.gPageType = Common.gPageType;
            this.utlReport.gWinMsterType = Common.geWinMsterType.None;
            this.utlReport.parentUtl = this;
            this.utlReport.Init();

            switch (Common.gWinGroupType)
            {
                case Common.geWinGroupType.InpListUpd:
                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Collapsed;
                    break;
                case Common.geWinGroupType.InpListReport:
                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Collapsed;

                    this.utlFKey.btnF6.Content = "     F6     " + Environment.NewLine;
                    this.utlFKey.btnF6.IsEnabled = false;

                    break;
            }

            SetBinding();

            //GetListData();
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCompanyGroup.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy             = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey       = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle             = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblId                = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblId")));
     this.utlID                = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlID")));
     this.utlMode              = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode")));
     this.btnCompanyCopy       = ((System.Windows.Controls.Button)(this.FindName("btnCompanyCopy")));
     this.lblName              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.utlZip               = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblTel               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel               = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax               = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax               = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail              = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.txtUrl               = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtUrl")));
     this.lblRemark            = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblRemark")));
     this.txtMemo              = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMemo")));
     this.lblDisplay           = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblDisplay")));
     this.utlDisplay           = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlDisplay")));
     this.tabMainMenu          = ((System.Windows.Controls.TabControl)(this.FindName("tabMainMenu")));
     this.tabItem2             = ((System.Windows.Controls.TabItem)(this.FindName("tabItem2")));
     this.rdoApprovalAri       = ((System.Windows.Controls.RadioButton)(this.FindName("rdoApprovalAri")));
     this.rdoApprovalNasi      = ((System.Windows.Controls.RadioButton)(this.FindName("rdoApprovalNasi")));
     this.tabItem3             = ((System.Windows.Controls.TabItem)(this.FindName("tabItem3")));
     this.txtBankName          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtBankName")));
     this.txtBranchName        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtBranchName")));
     this.txtAccountNo         = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAccountNo")));
     this.txtAccountName       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAccountName")));
     this.txtAccountKana       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtAccountKana")));
     this.rdoInvvoicePrintAri  = ((System.Windows.Controls.RadioButton)(this.FindName("rdoInvvoicePrintAri")));
     this.rdoInvvoicePrintNasi = ((System.Windows.Controls.RadioButton)(this.FindName("rdoInvvoicePrintNasi")));
     this.tabItem1             = ((System.Windows.Controls.TabItem)(this.FindName("tabItem1")));
     this.txtEstimateYmd       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateYmd")));
     this.txtEstimateCnt       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateCnt")));
     this.utlEstimateNo        = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlEstimateNo")));
     this.txtOrderYmd          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderYmd")));
     this.txtOrderCnt          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderCnt")));
     this.utlOrderNo           = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlOrderNo")));
     this.txtSalesYmd          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesYmd")));
     this.txtSalesCnt          = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCnt")));
     this.utlSalesNo           = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlSalesNo")));
     this.txtReceiptYmd        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptYmd")));
     this.txtReceiptCnt        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptCnt")));
     this.utlReceiptNo         = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlReceiptNo")));
     this.txtPurchaseOrderYmd  = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderYmd")));
     this.txtPurchaseOrderCnt  = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderCnt")));
     this.utlPurchaseOrderNo   = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlPurchaseOrderNo")));
     this.txtPurchaseYmd       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseYmd")));
     this.txtPurchaseCnt       = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseCnt")));
     this.utlPurchaseNo        = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlPurchaseNo")));
     this.txtCashPaymentYmd    = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentYmd")));
     this.txtCashPaymentCnt    = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentCnt")));
     this.utlCashPaymentNo     = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlCashPaymentNo")));
     this.txtProduceYmd        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceYmd")));
     this.txtProduceCnt        = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceCnt")));
     this.utlProduceNo         = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlProduceNo")));
     this.txtShipYmd           = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipYmd")));
     this.txtShipCnt           = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipCnt")));
     this.utlShipNo            = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlShipNo")));
 }
        private void ExUserControl_Loaded(object sender, RoutedEventArgs e)
        {
            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            this.lst.Clear();
            this.dgSelect.ItemsSource = null;
            this.dgSelect.ItemsSource = lst;

            // ファンクションキー初期設定
            utlFKey = ExVisualTreeHelper.GetUtlFunctionKey(this);
            this.utlFKey.Init();

            this.utlReport.gPageType = Common.gPageType;
            this.utlReport.gWinMsterType = Common.geWinMsterType.None;
            this.utlReport.parentUtl = this;
            this.utlReport.Init();

            this.datIssueYmd.SelectedDate = DateTime.Now;
            this.chkPrintNo.IsChecked = true;

            switch (Common.gWinGroupType)
            {
                case Common.geWinGroupType.InpList:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Month, ref this.datPaymentCloseYmd_F, ref this.datPaymentCloseYmd_T);

                    // 発行日表示設定
                    this.lblIssueYmd.Visibility = System.Windows.Visibility.Collapsed;
                    this.datIssueYmd.Visibility = System.Windows.Visibility.Collapsed;

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Visible;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Collapsed;

                    // 出金消込区分表示設定
                    this.borReceipt.Visibility = System.Windows.Visibility.Visible;

                    // 発行区分表示設定
                    this.borPrint.Visibility = System.Windows.Visibility.Collapsed;

                    break;
                case Common.geWinGroupType.InpListReport:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Month, ref this.datPaymentCloseYmd_F, ref this.datPaymentCloseYmd_T);

                    // 発行日表示設定
                    this.lblIssueYmd.Visibility = System.Windows.Visibility.Visible;
                    this.datIssueYmd.Visibility = System.Windows.Visibility.Visible;
                    this.datIssueYmd.SelectedDate = DateTime.Now;

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Collapsed;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Visible;

                    // 出金消込区分表示設定
                    this.borReceipt.Visibility = System.Windows.Visibility.Collapsed;

                    // 発行区分表示設定
                    this.borPrint.Visibility = System.Windows.Visibility.Visible;

                    this.chkPrintNo.IsChecked = true;
                    this.chkPrintYes.IsChecked = false;

                    break;
            } 

            SetBinding();

            GetListData();
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Master/Utl_MstCompany.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy")));
     this.utlFunctionKey = ((SlvHanbaiClient.View.UserControl.Custom.Utl_FunctionKey)(this.FindName("utlFunctionKey")));
     this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle")));
     this.lblName = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblName")));
     this.txtName = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtName")));
     this.lblKana = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblKana")));
     this.txtKana = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtKana")));
     this.utlZip = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Zip)(this.FindName("utlZip")));
     this.lblTel = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTel")));
     this.txtTel = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtTel")));
     this.lblFax = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblFax")));
     this.txtFax = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtFax")));
     this.lblMail = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblMail")));
     this.txtMail = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtMail")));
     this.txtUrl = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtUrl")));
     this.tabMainMenu = ((System.Windows.Controls.TabControl)(this.FindName("tabMainMenu")));
     this.tabItem1 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem1")));
     this.txtCustomerIdFg = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCustomerIdFg")));
     this.txtPurchaseIdFg = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseIdFg")));
     this.txtCommdityIdFg = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCommdityIdFg")));
     this.txtDenNoFg = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtDenNoFg")));
     this.txtGroupDisplayNm = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtGroupDisplayNm")));
     this.tabItem2 = ((System.Windows.Controls.TabItem)(this.FindName("tabItem2")));
     this.txtEstimateYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateYmd")));
     this.txtEstimateCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtEstimateCnt")));
     this.txtOrderYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderYmd")));
     this.txtOrderCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtOrderCnt")));
     this.txtSalesYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesYmd")));
     this.txtSalesCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtSalesCnt")));
     this.txtReceiptYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptYmd")));
     this.txtReceiptCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtReceiptCnt")));
     this.txtPurchaseOrderYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderYmd")));
     this.txtPurchaseOrderCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseOrderCnt")));
     this.txtPurchaseYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseYmd")));
     this.txtPurchaseCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtPurchaseCnt")));
     this.txtCashPaymentYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentYmd")));
     this.txtCashPaymentCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtCashPaymentCnt")));
     this.txtProduceYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceYmd")));
     this.txtProduceCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtProduceCnt")));
     this.txtShipYmd = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipYmd")));
     this.txtShipCnt = ((SlvHanbaiClient.Class.UI.ExTextBox)(this.FindName("txtShipCnt")));
 }
        private void _Init_SearchDisplay()
        {
            // 画面初期化
            ExVisualTreeHelper.initDisplay(this.LayoutRoot);

            this.lst.Clear();
            this.dg.ItemsSource = null;
            this.dg.ItemsSource = lst;

            // ファンクションキー初期設定
            utlFKey = ExVisualTreeHelper.GetUtlFunctionKey(this);
            this.utlFKey.Init();

            this.utlReport.gPageType = Common.gPageType;
            this.utlReport.gWinMsterType = Common.geWinMsterType.None;
            this.utlReport.parentUtl = this;
            this.utlReport.Init();

            switch (Common.gWinGroupType)
            {
                case Common.geWinGroupType.InpList:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Month, ref this.datPurchaseOrderYmd_F, ref this.datPurchaseOrderYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Visible;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Collapsed;

                    // 発行区分表示設定
                    this.borPrint.Visibility = System.Windows.Visibility.Collapsed;

                    break;
                case Common.geWinGroupType.InpListReport:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datPurchaseOrderYmd_F, ref this.datPurchaseOrderYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Collapsed;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Visible;

                    // 発行区分表示設定
                    this.borPrint.Visibility = System.Windows.Visibility.Visible;

                    this.chkPrintNo.IsChecked = true;
                    this.chkPrintYes.IsChecked = false;

                    break;
                case Common.geWinGroupType.InpDetailReport:
                    // 出力対象日初期設定
                    DataInitWhere.InitDate(DataInitWhere.geDateKbn.Today, ref this.datPurchaseOrderYmd_F, ref this.datPurchaseOrderYmd_T);

                    // DataGrid設定
                    this.GridDetail.Visibility = System.Windows.Visibility.Visible;
                    this.GridDetailSelect.Visibility = System.Windows.Visibility.Collapsed;
                    this.dg.ItemsSource = null;
                    this.dg.ItemsSource = lst;

                    // 発行区分表示設定
                    this.borPrint.Visibility = System.Windows.Visibility.Collapsed;

                    this.utlFKey.btnF6.Content = "     F6     " + Environment.NewLine;
                    this.utlFKey.btnF6.IsEnabled = false;

                    break;
            }

            SetBinding();

            GetListData();
        }