private void Window_Loaded(object sender, RoutedEventArgs e) { if (biliDanmu == null) { biliDanmu = new MainOverlay(); biliDanmu.OpenOverlay(); biliDanmu.Show(); } }
private void ExcelFormWithNotify_Load(object sender, EventArgs e) { //PlotPlatoWindow plotPlato = new PlotPlatoWindow(); //plotPlato.Show(); return; if (biliDanmu==null) { biliDanmu = new MainOverlay(); biliDanmu.OpenOverlay(); biliDanmu.Show(); } }