// I like this open source trackbar control but it doesn't implement being greyed out when disabled private void ChangeGtrackbarColours(bool Enabled) { gTrackBar.ColorPack colorPack1 = new gTrackBar.ColorPack(); gTrackBar.ColorLinearGradient colorLinearGradient1 = new gTrackBar.ColorLinearGradient(); gTrackBar.ColorLinearGradient colorLinearGradient2 = new gTrackBar.ColorLinearGradient(); if (Enabled) { gTrackBarSpindleSpeed.ColorUp = colorPack1; colorLinearGradient1.ColorA = System.Drawing.Color.DarkGray; colorLinearGradient1.ColorB = System.Drawing.Color.DarkGray; this.gTrackBarSpindleSpeed.SliderColorHigh = colorLinearGradient1; colorLinearGradient2.ColorA = System.Drawing.Color.Red; colorLinearGradient2.ColorB = System.Drawing.Color.Red; this.gTrackBarSpindleSpeed.SliderColorLow = colorLinearGradient2; } else { colorPack1.Border = System.Drawing.Color.LightGray; colorPack1.Face = System.Drawing.Color.LightGray; colorPack1.Highlight = System.Drawing.Color.AliceBlue; gTrackBarSpindleSpeed.ColorUp = colorPack1; colorLinearGradient1.ColorA = System.Drawing.Color.LightGray; colorLinearGradient1.ColorB = System.Drawing.Color.LightGray; this.gTrackBarSpindleSpeed.SliderColorHigh = colorLinearGradient1; colorLinearGradient2.ColorA = System.Drawing.Color.LightGray; colorLinearGradient2.ColorB = System.Drawing.Color.LightGray; this.gTrackBarSpindleSpeed.SliderColorLow = colorLinearGradient2; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); gTrackBar.ColorPack colorPack1 = new gTrackBar.ColorPack(); gTrackBar.ColorPack colorPack2 = new gTrackBar.ColorPack(); gTrackBar.ColorPack colorPack3 = new gTrackBar.ColorPack(); gTrackBar.ColorLinearGradient colorLinearGradient1 = new gTrackBar.ColorLinearGradient(); gTrackBar.ColorLinearGradient colorLinearGradient2 = new gTrackBar.ColorLinearGradient(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main)); this.Main_File_Menu = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Run_OSU = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Set_OSUPath = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Separator1 = new System.Windows.Forms.ToolStripSeparator(); this.Main_File_Import_OSU = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Import_Scores = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Separator2 = new System.Windows.Forms.ToolStripSeparator(); this.Main_File_Open_Folder = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Open_MapFile = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Open_SBFile = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_SeparatorItem3 = new System.Windows.Forms.ToolStripSeparator(); this.Main_File_Export_MP3 = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Export_Background = new System.Windows.Forms.ToolStripMenuItem(); this.Main_File_Separator4 = new System.Windows.Forms.ToolStripSeparator(); this.Main_File_Exit = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Tool_Menu = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Tool_Search_Dulplate = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Tool_Export_Playlist = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Tool_Export_Playlist_MP3 = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Option_Menu = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Option_Play_Fx = new OSUplayer.BindableToolStripMenuItem(); this.Main_Option_Play_Video = new OSUplayer.BindableToolStripMenuItem(); this.Main_Option_PlayMode = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Option_PlayMode_Normal = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Option_PlayMode_Repeat = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Option_PlayMode_Random = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Option_Select_QQ = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Option_Sync_QQ = new OSUplayer.BindableToolStripMenuItem(); this.Main_Option_Play_SB = new OSUplayer.BindableToolStripMenuItem(); this.Main_Option_Show_Popup = new OSUplayer.BindableToolStripMenuItem(); this.Main_About = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Panel = new System.Windows.Forms.Panel(); this.Main_Tab_Control_Panel = new System.Windows.Forms.TableLayoutPanel(); this.Main_PageView_Page4 = new OSUplayer.NoFocusButton(); this.Main_PageView_Page1 = new OSUplayer.NoFocusButton(); this.Main_PageView_Page2 = new OSUplayer.NoFocusButton(); this.Main_PageView_Page3 = new OSUplayer.NoFocusButton(); this.Main_TabPanel = new System.Windows.Forms.Panel(); this.Main_TabControl = new System.Windows.Forms.TabControl(); this.Main_TabPage1 = new System.Windows.Forms.TabPage(); this.Main_ListDetail = new System.Windows.Forms.ListView(); this.Main_ListDetail_Key = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Main_ListDetail_Value = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Main_TabPage2 = new System.Windows.Forms.TabPage(); this.Main_ScoreBox = new BrightIdeasSoftware.FastObjectListView(); this.Main_ScoreBox_Rank = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.Main_ScoreBox_Details = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.Main_TabPage3 = new System.Windows.Forms.TabPage(); this.Main_DiffList = new System.Windows.Forms.ListBox(); this.Main_TabPage4 = new System.Windows.Forms.TabPage(); this.Main_Sort_Setting = new System.Windows.Forms.ComboBox(); this.Main_Sort_Label = new System.Windows.Forms.Label(); this.Main_Option_Play_SB_Box = new System.Windows.Forms.CheckBox(); this.Main_Option_Play_Video_Box = new System.Windows.Forms.CheckBox(); this.Main_Option_Play_Fx_Box = new System.Windows.Forms.CheckBox(); this.Main_Speed_Control = new gTrackBar.gTrackBar(); this.Main_Sytle_Label = new System.Windows.Forms.Label(); this.Main_Sytle_Setting = new System.Windows.Forms.ComboBox(); this.Main_NC_Control = new System.Windows.Forms.CheckBox(); this.Main_CurrentList = new System.Windows.Forms.Label(); this.Main_Search_Box = new OSUplayer.HintTextBox(); this.Main_PlayList = new OSUplayer.DBListView(); this.Main_PlayList_Name = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Main_PlayList_RightClick_Menu = new System.Windows.Forms.ContextMenuStrip(this.components); this.Main_PlayList_RightClick_Copy_Current_Name = new System.Windows.Forms.ToolStripMenuItem(); this.Main_PlayList_RightClick_Delete_One = new System.Windows.Forms.ToolStripMenuItem(); this.Main_PlayList_RightClick_Export_MP3 = new System.Windows.Forms.ToolStripMenuItem(); this.Main_PlayList_RightClick_Open_In_OSU = new System.Windows.Forms.ToolStripMenuItem(); this.Main_Core_Panel = new System.Windows.Forms.Panel(); this.Main_PlayPrev = new OSUplayer.NoFocusButton(); this.Main_Jump_OSU = new OSUplayer.NoFocusButton(); this.Main_Volume_TrackBar = new gTrackBar.gTrackBar(); this.Main_Time_Trackbar = new gTrackBar.gTrackBar(); this.Main_Mini_Switcher = new OSUplayer.NoFocusButton(); this.Main_Time_Display = new System.Windows.Forms.Label(); this.Main_Volume_Music_TrackBar = new gTrackBar.gTrackBar(); this.Main_Main_Display = new System.Windows.Forms.Panel(); this.Main_Volume_Fx_TrackBar = new gTrackBar.gTrackBar(); this.Main_Fx_Hint_Label = new System.Windows.Forms.Label(); this.Main_Music_Hint_Label = new System.Windows.Forms.Label(); this.Main_Volume_Hint_Label = new System.Windows.Forms.Label(); this.Main_PlayNext = new OSUplayer.NoFocusButton(); this.Main_Stop = new OSUplayer.NoFocusButton(); this.Main_Play = new OSUplayer.NoFocusButton(); this.Main_Collections = new OSUplayer.NoFocusButton(); this.UpdateTimer = new System.Windows.Forms.Timer(this.components); this.NextTimer = new System.Windows.Forms.Timer(this.components); this.SearchTimer = new System.Windows.Forms.Timer(this.components); this.Main_MenuStrip = new System.Windows.Forms.MenuStrip(); this.Main_LanguageSelect = new System.Windows.Forms.ToolStripMenuItem(); this.Main_QQ_Hint_Label = new System.Windows.Forms.ToolStripLabel(); this.Main_Panel.SuspendLayout(); this.Main_Tab_Control_Panel.SuspendLayout(); this.Main_TabPanel.SuspendLayout(); this.Main_TabControl.SuspendLayout(); this.Main_TabPage1.SuspendLayout(); this.Main_TabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Main_ScoreBox)).BeginInit(); this.Main_TabPage3.SuspendLayout(); this.Main_TabPage4.SuspendLayout(); this.Main_PlayList_RightClick_Menu.SuspendLayout(); this.Main_Core_Panel.SuspendLayout(); this.Main_MenuStrip.SuspendLayout(); this.SuspendLayout(); // // Main_File_Menu // this.Main_File_Menu.AccessibleDescription = "文件"; this.Main_File_Menu.AccessibleName = "文件"; this.Main_File_Menu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.Main_File_Run_OSU, this.Main_File_Set_OSUPath, this.Main_File_Separator1, this.Main_File_Import_OSU, this.Main_File_Import_Scores, this.Main_File_Separator2, this.Main_File_Open_Folder, this.Main_File_Open_MapFile, this.Main_File_Open_SBFile, this.Main_File_SeparatorItem3, this.Main_File_Export_MP3, this.Main_File_Export_Background, this.Main_File_Separator4, this.Main_File_Exit}); this.Main_File_Menu.Name = "Main_File_Menu"; this.Main_File_Menu.Size = new System.Drawing.Size(69, 24); this.Main_File_Menu.Text = "文件(&F)"; // // Main_File_Run_OSU // this.Main_File_Run_OSU.AccessibleDescription = "运行OSU!"; this.Main_File_Run_OSU.AccessibleName = "运行OSU!"; this.Main_File_Run_OSU.Name = "Main_File_Run_OSU"; this.Main_File_Run_OSU.Size = new System.Drawing.Size(206, 26); this.Main_File_Run_OSU.Text = "运行OSU!"; this.Main_File_Run_OSU.Click += new System.EventHandler(this.Main_File_Run_OSU_Click); // // Main_File_Set_OSUPath // this.Main_File_Set_OSUPath.AccessibleDescription = "手动指定OSU目录"; this.Main_File_Set_OSUPath.AccessibleName = "手动指定OSU目录"; this.Main_File_Set_OSUPath.Name = "Main_File_Set_OSUPath"; this.Main_File_Set_OSUPath.Size = new System.Drawing.Size(206, 26); this.Main_File_Set_OSUPath.Text = "手动指定OSU目录"; this.Main_File_Set_OSUPath.Click += new System.EventHandler(this.Main_File_Set_OSUPath_Click); // // Main_File_Separator1 // this.Main_File_Separator1.Name = "Main_File_Separator1"; this.Main_File_Separator1.Size = new System.Drawing.Size(203, 6); // // Main_File_Import_OSU // this.Main_File_Import_OSU.AccessibleDescription = "重新初始化"; this.Main_File_Import_OSU.AccessibleName = "重新初始化"; this.Main_File_Import_OSU.Name = "Main_File_Import_OSU"; this.Main_File_Import_OSU.Size = new System.Drawing.Size(206, 26); this.Main_File_Import_OSU.Text = "与OSU数据库同步"; this.Main_File_Import_OSU.Click += new System.EventHandler(this.Main_File_Import_OSU_Click); // // Main_File_Import_Scores // this.Main_File_Import_Scores.AccessibleDescription = "重新导入scores.db"; this.Main_File_Import_Scores.AccessibleName = "重新导入scores.db"; this.Main_File_Import_Scores.Name = "Main_File_Import_Scores"; this.Main_File_Import_Scores.Size = new System.Drawing.Size(206, 26); this.Main_File_Import_Scores.Text = "导入scores.db"; this.Main_File_Import_Scores.Click += new System.EventHandler(this.Main_File_Import_Scores_Click); // // Main_File_Separator2 // this.Main_File_Separator2.Name = "Main_File_Separator2"; this.Main_File_Separator2.Size = new System.Drawing.Size(203, 6); // // Main_File_Open_Folder // this.Main_File_Open_Folder.AccessibleDescription = "打开曲目文件夹"; this.Main_File_Open_Folder.AccessibleName = "打开曲目文件夹"; this.Main_File_Open_Folder.Name = "Main_File_Open_Folder"; this.Main_File_Open_Folder.Size = new System.Drawing.Size(206, 26); this.Main_File_Open_Folder.Text = "打开曲目文件夹"; this.Main_File_Open_Folder.Click += new System.EventHandler(this.Main_File_Open_Folder_Click); // // Main_File_Open_MapFile // this.Main_File_Open_MapFile.AccessibleDescription = "打开铺面文件"; this.Main_File_Open_MapFile.AccessibleName = "打开铺面文件"; this.Main_File_Open_MapFile.Name = "Main_File_Open_MapFile"; this.Main_File_Open_MapFile.Size = new System.Drawing.Size(206, 26); this.Main_File_Open_MapFile.Text = "打开铺面文件"; this.Main_File_Open_MapFile.Click += new System.EventHandler(this.Main_File_Open_MapFile_Click); // // Main_File_Open_SBFile // this.Main_File_Open_SBFile.AccessibleDescription = "打开SB文件"; this.Main_File_Open_SBFile.AccessibleName = "打开SB文件"; this.Main_File_Open_SBFile.Name = "Main_File_Open_SBFile"; this.Main_File_Open_SBFile.Size = new System.Drawing.Size(206, 26); this.Main_File_Open_SBFile.Text = "打开SB文件"; this.Main_File_Open_SBFile.Click += new System.EventHandler(this.Main_File_Open_SBFile_Click); // // Main_File_SeparatorItem3 // this.Main_File_SeparatorItem3.AccessibleDescription = "radMenuSeparatorItem1"; this.Main_File_SeparatorItem3.AccessibleName = "radMenuSeparatorItem1"; this.Main_File_SeparatorItem3.Name = "Main_File_SeparatorItem3"; this.Main_File_SeparatorItem3.Size = new System.Drawing.Size(203, 6); // // Main_File_Export_MP3 // this.Main_File_Export_MP3.AccessibleDescription = "导出音频文件"; this.Main_File_Export_MP3.AccessibleName = "导出音频文件"; this.Main_File_Export_MP3.Name = "Main_File_Export_MP3"; this.Main_File_Export_MP3.Size = new System.Drawing.Size(206, 26); this.Main_File_Export_MP3.Text = "导出音频文件"; this.Main_File_Export_MP3.Click += new System.EventHandler(this.Main_File_Export_MP3_Click); // // Main_File_Export_Background // this.Main_File_Export_Background.AccessibleDescription = "导出BG"; this.Main_File_Export_Background.AccessibleName = "导出BG"; this.Main_File_Export_Background.Name = "Main_File_Export_Background"; this.Main_File_Export_Background.Size = new System.Drawing.Size(206, 26); this.Main_File_Export_Background.Text = "导出BG"; this.Main_File_Export_Background.Click += new System.EventHandler(this.Main_File_Export_Background_Click); // // Main_File_Separator4 // this.Main_File_Separator4.Name = "Main_File_Separator4"; this.Main_File_Separator4.Size = new System.Drawing.Size(203, 6); // // Main_File_Exit // this.Main_File_Exit.AccessibleDescription = "退出"; this.Main_File_Exit.AccessibleName = "退出"; this.Main_File_Exit.Name = "Main_File_Exit"; this.Main_File_Exit.Size = new System.Drawing.Size(206, 26); this.Main_File_Exit.Text = "退出"; this.Main_File_Exit.Click += new System.EventHandler(this.Main_File_Exit_Click); // // Main_Tool_Menu // this.Main_Tool_Menu.AccessibleDescription = "工具"; this.Main_Tool_Menu.AccessibleName = "工具"; this.Main_Tool_Menu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.Main_Tool_Search_Dulplate, this.Main_Tool_Export_Playlist, this.Main_Tool_Export_Playlist_MP3}); this.Main_Tool_Menu.Name = "Main_Tool_Menu"; this.Main_Tool_Menu.Size = new System.Drawing.Size(70, 24); this.Main_Tool_Menu.Text = "工具(&T)"; // // Main_Tool_Search_Dulplate // this.Main_Tool_Search_Dulplate.AccessibleDescription = "重复歌曲扫描"; this.Main_Tool_Search_Dulplate.AccessibleName = "重复歌曲扫描"; this.Main_Tool_Search_Dulplate.Name = "Main_Tool_Search_Dulplate"; this.Main_Tool_Search_Dulplate.Size = new System.Drawing.Size(247, 26); this.Main_Tool_Search_Dulplate.Text = "重复歌曲扫描"; this.Main_Tool_Search_Dulplate.Click += new System.EventHandler(this.Main_Tool_Search_Dulplate_Click); // // Main_Tool_Export_Playlist // this.Main_Tool_Export_Playlist.AccessibleDescription = "导出当前播放列表(html)"; this.Main_Tool_Export_Playlist.AccessibleName = "导出当前播放列表(html)"; this.Main_Tool_Export_Playlist.Name = "Main_Tool_Export_Playlist"; this.Main_Tool_Export_Playlist.Size = new System.Drawing.Size(247, 26); this.Main_Tool_Export_Playlist.Text = "导出当前播放列表(html)"; this.Main_Tool_Export_Playlist.Click += new System.EventHandler(this.Main_Tool_Export_Playlist_Click); // // Main_Tool_Export_Playlist_MP3 // this.Main_Tool_Export_Playlist_MP3.AccessibleDescription = "导出当前播放列表音频"; this.Main_Tool_Export_Playlist_MP3.AccessibleName = "导出当前播放列表音频"; this.Main_Tool_Export_Playlist_MP3.Name = "Main_Tool_Export_Playlist_MP3"; this.Main_Tool_Export_Playlist_MP3.Size = new System.Drawing.Size(247, 26); this.Main_Tool_Export_Playlist_MP3.Text = "导出当前播放列表音频"; this.Main_Tool_Export_Playlist_MP3.Click += new System.EventHandler(this.Main_Tool_Export_Playlist_MP3_Click); // // Main_Option_Menu // this.Main_Option_Menu.AccessibleDescription = "选项"; this.Main_Option_Menu.AccessibleName = "选项"; this.Main_Option_Menu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.Main_Option_Play_Fx, this.Main_Option_Play_Video, this.Main_Option_PlayMode, this.Main_Option_Select_QQ, this.Main_Option_Sync_QQ, this.Main_Option_Play_SB, this.Main_Option_Show_Popup}); this.Main_Option_Menu.Name = "Main_Option_Menu"; this.Main_Option_Menu.Size = new System.Drawing.Size(73, 24); this.Main_Option_Menu.Text = "选项(&O)"; // // Main_Option_Play_Fx // this.Main_Option_Play_Fx.AccessibleDescription = "音效开关"; this.Main_Option_Play_Fx.AccessibleName = "音效开关"; this.Main_Option_Play_Fx.Checked = global::OSUplayer.Properties.Settings.Default.PlayFx; this.Main_Option_Play_Fx.CheckOnClick = true; this.Main_Option_Play_Fx.CheckState = System.Windows.Forms.CheckState.Checked; this.Main_Option_Play_Fx.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "PlayFx", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Play_Fx.Name = "Main_Option_Play_Fx"; this.Main_Option_Play_Fx.Size = new System.Drawing.Size(168, 26); this.Main_Option_Play_Fx.Text = "音效开关"; // // Main_Option_Play_Video // this.Main_Option_Play_Video.AccessibleDescription = "视频开关"; this.Main_Option_Play_Video.AccessibleName = "视频开关"; this.Main_Option_Play_Video.Checked = global::OSUplayer.Properties.Settings.Default.PlayVideo; this.Main_Option_Play_Video.CheckOnClick = true; this.Main_Option_Play_Video.CheckState = System.Windows.Forms.CheckState.Checked; this.Main_Option_Play_Video.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "PlayVideo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Play_Video.Name = "Main_Option_Play_Video"; this.Main_Option_Play_Video.Size = new System.Drawing.Size(168, 26); this.Main_Option_Play_Video.Text = "视频开关"; // // Main_Option_PlayMode // this.Main_Option_PlayMode.AccessibleDescription = "播放模式"; this.Main_Option_PlayMode.AccessibleName = "播放模式"; this.Main_Option_PlayMode.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.Main_Option_PlayMode_Normal, this.Main_Option_PlayMode_Repeat, this.Main_Option_PlayMode_Random}); this.Main_Option_PlayMode.Name = "Main_Option_PlayMode"; this.Main_Option_PlayMode.Size = new System.Drawing.Size(168, 26); this.Main_Option_PlayMode.Text = "播放模式"; // // Main_Option_PlayMode_Normal // this.Main_Option_PlayMode_Normal.AccessibleDescription = "顺序播放"; this.Main_Option_PlayMode_Normal.AccessibleName = "顺序播放"; this.Main_Option_PlayMode_Normal.Name = "Main_Option_PlayMode_Normal"; this.Main_Option_PlayMode_Normal.Size = new System.Drawing.Size(144, 26); this.Main_Option_PlayMode_Normal.Text = "顺序播放"; this.Main_Option_PlayMode_Normal.Click += new System.EventHandler(this.Main_Option_PlayMode_Click); // // Main_Option_PlayMode_Repeat // this.Main_Option_PlayMode_Repeat.AccessibleDescription = "单曲循环"; this.Main_Option_PlayMode_Repeat.AccessibleName = "单曲循环"; this.Main_Option_PlayMode_Repeat.Name = "Main_Option_PlayMode_Repeat"; this.Main_Option_PlayMode_Repeat.Size = new System.Drawing.Size(144, 26); this.Main_Option_PlayMode_Repeat.Text = "单曲循环"; this.Main_Option_PlayMode_Repeat.Click += new System.EventHandler(this.Main_Option_PlayMode_Click); // // Main_Option_PlayMode_Random // this.Main_Option_PlayMode_Random.AccessibleDescription = "随机播放"; this.Main_Option_PlayMode_Random.AccessibleName = "随机播放"; this.Main_Option_PlayMode_Random.Name = "Main_Option_PlayMode_Random"; this.Main_Option_PlayMode_Random.Size = new System.Drawing.Size(144, 26); this.Main_Option_PlayMode_Random.Text = "随机播放"; this.Main_Option_PlayMode_Random.Click += new System.EventHandler(this.Main_Option_PlayMode_Click); // // Main_Option_Select_QQ // this.Main_Option_Select_QQ.AccessibleDescription = "选择QQ"; this.Main_Option_Select_QQ.AccessibleName = "选择QQ"; this.Main_Option_Select_QQ.Name = "Main_Option_Select_QQ"; this.Main_Option_Select_QQ.Size = new System.Drawing.Size(168, 26); this.Main_Option_Select_QQ.Text = "选择QQ"; this.Main_Option_Select_QQ.Click += new System.EventHandler(this.Main_Option_Select_QQ_Click); // // Main_Option_Sync_QQ // this.Main_Option_Sync_QQ.AccessibleDescription = "QQ状态同步"; this.Main_Option_Sync_QQ.AccessibleName = "QQ状态同步"; this.Main_Option_Sync_QQ.Checked = global::OSUplayer.Properties.Settings.Default.SyncQQ; this.Main_Option_Sync_QQ.CheckOnClick = true; this.Main_Option_Sync_QQ.CheckState = System.Windows.Forms.CheckState.Checked; this.Main_Option_Sync_QQ.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "SyncQQ", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Sync_QQ.Name = "Main_Option_Sync_QQ"; this.Main_Option_Sync_QQ.Size = new System.Drawing.Size(168, 26); this.Main_Option_Sync_QQ.Text = "QQ状态同步"; this.Main_Option_Sync_QQ.Click += new System.EventHandler(this.Main_Option_Sync_QQ_Click); // // Main_Option_Play_SB // this.Main_Option_Play_SB.AccessibleDescription = "SB开关"; this.Main_Option_Play_SB.AccessibleName = "SB开关"; this.Main_Option_Play_SB.Checked = global::OSUplayer.Properties.Settings.Default.PlaySB; this.Main_Option_Play_SB.CheckOnClick = true; this.Main_Option_Play_SB.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "PlaySB", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Play_SB.Name = "Main_Option_Play_SB"; this.Main_Option_Play_SB.Size = new System.Drawing.Size(168, 26); this.Main_Option_Play_SB.Text = "SB开关"; // // Main_Option_Show_Popup // this.Main_Option_Show_Popup.AccessibleDescription = "显示气泡"; this.Main_Option_Show_Popup.AccessibleName = "显示气泡"; this.Main_Option_Show_Popup.Checked = global::OSUplayer.Properties.Settings.Default.ShowPopup; this.Main_Option_Show_Popup.CheckOnClick = true; this.Main_Option_Show_Popup.CheckState = System.Windows.Forms.CheckState.Checked; this.Main_Option_Show_Popup.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "ShowPopup", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Show_Popup.Name = "Main_Option_Show_Popup"; this.Main_Option_Show_Popup.Size = new System.Drawing.Size(168, 26); this.Main_Option_Show_Popup.Text = "显示气泡"; // // Main_About // this.Main_About.AccessibleDescription = "关于"; this.Main_About.AccessibleName = "关于"; this.Main_About.Name = "Main_About"; this.Main_About.Size = new System.Drawing.Size(72, 24); this.Main_About.Text = "关于(&A)"; this.Main_About.Click += new System.EventHandler(this.Main_About_Click); // // Main_Panel // this.Main_Panel.Controls.Add(this.Main_Tab_Control_Panel); this.Main_Panel.Controls.Add(this.Main_TabPanel); this.Main_Panel.Controls.Add(this.Main_CurrentList); this.Main_Panel.Controls.Add(this.Main_Search_Box); this.Main_Panel.Controls.Add(this.Main_PlayList); this.Main_Panel.Controls.Add(this.Main_Core_Panel); this.Main_Panel.Controls.Add(this.Main_Collections); this.Main_Panel.Dock = System.Windows.Forms.DockStyle.Fill; this.Main_Panel.Location = new System.Drawing.Point(4, 28); this.Main_Panel.Margin = new System.Windows.Forms.Padding(0); this.Main_Panel.MinimumSize = new System.Drawing.Size(875, 654); this.Main_Panel.Name = "Main_Panel"; this.Main_Panel.Size = new System.Drawing.Size(875, 654); this.Main_Panel.TabIndex = 21; // // Main_Tab_Control_Panel // this.Main_Tab_Control_Panel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Main_Tab_Control_Panel.AutoSize = true; this.Main_Tab_Control_Panel.ColumnCount = 4; this.Main_Tab_Control_Panel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.Main_Tab_Control_Panel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.Main_Tab_Control_Panel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.Main_Tab_Control_Panel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.Main_Tab_Control_Panel.Controls.Add(this.Main_PageView_Page4, 3, 0); this.Main_Tab_Control_Panel.Controls.Add(this.Main_PageView_Page1, 0, 0); this.Main_Tab_Control_Panel.Controls.Add(this.Main_PageView_Page2, 1, 0); this.Main_Tab_Control_Panel.Controls.Add(this.Main_PageView_Page3, 2, 0); this.Main_Tab_Control_Panel.Location = new System.Drawing.Point(7, 620); this.Main_Tab_Control_Panel.Name = "Main_Tab_Control_Panel"; this.Main_Tab_Control_Panel.RowCount = 1; this.Main_Tab_Control_Panel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.Main_Tab_Control_Panel.Size = new System.Drawing.Size(313, 32); this.Main_Tab_Control_Panel.TabIndex = 41; // // Main_PageView_Page4 // this.Main_PageView_Page4.AutoSize = true; this.Main_PageView_Page4.BackColor = System.Drawing.SystemColors.ButtonFace; this.Main_PageView_Page4.FlatAppearance.BorderSize = 0; this.Main_PageView_Page4.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DodgerBlue; this.Main_PageView_Page4.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSteelBlue; this.Main_PageView_Page4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_PageView_Page4.Location = new System.Drawing.Point(235, 0); this.Main_PageView_Page4.Margin = new System.Windows.Forms.Padding(0); this.Main_PageView_Page4.Name = "Main_PageView_Page4"; this.Main_PageView_Page4.Size = new System.Drawing.Size(78, 32); this.Main_PageView_Page4.TabIndex = 40; this.Main_PageView_Page4.Text = "特殊选项"; this.Main_PageView_Page4.UseVisualStyleBackColor = false; this.Main_PageView_Page4.Click += new System.EventHandler(this.Main_PageView_Page_Click); // // Main_PageView_Page1 // this.Main_PageView_Page1.AutoSize = true; this.Main_PageView_Page1.BackColor = System.Drawing.Color.DodgerBlue; this.Main_PageView_Page1.FlatAppearance.BorderSize = 0; this.Main_PageView_Page1.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DodgerBlue; this.Main_PageView_Page1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSteelBlue; this.Main_PageView_Page1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_PageView_Page1.Location = new System.Drawing.Point(0, 0); this.Main_PageView_Page1.Margin = new System.Windows.Forms.Padding(0); this.Main_PageView_Page1.Name = "Main_PageView_Page1"; this.Main_PageView_Page1.Size = new System.Drawing.Size(78, 32); this.Main_PageView_Page1.TabIndex = 37; this.Main_PageView_Page1.Text = "Map信息"; this.Main_PageView_Page1.UseVisualStyleBackColor = false; this.Main_PageView_Page1.Click += new System.EventHandler(this.Main_PageView_Page_Click); // // Main_PageView_Page2 // this.Main_PageView_Page2.AutoSize = true; this.Main_PageView_Page2.BackColor = System.Drawing.SystemColors.ButtonFace; this.Main_PageView_Page2.FlatAppearance.BorderSize = 0; this.Main_PageView_Page2.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DodgerBlue; this.Main_PageView_Page2.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSteelBlue; this.Main_PageView_Page2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_PageView_Page2.Location = new System.Drawing.Point(78, 0); this.Main_PageView_Page2.Margin = new System.Windows.Forms.Padding(0); this.Main_PageView_Page2.Name = "Main_PageView_Page2"; this.Main_PageView_Page2.Size = new System.Drawing.Size(78, 32); this.Main_PageView_Page2.TabIndex = 38; this.Main_PageView_Page2.Text = "成绩信息"; this.Main_PageView_Page2.UseVisualStyleBackColor = false; this.Main_PageView_Page2.Click += new System.EventHandler(this.Main_PageView_Page_Click); // // Main_PageView_Page3 // this.Main_PageView_Page3.AutoSize = true; this.Main_PageView_Page3.BackColor = System.Drawing.SystemColors.ButtonFace; this.Main_PageView_Page3.FlatAppearance.BorderSize = 0; this.Main_PageView_Page3.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DodgerBlue; this.Main_PageView_Page3.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSteelBlue; this.Main_PageView_Page3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_PageView_Page3.Location = new System.Drawing.Point(156, 0); this.Main_PageView_Page3.Margin = new System.Windows.Forms.Padding(0); this.Main_PageView_Page3.Name = "Main_PageView_Page3"; this.Main_PageView_Page3.Size = new System.Drawing.Size(79, 32); this.Main_PageView_Page3.TabIndex = 39; this.Main_PageView_Page3.Text = "Diff信息"; this.Main_PageView_Page3.UseVisualStyleBackColor = false; this.Main_PageView_Page3.Click += new System.EventHandler(this.Main_PageView_Page_Click); // // Main_TabPanel // this.Main_TabPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_TabPanel.Controls.Add(this.Main_TabControl); this.Main_TabPanel.Location = new System.Drawing.Point(7, 430); this.Main_TabPanel.Name = "Main_TabPanel"; this.Main_TabPanel.Size = new System.Drawing.Size(518, 191); this.Main_TabPanel.TabIndex = 36; // // Main_TabControl // this.Main_TabControl.Alignment = System.Windows.Forms.TabAlignment.Bottom; this.Main_TabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_TabControl.Controls.Add(this.Main_TabPage1); this.Main_TabControl.Controls.Add(this.Main_TabPage2); this.Main_TabControl.Controls.Add(this.Main_TabPage3); this.Main_TabControl.Controls.Add(this.Main_TabPage4); this.Main_TabControl.Location = new System.Drawing.Point(0, 0); this.Main_TabControl.Name = "Main_TabControl"; this.Main_TabControl.SelectedIndex = 0; this.Main_TabControl.Size = new System.Drawing.Size(518, 220); this.Main_TabControl.TabIndex = 0; // // Main_TabPage1 // this.Main_TabPage1.Controls.Add(this.Main_ListDetail); this.Main_TabPage1.Location = new System.Drawing.Point(4, 4); this.Main_TabPage1.Name = "Main_TabPage1"; this.Main_TabPage1.Size = new System.Drawing.Size(510, 191); this.Main_TabPage1.TabIndex = 0; this.Main_TabPage1.Text = "tabPage1"; this.Main_TabPage1.UseVisualStyleBackColor = true; // // Main_ListDetail // this.Main_ListDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_ListDetail.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.Main_ListDetail_Key, this.Main_ListDetail_Value}); this.Main_ListDetail.FullRowSelect = true; this.Main_ListDetail.GridLines = true; this.Main_ListDetail.Location = new System.Drawing.Point(-3, -3); this.Main_ListDetail.MultiSelect = false; this.Main_ListDetail.Name = "Main_ListDetail"; this.Main_ListDetail.Size = new System.Drawing.Size(516, 190); this.Main_ListDetail.TabIndex = 40; this.Main_ListDetail.UseCompatibleStateImageBehavior = false; this.Main_ListDetail.View = System.Windows.Forms.View.Details; this.Main_ListDetail.VirtualMode = true; this.Main_ListDetail.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.Main_ListDetail_RetrieveVirtualItem); // // Main_ListDetail_Key // this.Main_ListDetail_Key.Name = "Main_ListDetail_Key"; this.Main_ListDetail_Key.Text = "Key"; this.Main_ListDetail_Key.Width = 120; // // Main_ListDetail_Value // this.Main_ListDetail_Value.Name = "Main_ListDetail_Value"; this.Main_ListDetail_Value.Text = "Value"; this.Main_ListDetail_Value.Width = 300; // // Main_TabPage2 // this.Main_TabPage2.Controls.Add(this.Main_ScoreBox); this.Main_TabPage2.Location = new System.Drawing.Point(4, 4); this.Main_TabPage2.Name = "Main_TabPage2"; this.Main_TabPage2.Padding = new System.Windows.Forms.Padding(3); this.Main_TabPage2.Size = new System.Drawing.Size(510, 191); this.Main_TabPage2.TabIndex = 1; this.Main_TabPage2.Text = "tabPage2"; this.Main_TabPage2.UseVisualStyleBackColor = true; // // Main_ScoreBox // this.Main_ScoreBox.AllColumns.Add(this.Main_ScoreBox_Rank); this.Main_ScoreBox.AllColumns.Add(this.Main_ScoreBox_Details); this.Main_ScoreBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_ScoreBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this.Main_ScoreBox.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.Main_ScoreBox_Rank, this.Main_ScoreBox_Details}); this.Main_ScoreBox.EmptyListMsg = "No Score"; this.Main_ScoreBox.FullRowSelect = true; this.Main_ScoreBox.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.Main_ScoreBox.Location = new System.Drawing.Point(0, 0); this.Main_ScoreBox.Name = "Main_ScoreBox"; this.Main_ScoreBox.OwnerDraw = true; this.Main_ScoreBox.RowHeight = 60; this.Main_ScoreBox.ShowGroups = false; this.Main_ScoreBox.Size = new System.Drawing.Size(506, 190); this.Main_ScoreBox.TabIndex = 26; this.Main_ScoreBox.UseCompatibleStateImageBehavior = false; this.Main_ScoreBox.View = System.Windows.Forms.View.Details; this.Main_ScoreBox.VirtualMode = true; // // Main_ScoreBox_Rank // this.Main_ScoreBox_Rank.CellPadding = null; this.Main_ScoreBox_Rank.Width = 45; // // Main_ScoreBox_Details // this.Main_ScoreBox_Details.AspectName = "Details"; this.Main_ScoreBox_Details.CellPadding = null; this.Main_ScoreBox_Details.Width = 451; this.Main_ScoreBox_Details.WordWrap = true; // // Main_TabPage3 // this.Main_TabPage3.Controls.Add(this.Main_DiffList); this.Main_TabPage3.Location = new System.Drawing.Point(4, 4); this.Main_TabPage3.Name = "Main_TabPage3"; this.Main_TabPage3.Size = new System.Drawing.Size(510, 191); this.Main_TabPage3.TabIndex = 2; this.Main_TabPage3.Text = "tabPage3"; this.Main_TabPage3.UseVisualStyleBackColor = true; // // Main_DiffList // this.Main_DiffList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_DiffList.BorderStyle = System.Windows.Forms.BorderStyle.None; this.Main_DiffList.FormattingEnabled = true; this.Main_DiffList.ItemHeight = 15; this.Main_DiffList.Location = new System.Drawing.Point(0, 0); this.Main_DiffList.Name = "Main_DiffList"; this.Main_DiffList.Size = new System.Drawing.Size(506, 180); this.Main_DiffList.TabIndex = 25; this.Main_DiffList.SelectedIndexChanged += new System.EventHandler(this.Main_DiffList_SelectedIndexChanged); this.Main_DiffList.DoubleClick += new System.EventHandler(this.Main_DiffList_DoubleClick); // // Main_TabPage4 // this.Main_TabPage4.Controls.Add(this.Main_Sort_Setting); this.Main_TabPage4.Controls.Add(this.Main_Sort_Label); this.Main_TabPage4.Controls.Add(this.Main_Option_Play_SB_Box); this.Main_TabPage4.Controls.Add(this.Main_Option_Play_Video_Box); this.Main_TabPage4.Controls.Add(this.Main_Option_Play_Fx_Box); this.Main_TabPage4.Controls.Add(this.Main_Speed_Control); this.Main_TabPage4.Controls.Add(this.Main_Sytle_Label); this.Main_TabPage4.Controls.Add(this.Main_Sytle_Setting); this.Main_TabPage4.Controls.Add(this.Main_NC_Control); this.Main_TabPage4.Location = new System.Drawing.Point(4, 4); this.Main_TabPage4.Name = "Main_TabPage4"; this.Main_TabPage4.Size = new System.Drawing.Size(510, 191); this.Main_TabPage4.TabIndex = 3; this.Main_TabPage4.Text = "tabPage1"; this.Main_TabPage4.UseVisualStyleBackColor = true; // // Main_Sort_Setting // this.Main_Sort_Setting.BackColor = System.Drawing.SystemColors.ButtonFace; this.Main_Sort_Setting.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.Main_Sort_Setting.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_Sort_Setting.FormattingEnabled = true; this.Main_Sort_Setting.Items.AddRange(new object[] { "Artist", "Title"}); this.Main_Sort_Setting.Location = new System.Drawing.Point(80, 108); this.Main_Sort_Setting.Name = "Main_Sort_Setting"; this.Main_Sort_Setting.Size = new System.Drawing.Size(121, 23); this.Main_Sort_Setting.TabIndex = 8; this.Main_Sort_Setting.SelectedIndexChanged += new System.EventHandler(this.Main_Sort_Setting_SelectedIndexChanged); // // Main_Sort_Label // this.Main_Sort_Label.AutoSize = true; this.Main_Sort_Label.Location = new System.Drawing.Point(7, 111); this.Main_Sort_Label.Name = "Main_Sort_Label"; this.Main_Sort_Label.Size = new System.Drawing.Size(67, 15); this.Main_Sort_Label.TabIndex = 7; this.Main_Sort_Label.Text = "排序方式"; // // Main_Option_Play_SB_Box // this.Main_Option_Play_SB_Box.AutoSize = true; this.Main_Option_Play_SB_Box.Checked = global::OSUplayer.Properties.Settings.Default.PlaySB; this.Main_Option_Play_SB_Box.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "PlaySB", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Play_SB_Box.Location = new System.Drawing.Point(10, 89); this.Main_Option_Play_SB_Box.Name = "Main_Option_Play_SB_Box"; this.Main_Option_Play_SB_Box.Size = new System.Drawing.Size(75, 19); this.Main_Option_Play_SB_Box.TabIndex = 6; this.Main_Option_Play_SB_Box.Text = "SB开关"; this.Main_Option_Play_SB_Box.UseVisualStyleBackColor = true; // // Main_Option_Play_Video_Box // this.Main_Option_Play_Video_Box.AutoSize = true; this.Main_Option_Play_Video_Box.Checked = global::OSUplayer.Properties.Settings.Default.PlayVideo; this.Main_Option_Play_Video_Box.CheckState = System.Windows.Forms.CheckState.Checked; this.Main_Option_Play_Video_Box.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "PlayVideo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Play_Video_Box.Location = new System.Drawing.Point(10, 64); this.Main_Option_Play_Video_Box.Name = "Main_Option_Play_Video_Box"; this.Main_Option_Play_Video_Box.Size = new System.Drawing.Size(89, 19); this.Main_Option_Play_Video_Box.TabIndex = 5; this.Main_Option_Play_Video_Box.Text = "视频开关"; this.Main_Option_Play_Video_Box.UseVisualStyleBackColor = true; // // Main_Option_Play_Fx_Box // this.Main_Option_Play_Fx_Box.AutoSize = true; this.Main_Option_Play_Fx_Box.Checked = global::OSUplayer.Properties.Settings.Default.PlayFx; this.Main_Option_Play_Fx_Box.CheckState = System.Windows.Forms.CheckState.Checked; this.Main_Option_Play_Fx_Box.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::OSUplayer.Properties.Settings.Default, "PlayFx", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.Main_Option_Play_Fx_Box.Location = new System.Drawing.Point(10, 39); this.Main_Option_Play_Fx_Box.Name = "Main_Option_Play_Fx_Box"; this.Main_Option_Play_Fx_Box.Size = new System.Drawing.Size(89, 19); this.Main_Option_Play_Fx_Box.TabIndex = 4; this.Main_Option_Play_Fx_Box.Text = "音效开关"; this.Main_Option_Play_Fx_Box.UseVisualStyleBackColor = true; // // Main_Speed_Control // this.Main_Speed_Control.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_Speed_Control.BackColor = System.Drawing.Color.Transparent; colorPack1.Border = System.Drawing.Color.SlateGray; colorPack1.Face = System.Drawing.Color.LightSteelBlue; colorPack1.Highlight = System.Drawing.Color.AliceBlue; this.Main_Speed_Control.ColorDown = colorPack1; colorPack2.Border = System.Drawing.Color.SlateGray; colorPack2.Face = System.Drawing.Color.GhostWhite; colorPack2.Highlight = System.Drawing.Color.White; this.Main_Speed_Control.ColorHover = colorPack2; colorPack3.Border = System.Drawing.Color.SlateGray; colorPack3.Face = System.Drawing.Color.Lavender; colorPack3.Highlight = System.Drawing.Color.AliceBlue; this.Main_Speed_Control.ColorUp = colorPack3; this.Main_Speed_Control.Enabled = false; this.Main_Speed_Control.FloatValue = false; this.Main_Speed_Control.JumpToMouse = true; this.Main_Speed_Control.Label = null; this.Main_Speed_Control.Location = new System.Drawing.Point(267, 10); this.Main_Speed_Control.MaxValue = 300; this.Main_Speed_Control.MinValue = 25; this.Main_Speed_Control.Name = "Main_Speed_Control"; this.Main_Speed_Control.Size = new System.Drawing.Size(237, 23); colorLinearGradient1.ColorA = System.Drawing.Color.LightGray; colorLinearGradient1.ColorB = System.Drawing.Color.LightGray; this.Main_Speed_Control.SliderColorHigh = colorLinearGradient1; colorLinearGradient2.ColorA = System.Drawing.Color.DimGray; colorLinearGradient2.ColorB = System.Drawing.Color.DimGray; this.Main_Speed_Control.SliderColorLow = colorLinearGradient2; this.Main_Speed_Control.SliderShape = gTrackBar.gTrackBar.eShape.ArrowDown; this.Main_Speed_Control.SliderWidthHigh = 3F; this.Main_Speed_Control.SliderWidthLow = 3F; this.Main_Speed_Control.TabIndex = 3; this.Main_Speed_Control.TickThickness = 1F; this.Main_Speed_Control.UpDownShow = false; this.Main_Speed_Control.Value = 25; this.Main_Speed_Control.ValueAdjusted = 0.25F; this.Main_Speed_Control.ValueBox = gTrackBar.gTrackBar.eValueBox.Right; this.Main_Speed_Control.ValueBoxBackColor = System.Drawing.Color.WhiteSmoke; this.Main_Speed_Control.ValueBoxBorder = System.Drawing.SystemColors.ButtonFace; this.Main_Speed_Control.ValueBoxFont = new System.Drawing.Font("Arial", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Main_Speed_Control.ValueBoxFontColor = System.Drawing.Color.Gray; this.Main_Speed_Control.ValueDivisor = gTrackBar.gTrackBar.eValueDivisor.e100; this.Main_Speed_Control.ValueStrFormat = "0.00"; this.Main_Speed_Control.ValueChanged += new gTrackBar.gTrackBar.ValueChangedEventHandler(this.Main_Speed_Control_ValueChanged); // // Main_Sytle_Label // this.Main_Sytle_Label.AutoSize = true; this.Main_Sytle_Label.Location = new System.Drawing.Point(7, 13); this.Main_Sytle_Label.Name = "Main_Sytle_Label"; this.Main_Sytle_Label.Size = new System.Drawing.Size(67, 15); this.Main_Sytle_Label.TabIndex = 2; this.Main_Sytle_Label.Text = "播放预置"; // // Main_Sytle_Setting // this.Main_Sytle_Setting.BackColor = System.Drawing.SystemColors.ButtonFace; this.Main_Sytle_Setting.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.Main_Sytle_Setting.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_Sytle_Setting.FormattingEnabled = true; this.Main_Sytle_Setting.Items.AddRange(new object[] { "HalfTime", "DayCore", "Normal", "NightCore", "DoubleTime", "Custom"}); this.Main_Sytle_Setting.Location = new System.Drawing.Point(80, 10); this.Main_Sytle_Setting.Name = "Main_Sytle_Setting"; this.Main_Sytle_Setting.Size = new System.Drawing.Size(121, 23); this.Main_Sytle_Setting.TabIndex = 1; this.Main_Sytle_Setting.SelectedIndexChanged += new System.EventHandler(this.Main_Sytle_Setting_SelectedIndexChanged); // // Main_NC_Control // this.Main_NC_Control.AutoSize = true; this.Main_NC_Control.Enabled = false; this.Main_NC_Control.Location = new System.Drawing.Point(216, 12); this.Main_NC_Control.Name = "Main_NC_Control"; this.Main_NC_Control.Size = new System.Drawing.Size(45, 19); this.Main_NC_Control.TabIndex = 0; this.Main_NC_Control.Text = "NC"; this.Main_NC_Control.UseVisualStyleBackColor = true; this.Main_NC_Control.CheckedChanged += new System.EventHandler(this.Main_NC_Control_CheckedChanged); // // Main_CurrentList // this.Main_CurrentList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Main_CurrentList.AutoSize = true; this.Main_CurrentList.Location = new System.Drawing.Point(528, 33); this.Main_CurrentList.Name = "Main_CurrentList"; this.Main_CurrentList.Size = new System.Drawing.Size(115, 15); this.Main_CurrentList.TabIndex = 30; this.Main_CurrentList.Text = "当前列表: FULL"; // // Main_Search_Box // this.Main_Search_Box.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Main_Search_Box.Hint = "Enter Keywords"; this.Main_Search_Box.Location = new System.Drawing.Point(637, 3); this.Main_Search_Box.Name = "Main_Search_Box"; this.Main_Search_Box.Size = new System.Drawing.Size(232, 25); this.Main_Search_Box.TabIndex = 35; this.Main_Search_Box.TabStop = false; this.Main_Search_Box.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Main_Search_Box_KeyPress); // // Main_PlayList // this.Main_PlayList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.Main_PlayList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.Main_PlayList_Name}); this.Main_PlayList.ContextMenuStrip = this.Main_PlayList_RightClick_Menu; this.Main_PlayList.FullRowSelect = true; this.Main_PlayList.GridLines = true; this.Main_PlayList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.Main_PlayList.HideSelection = false; this.Main_PlayList.Location = new System.Drawing.Point(525, 55); this.Main_PlayList.MultiSelect = false; this.Main_PlayList.Name = "Main_PlayList"; this.Main_PlayList.Size = new System.Drawing.Size(344, 595); this.Main_PlayList.TabIndex = 24; this.Main_PlayList.UseCompatibleStateImageBehavior = false; this.Main_PlayList.View = System.Windows.Forms.View.Details; this.Main_PlayList.VirtualMode = true; this.Main_PlayList.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.Main_PlayList_RetrieveVirtualItem); this.Main_PlayList.SelectedIndexChanged += new System.EventHandler(this.Main_PlayList_SelectedIndexChanged); this.Main_PlayList.DoubleClick += new System.EventHandler(this.Main_PlayList_DoubleClick); // // Main_PlayList_Name // this.Main_PlayList_Name.Text = ""; this.Main_PlayList_Name.Width = 500; // // Main_PlayList_RightClick_Menu // this.Main_PlayList_RightClick_Menu.ImageScalingSize = new System.Drawing.Size(20, 20); this.Main_PlayList_RightClick_Menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.Main_PlayList_RightClick_Copy_Current_Name, this.Main_PlayList_RightClick_Delete_One, this.Main_PlayList_RightClick_Export_MP3, this.Main_PlayList_RightClick_Open_In_OSU}); this.Main_PlayList_RightClick_Menu.Name = "RightClick"; this.Main_PlayList_RightClick_Menu.Size = new System.Drawing.Size(205, 108); this.Main_PlayList_RightClick_Menu.Opening += new System.ComponentModel.CancelEventHandler(this.Main_PlayList_RightClick_Menu_Opening); // // Main_PlayList_RightClick_Copy_Current_Name // this.Main_PlayList_RightClick_Copy_Current_Name.Name = "Main_PlayList_RightClick_Copy_Current_Name"; this.Main_PlayList_RightClick_Copy_Current_Name.Size = new System.Drawing.Size(204, 26); this.Main_PlayList_RightClick_Copy_Current_Name.Text = "复制当前歌曲名称"; this.Main_PlayList_RightClick_Copy_Current_Name.Click += new System.EventHandler(this.Main_PlayList_RightClick_Copy_Current_Name_Click); // // Main_PlayList_RightClick_Delete_One // this.Main_PlayList_RightClick_Delete_One.Name = "Main_PlayList_RightClick_Delete_One"; this.Main_PlayList_RightClick_Delete_One.Size = new System.Drawing.Size(204, 26); this.Main_PlayList_RightClick_Delete_One.Text = "删除单首"; this.Main_PlayList_RightClick_Delete_One.Click += new System.EventHandler(this.Main_PlayList_RightClick_Delete_One_Click); // // Main_PlayList_RightClick_Export_MP3 // this.Main_PlayList_RightClick_Export_MP3.Name = "Main_PlayList_RightClick_Export_MP3"; this.Main_PlayList_RightClick_Export_MP3.Size = new System.Drawing.Size(204, 26); this.Main_PlayList_RightClick_Export_MP3.Text = "导出当前MP3"; this.Main_PlayList_RightClick_Export_MP3.Click += new System.EventHandler(this.Main_File_Export_MP3_Click); // // Main_PlayList_RightClick_Open_In_OSU // this.Main_PlayList_RightClick_Open_In_OSU.Name = "Main_PlayList_RightClick_Open_In_OSU"; this.Main_PlayList_RightClick_Open_In_OSU.Size = new System.Drawing.Size(204, 26); this.Main_PlayList_RightClick_Open_In_OSU.Text = "在OSU中打开"; this.Main_PlayList_RightClick_Open_In_OSU.Click += new System.EventHandler(this.Main_Jump_OSU_Click); // // Main_Core_Panel // this.Main_Core_Panel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_Core_Panel.Controls.Add(this.Main_PlayPrev); this.Main_Core_Panel.Controls.Add(this.Main_Jump_OSU); this.Main_Core_Panel.Controls.Add(this.Main_Volume_TrackBar); this.Main_Core_Panel.Controls.Add(this.Main_Time_Trackbar); this.Main_Core_Panel.Controls.Add(this.Main_Mini_Switcher); this.Main_Core_Panel.Controls.Add(this.Main_Time_Display); this.Main_Core_Panel.Controls.Add(this.Main_Volume_Music_TrackBar); this.Main_Core_Panel.Controls.Add(this.Main_Main_Display); this.Main_Core_Panel.Controls.Add(this.Main_Volume_Fx_TrackBar); this.Main_Core_Panel.Controls.Add(this.Main_Fx_Hint_Label); this.Main_Core_Panel.Controls.Add(this.Main_Music_Hint_Label); this.Main_Core_Panel.Controls.Add(this.Main_Volume_Hint_Label); this.Main_Core_Panel.Controls.Add(this.Main_PlayNext); this.Main_Core_Panel.Controls.Add(this.Main_Stop); this.Main_Core_Panel.Controls.Add(this.Main_Play); this.Main_Core_Panel.Location = new System.Drawing.Point(0, 0); this.Main_Core_Panel.Margin = new System.Windows.Forms.Padding(0); this.Main_Core_Panel.Name = "Main_Core_Panel"; this.Main_Core_Panel.Size = new System.Drawing.Size(525, 431); this.Main_Core_Panel.TabIndex = 22; // // Main_PlayPrev // this.Main_PlayPrev.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Main_PlayPrev.BackColor = System.Drawing.Color.LightGray; this.Main_PlayPrev.FlatAppearance.BorderColor = System.Drawing.Color.Gray; this.Main_PlayPrev.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue; this.Main_PlayPrev.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSkyBlue; this.Main_PlayPrev.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_PlayPrev.Location = new System.Drawing.Point(132, 400); this.Main_PlayPrev.Name = "Main_PlayPrev"; this.Main_PlayPrev.Size = new System.Drawing.Size(43, 26); this.Main_PlayPrev.TabIndex = 56; this.Main_PlayPrev.Text = "←"; this.Main_PlayPrev.UseVisualStyleBackColor = false; this.Main_PlayPrev.Click += new System.EventHandler(this.Main_PlayPrev_Click); // // Main_Jump_OSU // this.Main_Jump_OSU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.Main_Jump_OSU.BackColor = System.Drawing.Color.LightGray; this.Main_Jump_OSU.FlatAppearance.BorderColor = System.Drawing.Color.Gray; this.Main_Jump_OSU.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue; this.Main_Jump_OSU.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSkyBlue; this.Main_Jump_OSU.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_Jump_OSU.Location = new System.Drawing.Point(491, 398); this.Main_Jump_OSU.Name = "Main_Jump_OSU"; this.Main_Jump_OSU.Size = new System.Drawing.Size(32, 26); this.Main_Jump_OSU.TabIndex = 0; this.Main_Jump_OSU.Text = "O"; this.Main_Jump_OSU.UseVisualStyleBackColor = false; this.Main_Jump_OSU.Click += new System.EventHandler(this.Main_Jump_OSU_Click); // // Main_Volume_TrackBar // this.Main_Volume_TrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.Main_Volume_TrackBar.BackColor = System.Drawing.Color.Transparent; this.Main_Volume_TrackBar.ColorDown = colorPack1; this.Main_Volume_TrackBar.ColorHover = colorPack2; this.Main_Volume_TrackBar.ColorUp = colorPack3; this.Main_Volume_TrackBar.FloatValue = false; this.Main_Volume_TrackBar.JumpToMouse = true; this.Main_Volume_TrackBar.Label = null; this.Main_Volume_TrackBar.Location = new System.Drawing.Point(491, 32); this.Main_Volume_TrackBar.MaxValue = 100; this.Main_Volume_TrackBar.Name = "Main_Volume_TrackBar"; this.Main_Volume_TrackBar.Orientation = System.Windows.Forms.Orientation.Vertical; this.Main_Volume_TrackBar.Size = new System.Drawing.Size(30, 343); this.Main_Volume_TrackBar.SliderColorHigh = colorLinearGradient1; this.Main_Volume_TrackBar.SliderColorLow = colorLinearGradient2; this.Main_Volume_TrackBar.SliderShape = gTrackBar.gTrackBar.eShape.ArrowRight; this.Main_Volume_TrackBar.SliderSize = new System.Drawing.Size(10, 20); this.Main_Volume_TrackBar.SliderWidthHigh = 2F; this.Main_Volume_TrackBar.SliderWidthLow = 2F; this.Main_Volume_TrackBar.TabIndex = 0; this.Main_Volume_TrackBar.TickThickness = 1F; this.Main_Volume_TrackBar.UpDownShow = false; this.Main_Volume_TrackBar.Value = global::OSUplayer.Properties.Settings.Default.Allvolume; this.Main_Volume_TrackBar.ValueAdjusted = 80F; this.Main_Volume_TrackBar.ValueDivisor = gTrackBar.gTrackBar.eValueDivisor.e1; this.Main_Volume_TrackBar.ValueStrFormat = null; this.Main_Volume_TrackBar.ValueChanged += new gTrackBar.gTrackBar.ValueChangedEventHandler(this.Main_Volume_TrackBar_ValueChanged); // // Main_Time_Trackbar // this.Main_Time_Trackbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_Time_Trackbar.BackColor = System.Drawing.Color.Transparent; this.Main_Time_Trackbar.ColorDown = colorPack1; this.Main_Time_Trackbar.ColorHover = colorPack2; this.Main_Time_Trackbar.ColorUp = colorPack3; this.Main_Time_Trackbar.Enabled = false; this.Main_Time_Trackbar.FloatValue = false; this.Main_Time_Trackbar.JumpToMouse = true; this.Main_Time_Trackbar.Label = null; this.Main_Time_Trackbar.Location = new System.Drawing.Point(230, 405); this.Main_Time_Trackbar.Name = "Main_Time_Trackbar"; this.Main_Time_Trackbar.Size = new System.Drawing.Size(257, 17); this.Main_Time_Trackbar.SliderColorHigh = colorLinearGradient1; this.Main_Time_Trackbar.SliderColorLow = colorLinearGradient2; this.Main_Time_Trackbar.SliderShape = gTrackBar.gTrackBar.eShape.ArrowDown; this.Main_Time_Trackbar.SliderWidthHigh = 3F; this.Main_Time_Trackbar.SliderWidthLow = 3F; this.Main_Time_Trackbar.TabIndex = 0; this.Main_Time_Trackbar.TickThickness = 1F; this.Main_Time_Trackbar.UpDownShow = false; this.Main_Time_Trackbar.Value = 0; this.Main_Time_Trackbar.ValueAdjusted = 0F; this.Main_Time_Trackbar.ValueDivisor = gTrackBar.gTrackBar.eValueDivisor.e1; this.Main_Time_Trackbar.ValueStrFormat = null; this.Main_Time_Trackbar.ValueChanged += new gTrackBar.gTrackBar.ValueChangedEventHandler(this.Main_Time_Trackbar_ValueChanged); this.Main_Time_Trackbar.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Main_Time_Trackbar_MouseClick); this.Main_Time_Trackbar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Main_Time_Trackbar_MouseDown); this.Main_Time_Trackbar.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Main_Time_Trackbar_MouseUp); // // Main_Mini_Switcher // this.Main_Mini_Switcher.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Main_Mini_Switcher.BackColor = System.Drawing.Color.LightGray; this.Main_Mini_Switcher.FlatAppearance.BorderColor = System.Drawing.Color.Gray; this.Main_Mini_Switcher.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue; this.Main_Mini_Switcher.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSkyBlue; this.Main_Mini_Switcher.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_Mini_Switcher.Location = new System.Drawing.Point(491, 3); this.Main_Mini_Switcher.Name = "Main_Mini_Switcher"; this.Main_Mini_Switcher.Size = new System.Drawing.Size(30, 27); this.Main_Mini_Switcher.TabIndex = 43; this.Main_Mini_Switcher.Text = "↓"; this.Main_Mini_Switcher.UseVisualStyleBackColor = false; this.Main_Mini_Switcher.Click += new System.EventHandler(this.Main_Mini_Switcher_Click); // // Main_Time_Display // this.Main_Time_Display.AutoSize = true; this.Main_Time_Display.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Main_Time_Display.Location = new System.Drawing.Point(7, 8); this.Main_Time_Display.Name = "Main_Time_Display"; this.Main_Time_Display.Size = new System.Drawing.Size(106, 15); this.Main_Time_Display.TabIndex = 55; this.Main_Time_Display.Text = "00:00/00:00"; // // Main_Volume_Music_TrackBar // this.Main_Volume_Music_TrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_Volume_Music_TrackBar.BackColor = System.Drawing.Color.Transparent; this.Main_Volume_Music_TrackBar.ColorDown = colorPack1; this.Main_Volume_Music_TrackBar.ColorHover = colorPack2; this.Main_Volume_Music_TrackBar.ColorUp = colorPack3; this.Main_Volume_Music_TrackBar.FloatValue = false; this.Main_Volume_Music_TrackBar.JumpToMouse = true; this.Main_Volume_Music_TrackBar.Label = null; this.Main_Volume_Music_TrackBar.Location = new System.Drawing.Point(162, 7); this.Main_Volume_Music_TrackBar.MaxValue = 100; this.Main_Volume_Music_TrackBar.Name = "Main_Volume_Music_TrackBar"; this.Main_Volume_Music_TrackBar.Size = new System.Drawing.Size(113, 17); this.Main_Volume_Music_TrackBar.SliderColorHigh = colorLinearGradient1; this.Main_Volume_Music_TrackBar.SliderColorLow = colorLinearGradient2; this.Main_Volume_Music_TrackBar.SliderShape = gTrackBar.gTrackBar.eShape.ArrowDown; this.Main_Volume_Music_TrackBar.SliderWidthHigh = 3F; this.Main_Volume_Music_TrackBar.SliderWidthLow = 3F; this.Main_Volume_Music_TrackBar.TabIndex = 54; this.Main_Volume_Music_TrackBar.TickThickness = 1F; this.Main_Volume_Music_TrackBar.UpDownShow = false; this.Main_Volume_Music_TrackBar.Value = global::OSUplayer.Properties.Settings.Default.Musicvolume; this.Main_Volume_Music_TrackBar.ValueAdjusted = 80F; this.Main_Volume_Music_TrackBar.ValueDivisor = gTrackBar.gTrackBar.eValueDivisor.e1; this.Main_Volume_Music_TrackBar.ValueStrFormat = null; this.Main_Volume_Music_TrackBar.ValueChanged += new gTrackBar.gTrackBar.ValueChangedEventHandler(this.Main_Volume_Music_TrackBar_ValueChanged); // // Main_Main_Display // this.Main_Main_Display.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Main_Main_Display.Location = new System.Drawing.Point(7, 29); this.Main_Main_Display.Margin = new System.Windows.Forms.Padding(0); this.Main_Main_Display.MinimumSize = new System.Drawing.Size(320, 240); this.Main_Main_Display.Name = "Main_Main_Display"; this.Main_Main_Display.Size = new System.Drawing.Size(480, 360); this.Main_Main_Display.TabIndex = 45; // // Main_Volume_Fx_TrackBar // this.Main_Volume_Fx_TrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Main_Volume_Fx_TrackBar.BackColor = System.Drawing.Color.Transparent; this.Main_Volume_Fx_TrackBar.ColorDown = colorPack1; this.Main_Volume_Fx_TrackBar.ColorHover = colorPack2; this.Main_Volume_Fx_TrackBar.ColorUp = colorPack3; this.Main_Volume_Fx_TrackBar.FloatValue = false; this.Main_Volume_Fx_TrackBar.JumpToMouse = true; this.Main_Volume_Fx_TrackBar.Label = null; this.Main_Volume_Fx_TrackBar.Location = new System.Drawing.Point(324, 7); this.Main_Volume_Fx_TrackBar.MaxValue = 100; this.Main_Volume_Fx_TrackBar.Name = "Main_Volume_Fx_TrackBar"; this.Main_Volume_Fx_TrackBar.Size = new System.Drawing.Size(156, 17); this.Main_Volume_Fx_TrackBar.SliderColorHigh = colorLinearGradient1; this.Main_Volume_Fx_TrackBar.SliderColorLow = colorLinearGradient2; this.Main_Volume_Fx_TrackBar.SliderShape = gTrackBar.gTrackBar.eShape.ArrowDown; this.Main_Volume_Fx_TrackBar.SliderWidthHigh = 3F; this.Main_Volume_Fx_TrackBar.SliderWidthLow = 3F; this.Main_Volume_Fx_TrackBar.TabIndex = 51; this.Main_Volume_Fx_TrackBar.TickThickness = 1F; this.Main_Volume_Fx_TrackBar.UpDownShow = false; this.Main_Volume_Fx_TrackBar.Value = global::OSUplayer.Properties.Settings.Default.Fxvolume; this.Main_Volume_Fx_TrackBar.ValueAdjusted = 60F; this.Main_Volume_Fx_TrackBar.ValueDivisor = gTrackBar.gTrackBar.eValueDivisor.e1; this.Main_Volume_Fx_TrackBar.ValueStrFormat = null; this.Main_Volume_Fx_TrackBar.ValueChanged += new gTrackBar.gTrackBar.ValueChangedEventHandler(this.Main_Volume_Fx_TrackBar_ValueChanged); // // Main_Fx_Hint_Label // this.Main_Fx_Hint_Label.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Main_Fx_Hint_Label.AutoSize = true; this.Main_Fx_Hint_Label.Location = new System.Drawing.Point(281, 6); this.Main_Fx_Hint_Label.Name = "Main_Fx_Hint_Label"; this.Main_Fx_Hint_Label.Size = new System.Drawing.Size(37, 15); this.Main_Fx_Hint_Label.TabIndex = 52; this.Main_Fx_Hint_Label.Text = "音效"; // // Main_Music_Hint_Label // this.Main_Music_Hint_Label.AutoSize = true; this.Main_Music_Hint_Label.Location = new System.Drawing.Point(119, 6); this.Main_Music_Hint_Label.Name = "Main_Music_Hint_Label"; this.Main_Music_Hint_Label.Size = new System.Drawing.Size(37, 15); this.Main_Music_Hint_Label.TabIndex = 53; this.Main_Music_Hint_Label.Text = "音乐"; // // Main_Volume_Hint_Label // this.Main_Volume_Hint_Label.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.Main_Volume_Hint_Label.AutoSize = true; this.Main_Volume_Hint_Label.Location = new System.Drawing.Point(487, 378); this.Main_Volume_Hint_Label.Name = "Main_Volume_Hint_Label"; this.Main_Volume_Hint_Label.Size = new System.Drawing.Size(37, 15); this.Main_Volume_Hint_Label.TabIndex = 50; this.Main_Volume_Hint_Label.Text = "音量"; // // Main_PlayNext // this.Main_PlayNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Main_PlayNext.BackColor = System.Drawing.Color.LightGray; this.Main_PlayNext.FlatAppearance.BorderColor = System.Drawing.Color.Gray; this.Main_PlayNext.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue; this.Main_PlayNext.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSkyBlue; this.Main_PlayNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_PlayNext.Location = new System.Drawing.Point(181, 400); this.Main_PlayNext.Name = "Main_PlayNext"; this.Main_PlayNext.Size = new System.Drawing.Size(43, 26); this.Main_PlayNext.TabIndex = 48; this.Main_PlayNext.Text = "→"; this.Main_PlayNext.UseVisualStyleBackColor = false; this.Main_PlayNext.Click += new System.EventHandler(this.Main_PlayNext_Click); // // Main_Stop // this.Main_Stop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Main_Stop.BackColor = System.Drawing.Color.LightGray; this.Main_Stop.Enabled = false; this.Main_Stop.FlatAppearance.BorderColor = System.Drawing.Color.Gray; this.Main_Stop.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue; this.Main_Stop.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSkyBlue; this.Main_Stop.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_Stop.Location = new System.Drawing.Point(69, 400); this.Main_Stop.Name = "Main_Stop"; this.Main_Stop.Size = new System.Drawing.Size(57, 26); this.Main_Stop.TabIndex = 47; this.Main_Stop.Text = "停止"; this.Main_Stop.UseVisualStyleBackColor = false; this.Main_Stop.Click += new System.EventHandler(this.Main_Stop_Click); // // Main_Play // this.Main_Play.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Main_Play.BackColor = System.Drawing.Color.LightGray; this.Main_Play.FlatAppearance.BorderColor = System.Drawing.Color.Gray; this.Main_Play.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue; this.Main_Play.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSkyBlue; this.Main_Play.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_Play.Location = new System.Drawing.Point(7, 400); this.Main_Play.Name = "Main_Play"; this.Main_Play.Size = new System.Drawing.Size(57, 26); this.Main_Play.TabIndex = 46; this.Main_Play.Text = "播放"; this.Main_Play.UseVisualStyleBackColor = false; this.Main_Play.Click += new System.EventHandler(this.Main_Play_Click); // // Main_Collections // this.Main_Collections.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Main_Collections.BackColor = System.Drawing.Color.LightGray; this.Main_Collections.FlatAppearance.BorderColor = System.Drawing.Color.Gray; this.Main_Collections.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue; this.Main_Collections.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightSkyBlue; this.Main_Collections.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Main_Collections.Location = new System.Drawing.Point(525, 3); this.Main_Collections.Name = "Main_Collections"; this.Main_Collections.Size = new System.Drawing.Size(106, 27); this.Main_Collections.TabIndex = 32; this.Main_Collections.Text = "切换收藏"; this.Main_Collections.UseVisualStyleBackColor = false; this.Main_Collections.Click += new System.EventHandler(this.Main_Collections_Click); // // UpdateTimer // this.UpdateTimer.Tick += new System.EventHandler(this.UpdateTimer_Tick); // // NextTimer // this.NextTimer.Interval = 200; this.NextTimer.Tick += new System.EventHandler(this.NextTimer_Tick); // // SearchTimer // this.SearchTimer.Interval = 500; this.SearchTimer.Tick += new System.EventHandler(this.SearchTimer_Tick); // // Main_MenuStrip // this.Main_MenuStrip.BackColor = System.Drawing.SystemColors.ButtonFace; this.Main_MenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20); this.Main_MenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.Main_File_Menu, this.Main_Tool_Menu, this.Main_Option_Menu, this.Main_About, this.Main_LanguageSelect, this.Main_QQ_Hint_Label}); this.Main_MenuStrip.Location = new System.Drawing.Point(4, 4); this.Main_MenuStrip.Name = "Main_MenuStrip"; this.Main_MenuStrip.Padding = new System.Windows.Forms.Padding(0); this.Main_MenuStrip.Size = new System.Drawing.Size(874, 24); this.Main_MenuStrip.TabIndex = 2; this.Main_MenuStrip.Text = "MenuStrip1"; // // Main_LanguageSelect // this.Main_LanguageSelect.AccessibleDescription = "语言(&L)"; this.Main_LanguageSelect.AccessibleName = "语言(&L)"; this.Main_LanguageSelect.Name = "Main_LanguageSelect"; this.Main_LanguageSelect.Size = new System.Drawing.Size(69, 24); this.Main_LanguageSelect.Text = "语言(&L)"; // // Main_QQ_Hint_Label // this.Main_QQ_Hint_Label.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.Main_QQ_Hint_Label.Name = "Main_QQ_Hint_Label"; this.Main_QQ_Hint_Label.Size = new System.Drawing.Size(97, 21); this.Main_QQ_Hint_Label.Text = "当前同步QQ:"; // // Main // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.SystemColors.ButtonFace; this.ClientSize = new System.Drawing.Size(882, 684); this.Controls.Add(this.Main_Panel); this.Controls.Add(this.Main_MenuStrip); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.Main_MenuStrip; this.MinimumSize = new System.Drawing.Size(900, 731); this.Name = "Main"; this.Padding = new System.Windows.Forms.Padding(4); this.Text = "OSUplayer"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AskForExit); this.Shown += new System.EventHandler(this.Main_Shown); this.SizeChanged += new System.EventHandler(this.Main_SizeChanged); this.Main_Panel.ResumeLayout(false); this.Main_Panel.PerformLayout(); this.Main_Tab_Control_Panel.ResumeLayout(false); this.Main_Tab_Control_Panel.PerformLayout(); this.Main_TabPanel.ResumeLayout(false); this.Main_TabControl.ResumeLayout(false); this.Main_TabPage1.ResumeLayout(false); this.Main_TabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Main_ScoreBox)).EndInit(); this.Main_TabPage3.ResumeLayout(false); this.Main_TabPage4.ResumeLayout(false); this.Main_TabPage4.PerformLayout(); this.Main_PlayList_RightClick_Menu.ResumeLayout(false); this.Main_Core_Panel.ResumeLayout(false); this.Main_Core_Panel.PerformLayout(); this.Main_MenuStrip.ResumeLayout(false); this.Main_MenuStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
// I like this open source trackbar control but it doesn't implement being greyed out when disabled private void ChangeGtrackbarColours(bool Enabled) { gTrackBar.ColorPack colorPack1 = new gTrackBar.ColorPack(); gTrackBar.ColorLinearGradient colorLinearGradient1 = new gTrackBar.ColorLinearGradient(); gTrackBar.ColorLinearGradient colorLinearGradient2 = new gTrackBar.ColorLinearGradient(); if(Enabled) { gTrackBarSpindleSpeed.ColorUp = colorPack1; colorLinearGradient1.ColorA = System.Drawing.Color.DarkGray; colorLinearGradient1.ColorB = System.Drawing.Color.DarkGray; this.gTrackBarSpindleSpeed.SliderColorHigh = colorLinearGradient1; colorLinearGradient2.ColorA = System.Drawing.Color.Red; colorLinearGradient2.ColorB = System.Drawing.Color.Red; this.gTrackBarSpindleSpeed.SliderColorLow = colorLinearGradient2; } else { colorPack1.Border = System.Drawing.Color.LightGray; colorPack1.Face = System.Drawing.Color.LightGray; colorPack1.Highlight = System.Drawing.Color.AliceBlue; gTrackBarSpindleSpeed.ColorUp = colorPack1; colorLinearGradient1.ColorA = System.Drawing.Color.LightGray; colorLinearGradient1.ColorB = System.Drawing.Color.LightGray; this.gTrackBarSpindleSpeed.SliderColorHigh = colorLinearGradient1; colorLinearGradient2.ColorA = System.Drawing.Color.LightGray; colorLinearGradient2.ColorB = System.Drawing.Color.LightGray; this.gTrackBarSpindleSpeed.SliderColorLow = colorLinearGradient2; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { gTrackBar.ColorPack colorPack1 = new gTrackBar.ColorPack(); gTrackBar.ColorPack colorPack2 = new gTrackBar.ColorPack(); gTrackBar.ColorPack colorPack3 = new gTrackBar.ColorPack(); gTrackBar.ColorLinearGradient colorLinearGradient1 = new gTrackBar.ColorLinearGradient(); this.endLabel2 = new System.Windows.Forms.Label(); this.startLabel = new System.Windows.Forms.Label(); this.gTrackBarMain = new gTrackBar.gTrackBar(); this.stopButton = new System.Windows.Forms.Button(); this.fileButton = new System.Windows.Forms.Button(); this.nextButton = new System.Windows.Forms.Button(); this.prevButton = new System.Windows.Forms.Button(); this.resumeButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // endLabel2 // this.endLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top; this.endLabel2.Font = new System.Drawing.Font("Tw Cen MT", 12.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.endLabel2.Location = new System.Drawing.Point(296, 46); this.endLabel2.Name = "endLabel2"; this.endLabel2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.endLabel2.Size = new System.Drawing.Size(58, 36); this.endLabel2.TabIndex = 2; this.endLabel2.Text = "End"; this.endLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // startLabel // this.startLabel.Anchor = System.Windows.Forms.AnchorStyles.Top; this.startLabel.Font = new System.Drawing.Font("Tw Cen MT", 12.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.startLabel.Location = new System.Drawing.Point(49, 46); this.startLabel.Name = "startLabel"; this.startLabel.Size = new System.Drawing.Size(61, 36); this.startLabel.TabIndex = 1; this.startLabel.Text = "Start"; this.startLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // gTrackBarMain // this.gTrackBarMain.BackColor = System.Drawing.SystemColors.Control; colorPack1.Border = System.Drawing.Color.Indigo; colorPack1.Face = System.Drawing.Color.DarkOrchid; colorPack1.Highlight = System.Drawing.Color.Fuchsia; this.gTrackBarMain.ColorDown = colorPack1; colorPack2.Border = System.Drawing.Color.Indigo; colorPack2.Face = System.Drawing.Color.DarkOrchid; colorPack2.Highlight = System.Drawing.Color.MediumPurple; this.gTrackBarMain.ColorHover = colorPack2; colorPack3.Border = System.Drawing.Color.DarkOrchid; colorPack3.Face = System.Drawing.Color.DarkOrchid; colorPack3.Highlight = System.Drawing.Color.DarkOrchid; this.gTrackBarMain.ColorUp = colorPack3; this.gTrackBarMain.Dock = System.Windows.Forms.DockStyle.Top; this.gTrackBarMain.FloatValue = false; this.gTrackBarMain.JumpToMouse = true; this.gTrackBarMain.Label = null; this.gTrackBarMain.Location = new System.Drawing.Point(0, 0); this.gTrackBarMain.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.gTrackBarMain.MaxValue = 100; this.gTrackBarMain.Name = "gTrackBarMain"; this.gTrackBarMain.ShowFocus = false; this.gTrackBarMain.Size = new System.Drawing.Size(435, 43); this.gTrackBarMain.SliderCapEnd = System.Drawing.Drawing2D.LineCap.Triangle; this.gTrackBarMain.SliderCapStart = System.Drawing.Drawing2D.LineCap.Triangle; colorLinearGradient1.ColorA = System.Drawing.Color.Black; colorLinearGradient1.ColorB = System.Drawing.Color.DarkOrchid; this.gTrackBarMain.SliderColorLow = colorLinearGradient1; this.gTrackBarMain.SliderShape = gTrackBar.gTrackBar.eShape.Rectangle; this.gTrackBarMain.SliderSize = new System.Drawing.Size(30, 30); this.gTrackBarMain.SliderWidthHigh = 15F; this.gTrackBarMain.SliderWidthLow = 4F; this.gTrackBarMain.SnapToValue = false; this.gTrackBarMain.TabIndex = 3; this.gTrackBarMain.TickInterval = 1; this.gTrackBarMain.TickThickness = 1F; this.gTrackBarMain.Value = 0; this.gTrackBarMain.ValueAdjusted = 0F; this.gTrackBarMain.ValueBoxBorder = System.Drawing.Color.SlateGray; this.gTrackBarMain.ValueBoxShape = gTrackBar.gTrackBar.eShape.Ellipse; this.gTrackBarMain.ValueBoxSize = new System.Drawing.Size(30, 30); this.gTrackBarMain.ValueDivisor = gTrackBar.gTrackBar.eValueDivisor.e1; this.gTrackBarMain.ValueStrFormat = null; this.gTrackBarMain.ValueChanged += new gTrackBar.gTrackBar.ValueChangedEventHandler(this.gTrackBarMain_ValueChanged); this.gTrackBarMain.Scroll += new gTrackBar.gTrackBar.ScrollEventHandler(this.gTrackBarMain_Scroll); this.gTrackBarMain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gTrackBarMain_MouseDown); this.gTrackBarMain.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gTrackBarMain_MouseUp); // // stopButton // this.stopButton.Anchor = System.Windows.Forms.AnchorStyles.Top; this.stopButton.BackgroundImage = global::Glaxion.Music.Properties.Resources.stop; this.stopButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.stopButton.Location = new System.Drawing.Point(224, 50); this.stopButton.Name = "stopButton"; this.stopButton.Size = new System.Drawing.Size(30, 30); this.stopButton.TabIndex = 13; this.stopButton.UseVisualStyleBackColor = true; this.stopButton.Click += new System.EventHandler(this.stopButton_Click); // // fileButton // this.fileButton.Anchor = System.Windows.Forms.AnchorStyles.Top; this.fileButton.BackgroundImage = global::Glaxion.Music.Properties.Resources.undo_file_318_30946; this.fileButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.fileButton.Location = new System.Drawing.Point(260, 50); this.fileButton.Name = "fileButton"; this.fileButton.Size = new System.Drawing.Size(30, 30); this.fileButton.TabIndex = 12; this.fileButton.UseVisualStyleBackColor = true; this.fileButton.Click += new System.EventHandler(this.fileButton_Click); // // nextButton // this.nextButton.Anchor = System.Windows.Forms.AnchorStyles.Top; this.nextButton.BackgroundImage = global::Glaxion.Music.Properties.Resources.last_512; this.nextButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.nextButton.Location = new System.Drawing.Point(152, 50); this.nextButton.Name = "nextButton"; this.nextButton.Size = new System.Drawing.Size(30, 30); this.nextButton.TabIndex = 11; this.nextButton.UseVisualStyleBackColor = true; this.nextButton.Click += new System.EventHandler(this.nextButton_Click); // // prevButton // this.prevButton.Anchor = System.Windows.Forms.AnchorStyles.Top; this.prevButton.BackgroundImage = global::Glaxion.Music.Properties.Resources.first_256; this.prevButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.prevButton.Location = new System.Drawing.Point(188, 50); this.prevButton.Name = "prevButton"; this.prevButton.Size = new System.Drawing.Size(30, 30); this.prevButton.TabIndex = 10; this.prevButton.UseVisualStyleBackColor = true; this.prevButton.Click += new System.EventHandler(this.prevButton_Click); // // resumeButton // this.resumeButton.Anchor = System.Windows.Forms.AnchorStyles.Top; this.resumeButton.BackgroundImage = global::Glaxion.Music.Properties.Resources.media_play_pause_resume; this.resumeButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.resumeButton.Location = new System.Drawing.Point(116, 50); this.resumeButton.Name = "resumeButton"; this.resumeButton.Size = new System.Drawing.Size(30, 30); this.resumeButton.TabIndex = 9; this.resumeButton.UseVisualStyleBackColor = true; this.resumeButton.Click += new System.EventHandler(this.resumeButton_Click); // // PlaybackTrackbarControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.Controls.Add(this.stopButton); this.Controls.Add(this.fileButton); this.Controls.Add(this.nextButton); this.Controls.Add(this.prevButton); this.Controls.Add(this.resumeButton); this.Controls.Add(this.gTrackBarMain); this.Controls.Add(this.startLabel); this.Controls.Add(this.endLabel2); this.Name = "PlaybackTrackbarControl"; this.Size = new System.Drawing.Size(435, 82); this.Load += new System.EventHandler(this.PlaybackTrackbarControl_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { gTrackBar.ColorPack colorPack1 = new gTrackBar.ColorPack(); gTrackBar.ColorPack colorPack2 = new gTrackBar.ColorPack(); gTrackBar.ColorLinearGradient colorLinearGradient1 = new gTrackBar.ColorLinearGradient(); this.gTrackBarMain = new gTrackBar.gTrackBar(); this.SuspendLayout(); // // gTrackBarMain // this.gTrackBarMain.BackColor = System.Drawing.SystemColors.Control; this.gTrackBarMain.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.gTrackBarMain.BrushDirection = System.Drawing.Drawing2D.LinearGradientMode.Vertical; colorPack1.Border = System.Drawing.Color.DarkBlue; colorPack1.Face = System.Drawing.Color.Blue; colorPack1.Highlight = System.Drawing.Color.AliceBlue; this.gTrackBarMain.ColorDown = colorPack1; colorPack2.Border = System.Drawing.Color.CornflowerBlue; colorPack2.Face = System.Drawing.Color.DarkSlateBlue; colorPack2.Highlight = System.Drawing.Color.AliceBlue; this.gTrackBarMain.ColorUp = colorPack2; this.gTrackBarMain.Dock = System.Windows.Forms.DockStyle.Fill; this.gTrackBarMain.FloatValueFont = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); this.gTrackBarMain.JumpToMouse = true; this.gTrackBarMain.Label = "Volume"; this.gTrackBarMain.LabelAlighnment = System.Drawing.StringAlignment.Far; this.gTrackBarMain.LabelColor = System.Drawing.Color.DarkBlue; this.gTrackBarMain.Location = new System.Drawing.Point(0, 0); this.gTrackBarMain.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.gTrackBarMain.MaxValue = 100; this.gTrackBarMain.Name = "gTrackBarMain"; this.gTrackBarMain.ShowFocus = false; this.gTrackBarMain.Size = new System.Drawing.Size(557, 40); colorLinearGradient1.ColorA = System.Drawing.Color.Blue; colorLinearGradient1.ColorB = System.Drawing.Color.MediumSpringGreen; this.gTrackBarMain.SliderColorLow = colorLinearGradient1; this.gTrackBarMain.SliderSize = new System.Drawing.Size(20, 20); this.gTrackBarMain.SliderWidthHigh = 2F; this.gTrackBarMain.SliderWidthLow = 12F; this.gTrackBarMain.SnapToValue = false; this.gTrackBarMain.TabIndex = 4; this.gTrackBarMain.TickInterval = 1; this.gTrackBarMain.TickThickness = 1F; this.gTrackBarMain.TickWidth = 1; this.gTrackBarMain.Value = 25; this.gTrackBarMain.ValueAdjusted = 25F; this.gTrackBarMain.ValueBox = gTrackBar.gTrackBar.eValueBox.Right; this.gTrackBarMain.ValueBoxBorder = System.Drawing.Color.AliceBlue; this.gTrackBarMain.ValueBoxShape = gTrackBar.gTrackBar.eShape.Ellipse; this.gTrackBarMain.ValueBoxSize = new System.Drawing.Size(30, 30); this.gTrackBarMain.ValueDivisor = gTrackBar.gTrackBar.eValueDivisor.e1; this.gTrackBarMain.ValueStrFormat = null; this.gTrackBarMain.ValueChanged += new gTrackBar.gTrackBar.ValueChangedEventHandler(this.gTrackBarMain_ValueChanged); this.gTrackBarMain.Scroll += new gTrackBar.gTrackBar.ScrollEventHandler(this.gTrackBarMain_Scroll); this.gTrackBarMain.MouseClick += new System.Windows.Forms.MouseEventHandler(this.gTrackBarMain_MouseClick); // // PlaybackVolumeControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveBorder; this.Controls.Add(this.gTrackBarMain); this.Name = "PlaybackVolumeControl"; this.Size = new System.Drawing.Size(557, 40); this.Load += new System.EventHandler(this.PlaybackVolumeControl_Load); this.ResumeLayout(false); }