CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sadslapper

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    2,167

    Re: Using List with a ListBox

    It had been on sort = false the whole time, changing it to true didn't change anything. Here are my methods:


    public class CustomerManager
    {
    private List<Customer> m_customers;
    ...
  2. Replies
    10
    Views
    2,167

    Re: Using List with a ListBox

    How do I change the sort style? I can't find anything about it on MSDN. Also, I tried to resort it, but I got this error message when I tried to remove an item between two other items:
    ...
  3. Replies
    10
    Views
    2,167

    Re: Using List with a ListBox

    Yeah, I thought of that. But it doesn't solve the problem that arises when you try to remove the list item after the first removed one.
    ListBoxes rearrange themselves so the order is always 0, 1, 2,...
  4. Replies
    10
    Views
    2,167

    Re: Using List with a ListBox

    Sorry for being unclear. My assignment apperantly says I cannot use datasource but have to add them by hand.
  5. Replies
    10
    Views
    2,167

    Re: Using List with a ListBox

    How do I bind the list to the listbox while still having a convenient string to use when adding to the listbox?
  6. Replies
    10
    Views
    2,167

    Using List with a ListBox

    Hello. I'm trying to create a form called MainForm that contains a ListBox with the ability to add, edit and remove objects from the list. The list shows strings with data coming from a...
  7. Re: MainForm's object calling a method from MainForm?

    I got it figured out, I just didn't know that methods 'pause' if they open a dialog, then resume when the dialog closes. Thanks a ton anyway!
  8. Re: MainForm's object calling a method from MainForm?

    You're almost correct, but I want to add to the list of customers that's located in MainForm. Basically, you start the program with MainForm which will show you an empty listbox. You then click on...
  9. [RESOLVED] MainForm's object calling a method from MainForm?

    Hi there. I've got a bunch of classes, they look like this:
    (Arrow means the left one got the right one as an object)
    MainForm -> ContactForm -> Contact -> Adress + Phone + Email MainForm ->...
  10. Re: IndexOutOfRangeException after making class indepedant

    I changed it to look like this:


    public class SeatManager
    {
    private int m_totNumOfRows;
    private int m_totNumOfCols;
    private int m_totNumOfSeats;
    private string[,] m_nameMatrix;...
  11. [RESOLVED] IndexOutOfRangeException after making class indepedant

    Hello, I'm a rook when it comes to programming. Recently, I made this little things as a school project. I later read that the SeatManager class must be indepedant and changed my code accordingly....
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured