Exemplo n.º 1
0
 private void label59_Click(object sender, EventArgs e)
 {
     if (BasicClass.BasicFile.GetPermissions("生产领料") != string.Empty)
     {
         Form fr = new Task.frLinLiao();
         fr.ShowDialog();
     }
     else
     {
         MessageBox.Show("没有权限 ");
     }
 }
Exemplo n.º 2
0
 private void gridView2_DoubleClick(object sender, EventArgs e)
 {
     if (gridView2.FocusedRowHandle > -1)
     {
         int State = Convert.ToInt32(gridView2.GetFocusedRowCellValue(_coState));
         if (State == 60)
         {
             Form fr = new Task.frLinLiao(Convert.ToInt32(gridView2.GetFocusedRowCellValue(_coMainID)));
             fr.ShowDialog();
         }
         else
         {
             Form fr = new Task.frTaskLinLiao(Convert.ToInt32(gridView2.GetFocusedRowCellValue(_coMainID)));
             fr.ShowDialog();
         }
     }
 }