Пример #1
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            bordadoView bor = new bordadoView();

            bor.Show();
            Close();
        }
Пример #2
0
 private void toolStripComboBox1_Click(object sender, EventArgs e)
 {
     if (logi.User().Permiso.Bordado)
     {
         bordadoView bord = new bordadoView();
         bord.Show();
     }
 }
Пример #3
0
 private void inicio_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.F1)
     {
         if (logi.User().Permiso.Corte)
         {
             corteView at = new corteView();
             at.Show();
         }
     }
     if (e.KeyData == Keys.F2)
     {
         if (logi.User().Permiso.Bordado)
         {
             bordadoView at = new bordadoView();
             at.Show();
         }
     }
     if (e.KeyData == Keys.F3)
     {
         if (logi.User().Permiso.Maquila)
         {
             maquilaView maq = new maquilaView();
             maq.Show();
         }
     }
     if (e.KeyData == Keys.F4)
     {
     }
     if (e.KeyData == Keys.F5)
     {
     }
     if (e.KeyData == Keys.F6)
     {
     }
     if (e.KeyData == Keys.F7)
     {
     }
     if (e.KeyData == Keys.F8)
     {
     }
     if (e.KeyData == Keys.F9)
     {
     }
     if (e.KeyData == Keys.F12)
     {
         if (logi.User().Permiso.Admin)
         {
             administradorView admin = new administradorView();
             admin.ShowDialog();
         }
     }
 }