Example #1
0
 private void _reZY_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.PageDown)
     {
         BasicClass.cResult crZY = new BasicClass.cResult();
         crZY.RowChanged += new BasicClass.RowChangedHandler(crZY_RowChanged);
         Form fr = new frZaiYao(crZY, -1);
         fr.ShowDialog();
     }
 }
Example #2
0
 private void gridView1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Insert)
     {
         if (gridView1.FocusedColumn == _co项目名称)
         {
             BasicClass.cResult crZY = new BasicClass.cResult();
             crZY.RowChanged += new BasicClass.RowChangedHandler(crZY_RowChanged);
             Form fr = new frZaiYao(crZY, -1);
             fr.ShowDialog();
         }
         else if (gridView1.FocusedColumn == _co费用类别)
         {
             BasicClass.cResult crKM = new BasicClass.cResult();
             crKM.RowChanged += new BasicClass.RowChangedHandler(crKM_RowChanged);
             Form fr = new frKJKM(crKM, -1);
             fr.ShowDialog();
         }
     }
 }
Example #3
0
        private void label52_Click(object sender, EventArgs e)
        {
            Form fr = new Finance.frZaiYao();

            fr.ShowDialog();
        }