Esempio n. 1
0
        private void label_SZ1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            Label          vLabel          = (Label)sender;
            DianYuanMingXi vDianYuanMingXi = new DianYuanMingXi();

            vDianYuanMingXi.Owner      = Application.Current.MainWindow;
            vDianYuanMingXi.LuHao      = (int)vLabel.Tag;
            vDianYuanMingXi.DianYuanID = App.PowerID1;
            vDianYuanMingXi.Owner      = Application.Current.MainWindow;
            vDianYuanMingXi.ShowDialog();
        }
Esempio n. 2
0
        private void image_SZ1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            Image          vImage          = (Image)sender;
            DianYuanMingXi vDianYuanMingXi = new DianYuanMingXi();

            vDianYuanMingXi.Owner      = Application.Current.MainWindow;
            vDianYuanMingXi.LuHao      = (int)vImage.Tag;
            vDianYuanMingXi.DianYuanID = App.PowerID1;
            vDianYuanMingXi.Owner      = Application.Current.MainWindow;
            vDianYuanMingXi.ShowDialog();
        }
Esempio n. 3
0
        private void groupBox_1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            GroupBox       vGroupBox       = (GroupBox)sender;
            DianYuanMingXi vDianYuanMingXi = new DianYuanMingXi();

            vDianYuanMingXi.Owner      = Application.Current.MainWindow;
            vDianYuanMingXi.LuHao      = (int)vGroupBox.Tag;
            vDianYuanMingXi.DianYuanID = App.PowerID1;
            vDianYuanMingXi.Owner      = Application.Current.MainWindow;
            vDianYuanMingXi.ShowDialog();
        }