Ejemplo n.º 1
0
 private void lvwMenu_Click(object sender, EventArgs e)
 {
     if (lvwMenu.SelectedItems[0].Name == "LiftAdd")
     {
         frmLiftAdd frm = new frmLiftAdd();
         frm.ShowDialog();
     }
     else if (lvwMenu.SelectedItems[0].Name == "LiftAll")
     {
         LoadData(MyType.Lift);
     }
 }
Ejemplo n.º 2
0
 private void lvwMenu_Click(object sender, EventArgs e)
 {
     if (lvwMenu.SelectedItems[0].Name == "LiftAdd")
     {
         frmLiftAdd frm = new frmLiftAdd();
         frm.ShowDialog();
     }
     else if (lvwMenu.SelectedItems[0].Name == "LiftAll")
     {
         LoadData(MyType.Lift);
     }
 }