private void btnResetRoom_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("确定要重置房间号?", "重置房间号", MessageBoxButtons.YesNo, MessageBoxIcon.Warning)
                == System.Windows.Forms.DialogResult.No)
            {
                return;
            }

            Properties.Settings.Default.CurrentRoom = 0;
            Properties.Settings.Default.Save();
            DouyuService.LoadSession();
        }
 private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     DouyuService.SaveSession();
     Process.GetCurrentProcess().Kill();
 }