コード例 #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmErrorAndFeature frm = new frmErrorAndFeature();

            frm.LoadDataChange += main_LoadDataChange;
            frm.Show();
        }
コード例 #2
0
        private void btnSua_Click(object sender, EventArgs e)
        {
            long id = TextUtils.ToInt64(grvData.GetFocusedRowCellValue(colID));

            if (id == 0)
            {
                return;
            }
            UpdateSoftwareModel model = (UpdateSoftwareModel)UpdateSoftwareBO.Instance.FindByPK(id);

            _rownIndex = grvData.FocusedRowHandle;

            frmErrorAndFeature frm = new frmErrorAndFeature();

            frm.UpdateSoftware  = model;
            frm.LoadDataChange += main_LoadDataChange;
            frm.Show();
        }