示例#1
0
        private void добавитьПроездToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WinFormAddTransit winFormAddTransit = new WinFormAddTransit(null, null, camList, user);

            winFormAddTransit.VkNotyf += cameraControl.VkNotyf;
            winFormAddTransit.Show();
        }
示例#2
0
        private void listBox1_DoubleClick(object sender, EventArgs e)
        {
            if (listBox1.SelectedIndex >= 0)
            {
                try
                {
                    WinFormAddTransit winFormAddTransit = new WinFormAddTransit(numList[listBox1.SelectedIndex], transitList[listBox1.SelectedIndex], camList, user);
                    winFormAddTransit.VkNotyf += cameraControl.VkNotyf;
                    winFormAddTransit.Show();
                }
                catch { }
            }

            //(new WinFormAddTransit(null, null, camList, user)).Show();
        }