If I'm not mistaken, type 1 is an autoimmune disease that happens when your body starts attacking its own insulin cells. It normally appears during childhood, which is why it's sometimes called "juvenile onset diabetes". AFAIK it is genetic/inherited and not something that you can just "get" randomly as an adult.