1

Closed

CLR imports are "never" resolved

description

Given this code (IronPython Winforms template):
import clr
clr.AddReference('System.Drawing')
clr.AddReference('System.Windows.Forms')

from System.Drawing import *
from System.Windows.Forms import *

class MyForm(Form):
    def __init__(self):
        # Create child controls and initialize form
        pass
The from...import statements are marked with green squiggles saying the modules cannot be resolved, but the imported members (Form) are correctly resolved.
Closed Jun 23 at 9:01 PM by Zooba

comments