History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-65638
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Hadi Eskandari
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Extracting interface of a Form / Usercontrol with design-time attributes

Created: 20 Apr 08 12:48   Updated: 25 Apr 08 20:02
Component/s: Refactorings - Extract Interface
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 775


 Description  « Hide
When extracting interface of a Form class with some properties having designer attributes (e.g. Browsable or DesignerSerializationVisibility), the extracted property in the interface, will have these attributes too.

here's what I got :

public interface ICompanySubForm
{
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
CompanyModule Owner { get; }
}

furthermore, the extracted interface is places in the .Designer file (for the Form) which is better if it is placed under the same .cs file.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.