public BiliLiveLotteryPlugin()
 {
     PluginAuth = "CopyLiu";
     PluginCont = "*****@*****.**";
     PluginName = "直播抽奖辅助";
     PluginVer = "0.0.0.3";
     mainWin=new MainWin();
     mainWin.plugin = this;
     ReceivedDanmaku += BiliLiveLotteryPlugin_ReceivedDanmaku;
     mainWin.Closed += MainWin_Closed;
 }
 private void MainWin_Closed(object sender, EventArgs e)
 {
     mainWin = new MainWin();
     mainWin.plugin = this;
 }