コード例 #1
0
        public override void OnAddNew()
        {
            base.OnAddNew();
            MAS020_DealingMaster form = new MAS020_DealingMaster();

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                LoadData(false);
            }
        }
コード例 #2
0
        private void OpenLocationMaster()
        {
            if (!ActivePermission.Edit)
            {
                return;
            }
            if (shtView.RowCount <= 0)
            {
                return;
            }
            string LOC_CD             = shtView.GetValue(shtView.ActiveRowIndex, (int)eColView.LOC_CD).ToString();
            MAS020_DealingMaster form = new MAS020_DealingMaster(LOC_CD);

            if (form.ShowDialog(null) == DialogResult.OK)
            {
                LoadData(false);
            }
        }