Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/08/10 11:23:00 (15 years ago)
Author:
mkommend
Message:

corrected access modifiers of some methods and fields (ticket #857)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/View.cs

    r2813 r2962  
    119119    }
    120120
    121     internal CloseReason closeReason;
    122     internal void OnClosingHelper(object sender, FormClosingEventArgs e) {
     121    private CloseReason closeReason;
     122    internal CloseReason CloseReason {
     123      get { return this.closeReason; }
     124      set { this.closeReason = value; }
     125    }
     126
     127    private void OnClosingHelper(object sender, FormClosingEventArgs e) {
    123128      if (this.closeReason != CloseReason.None)
    124129        this.OnClosing(new FormClosingEventArgs(this.closeReason, e.Cancel));
     
    132137    }
    133138
    134     internal void OnClosedHelper(object sender, FormClosedEventArgs e) {
     139    private void OnClosedHelper(object sender, FormClosedEventArgs e) {
    135140      if (this.closeReason != CloseReason.None)
    136141        this.OnClosed(new FormClosedEventArgs(this.closeReason));
Note: See TracChangeset for help on using the changeset viewer.