コード例 #1
0
ファイル: DianYuan.xaml.cs プロジェクト: 2830499544/JXHW
        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();
        }
コード例 #2
0
ファイル: DianYuan.xaml.cs プロジェクト: 2830499544/JXHW
        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();
        }
コード例 #3
0
ファイル: DianYuan.xaml.cs プロジェクト: 2830499544/JXHW
        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();
        }