コード例 #1
0
        private void BtnNew_Click(object sender, EventArgs e)
        {
            FrmCompany frmCompany = new FrmCompany();

            frmCompany.ShowDialog();
            if (frmCompany.SaveCompleted)
            {
                LoadData();
            }
        }
コード例 #2
0
 private void BtnView_Click(object sender, EventArgs e)
 {
     if (getId != Guid.Empty)
     {
         FrmCompany frmCompany = new FrmCompany(getId, false);
         frmCompany.ShowDialog();
         if (frmCompany.SaveCompleted)
         {
             LoadData();
         }
     }
 }