Opened 8 years ago
Closed 8 years ago
#2578 closed defect (done)
MainForm throws NullReferenceException when default ctor is used
Reported by: | mkommend | Owned by: | mkommend |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.14 |
Component: | MainForm | Version: | 3.3.13 |
Keywords: | Cc: |
Description
Mainforms declare two ctors:
- MainForm()
- MainForm(Type userInterfaceType)
The default ctor has only been added so that the VS designer works. However, sometimes a mainform without menu- or toolstrip items are quite useful. Therefore the default ctor should also create a valid mainform without throwing an exception.
Change History (4)
comment:1 Changed 8 years ago by mkommend
- Status changed from new to accepted
comment:2 Changed 8 years ago by mkommend
- Owner changed from mkommend to abeham
- Status changed from accepted to reviewing
comment:3 Changed 8 years ago by abeham
- Owner changed from abeham to mkommend
- Status changed from reviewing to readytorelease
ok
comment:4 Changed 8 years ago by mkommend
- Resolution set to done
- Status changed from readytorelease to closed
Note: See
TracTickets for help on using
tickets.
r13621: Fixed default ctor of Mainform w.r.t. UI creation.