コード例 #1
0
        private int them()
        {
            int obj = 0;

            Biencucbo.manhansu = _idnv;
            Biencucbo.obj      = 0;
            Biencucbo.hdong    = 0;
            f_nghiphep frm = new f_nghiphep();

            frm.ShowDialog();
            obj = Biencucbo.obj;
            return(obj);
        }
コード例 #2
0
 private int sua()
 {
     try
     {
         int obj = 0;
         Biencucbo.manhansu = _idnv;
         Biencucbo.ma       = gv.GetFocusedRowCellValue("key").ToString();
         Biencucbo.obj      = 0;
         Biencucbo.hdong    = 1;
         f_nghiphep frm = new f_nghiphep();
         frm.ShowDialog();
         obj = Biencucbo.obj;
         return(obj);
     }
     catch (Exception ex)
     {
         return(0);
     }
 }