public Main() { this.InitializeComponent(); this.playlistExtender = new ListViewExtender(this.playlist); // extend 2nd column var buttonAction = new ListViewButtonColumn(this.playlist.Columns.Count - 1); buttonAction.Click += this.PlaySingleAction; buttonAction.FixedWidth = true; this.playlistExtender.AddColumn(buttonAction); this.DragEnter += MainDragEnter; this.DragDrop += MainDragDrop; this.addDialog = new AddDialog(); this.settingsDialog = new Settings(); this.lblVersion.Text = string.Format("Version {0} [[email protected]]", Application.ProductVersion); this.settingSerializer = new DisplaySettingSerializer(); this.playlistSerializer = new PlaylistSerializer(); this.mouseTimer = new System.Threading.Timer(DisplayMousePosition); this.Disposed += Main_Disposed; }