コード例 #1
0
ファイル: SpreadChartElement.cs プロジェクト: Daoting/dt
 internal SpreadChartElement(SpreadChartBase chart)
 {
     this._isAutomaticFill   = true;
     this._isAutomaticStroke = true;
     this._suspendState      = new WorkingState();
     this._chart             = chart;
 }
コード例 #2
0
 /// <summary>
 /// Suspends the specified key.
 /// </summary>
 /// <param name="key">Key to suspend.</param>
 public void AddRef(string key)
 {
     if (this.states == null)
     {
         this.states = (IDictionary <string, WorkingState>) new Dictionary <string, WorkingState>();
     }
     if (this.states.ContainsKey(key))
     {
         this.states[key].AddRef();
     }
     else
     {
         WorkingState state2 = new WorkingState();
         state2.AddRef();
         this.states.Add(key, state2);
     }
 }
コード例 #3
0
ファイル: FloatingObjectStyleInfo.cs プロジェクト: Daoting/dt
 public FloatingObjectStyleInfo(FloatingObjectStyleInfo format)
 {
     this._suspendState = new WorkingState();
     this._lineJoinType = PenLineJoin.Round;
     this.CopyFromInternal(format, true);
 }
コード例 #4
0
ファイル: FloatingObjectStyleInfo.cs プロジェクト: Daoting/dt
 public FloatingObjectStyleInfo()
 {
     this._suspendState = new WorkingState();
     this._lineJoinType = PenLineJoin.Round;
     this.Init();
 }
コード例 #5
0
ファイル: SpreadChartElement.cs プロジェクト: Daoting/dt
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.SpreadChartElement" /> class.
 /// </summary>
 public SpreadChartElement()
 {
     this._isAutomaticFill   = true;
     this._isAutomaticStroke = true;
     this._suspendState      = new WorkingState();
 }
コード例 #6
0
ファイル: FloatingObject.cs プロジェクト: Daoting/dt
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.FloatingObject" /> class.
 /// </summary>
 /// <param name="name">The name of the floating object.</param>
 /// <param name="x">The x location of the floating object.</param>
 /// <param name="y">The y location of the floating object.</param>
 /// <param name="width">The width of the floating object.</param>
 /// <param name="height">The height of the floating object.</param>
 public FloatingObject(string name, double x, double y, double width, double height)
 {
     this._suspendState = new WorkingState();
     this.Init(name, x, y, width, height);
 }
コード例 #7
0
ファイル: FloatingObject.cs プロジェクト: Daoting/dt
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.FloatingObject" /> class.
 /// </summary>
 /// <param name="name">The name of the floating object.</param>
 /// <param name="x">The x location of the floating object.</param>
 /// <param name="y">The y location of the floating object.</param>
 public FloatingObject(string name, double x, double y)
 {
     this._suspendState = new WorkingState();
     this.Init(name, x, y, 300.0, 300.0);
 }
コード例 #8
0
 /// <summary>
 /// Creates a new notify collection.
 /// </summary>
 protected NotifyCollectionBase()
 {
     this.items        = new List <T>();
     this.suspendState = new WorkingState();
 }