Esempio n. 1
0
        /*private class ListComparer : IComparer
         * {
         *  public int Compare(object x, object y)
         *  {
         *      return ((ListViewItem)x).Index - ((ListViewItem)y).Index;
         *  }
         * }*/

        public FriendsListForm()
        {
            Instance = this;
            InitializeComponent();
            // listview.ListViewItemSorter = new ListComparer();
            // listview.Sorting = SortOrder.Ascending;
            listview.SmallImageList = MainForm.Instance.imagelist_listbox;
            listview.LargeImageList = MainForm.Instance.imagelist_listbox;
            Utils.SetDoubleBuffering(listview);
        }
Esempio n. 2
0
 private void FriendsSummaryForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     Instance = null;
 }