Beispiel #1
0
        private void label58_Click(object sender, EventArgs e)
        {
            if (BasicClass.BasicFile.GetPermissions("车间领料") != string.Empty)
            {
                Form fr = new Task.frTaskLinLiao();

                fr.ShowDialog();
            }
            else
            {
                MessageBox.Show("没有权限 ");
            }
        }
Beispiel #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();
         }
     }
 }