Exemple #1
0
    private int maxPrime = 50000000; // 822066

    public Aufg10()
    {
        Text = "Aufgabe 10";
        Size = new Size(500, 500);
        CenterToScreen();
        InitProgressBar();
        InitializeComponent();
        to = new DelegateTextOut(TextOut);
    }
Exemple #2
0
 //static bool isNt = (System.Environment.OSVersion.Platform == PlatformID.Win32NT) ? true : false;
 static GDI()
 {
     if (Environment.OSVersion.Platform == PlatformID.Win32NT)
     {
         TabbedTextOutFull = TabbedTextOutFullNT;
         TabbedTextOut     = TabbedTextOutNT;
         MeasureText       = MeasureTextNT;
     }
     else
     {
         TabbedTextOutFull = TabbedTextOutFull98;
         TabbedTextOut     = TabbedTextOut98;
         MeasureText       = MeasureText98;
     }
 }