private void TextBlock_MouseUp_2(object sender, System.Windows.Input.MouseButtonEventArgs e) { var xg = sender as TextBlock; if (xg == null) { return; } MessageShowInfo.Show("光控详情", xg.ToolTip.ToString()); //xg.text }
private void TextBlock_MouseUp_1(object sender, System.Windows.Input.MouseButtonEventArgs e) { //双击查看即将执行的时间表安排 var infox = TopDataInfoServers.MySelf.GetDataInfo(3); if (infox != null) { MessageShowInfo.Show(infox.Item1, infox.Item2); } }