Пример #1
0
        private void ResizeMediaGrid(object sender, EventArgs e)
        {
            ListViewEx lv = (ListViewEx)sender;

            lv.Columns[0].Width = (int)(lv.Width - lv.Columns[1].Width - 25);
            // TODO: Fix width, it's showing elipses.. see AutoResizeColumn(1, ColumnHeaderAutoResizeStyle.HeaderSize);
        }
 public PlaylistMediaCollection(EngineWrapper engine, ListViewEx TrackDisplayList, Label TotalPlayLengthDisplay, PlayControl PlayControl)
     : base(engine, "Playlist Media", "", TrackDisplayList, false)
 {
     this.PlayControl            = PlayControl;
     this.TotalPlayLengthDisplay = TotalPlayLengthDisplay;
     PlayControl.Playlist        = this;
     UpdateTrackDisplay();
 }