• 随笔(子项引用父窗体到当前区域)


    private void btnClick_JCCS_ImportReport(object sender, RoutedEventArgs e) {


    this.Content = new DataManagement_ImportReport();

    //this.DataContext = new XiangMuFenXi.DataManagement_ImportReport();


    //this.DataContext = new DataManagement_ImportReport();

    //MainFrame.Navigate(new Uri("/XiangMuFenXi/DataManagement_ImportReport.xaml", UriKind.RelativeOrAbsolute));

    //this.DataContext = new XiangMuFenXi.DataManagement_ImportReport();
    }

    private void btnShouJianDianWeiGuanLi_Click(object sender, RoutedEventArgs e)
    {
    //MonitorIndicatorManagement.Foreground = new SolidColorBrush(Colors.Black);
    //MonitorSiteManagement.Foreground = new SolidColorBrush(Colors.Black);
    //ForewarningManagement.Foreground = new SolidColorBrush(Colors.Black);
    //btnJianZhuLeiXing.Foreground = new SolidColorBrush(Colors.Black);
    //btnKaiGongLv.Foreground = new SolidColorBrush(Colors.Red);

    //MainFrame.Navigate(new Uri("/XiangMuFenXi/WaterQualityDataList.xaml", UriKind.RelativeOrAbsolute));
    //MainFrame.Navigate(new Uri("/DataCriterion/JianCeZhiBiao.xaml", UriKind.RelativeOrAbsolute));
    //WaterBasicInformation wbi = new WaterBasicInformation();
    //wbi.Show();
    //MainFrame.Navigate(new Uri("/DataManagement/DataManagement.xaml", UriKind.RelativeOrAbsolute));
    MainFrame.Content = new DataManagement();
    }

  • 相关阅读:
    物理好题随想
    学案12:电场强度和静电现象
    vscode插件记录
    windows使用总结
    元素周期律 + 元素周期表
    酸碱理论
    氮族元素——磷
    氮族元素——氮
    碱金属元素
    SDN第一次上机实验
  • 原文地址:https://www.cnblogs.com/meimao5211/p/3445129.html
Copyright © 2020-2023  润新知