示例#1
0
文件: Main.cs 项目: Tricoro/OSUplayer
 private void Button2_Click(object sender, EventArgs e)
 {
     this.Visible = false;
     using (ChooseColl dialog = new ChooseColl())
     {
         dialog.ShowDialog();
     }
     this.Visible = true;
     RefreshList();
 }
示例#2
0
文件: Main.cs 项目: xc0102/OSUplayer
 private void Main_Collections_Click(object sender, EventArgs e)
 {
     //Visible = false;
     using (var dialog = new ChooseColl())
     {
         var center = Location;
         center.X = center.X + Width / 2 - dialog.Width / 2;
         center.Y = center.Y + Height / 2 - dialog.Height / 2;
         dialog.StartPosition = FormStartPosition.Manual;
         dialog.Location = center;
         dialog.ShowDialog();
     }
     //Visible = true;
     RefreshList();
     Main_CurrentList.Text = LanguageManager.Get("Main_CurrentList_Text") + Core.CurrentListName;
 }