Beispiel #1
0
        private void tileItem7_ItemClick(object sender, TileItemEventArgs e)
        {
            vehiclesfrm frm = new vehiclesfrm();

            frm.Powers = Powers;
            frm.Show();
        }
Beispiel #2
0
        private void toolStripMenuItem5_Click(object sender, EventArgs e)
        {
            vehiclesfrm frm = new vehiclesfrm();

            frm.Powers = this.Powers;
            frm.ShowDialog();
            if (lvTours.SelectedItems.Count > 0)
            {
                int _MaTour = MyConvert.ToInt32(lvTours.SelectedItems[0].SubItems[0].Text);
                lvVehicles_Load(PhuongTien.FindByMTour(_MaTour));
                //lvGuide_Load(HuongDanVien.FindByMTour(_MaTour));
            }
        }