コード例 #1
0
        private void OnCloneComplete()
        {
            _arc = CollectionUtils.SelectFirst(base.Graphics,
                                               delegate(IGraphic test) { return(test is InvariantArcPrimitive); }) as InvariantArcPrimitive;

            Platform.CheckForNullReference(_arc, "_arc");
        }
コード例 #2
0
ファイル: ProtractorGraphic.cs プロジェクト: nhannd/Xian
		public ProtractorGraphic() : base()
		{
			base.Graphics.Add(_arc = new InvariantArcPrimitive());
			_arc.Visible = false;
		}
コード例 #3
0
ファイル: ProtractorGraphic.cs プロジェクト: nhannd/Xian
		private void OnCloneComplete()
		{
			_arc = CollectionUtils.SelectFirst(base.Graphics,
				delegate(IGraphic test) { return test is InvariantArcPrimitive; }) as InvariantArcPrimitive;

			Platform.CheckForNullReference(_arc, "_arc");
		}
コード例 #4
0
 public ProtractorGraphic() : base()
 {
     base.Graphics.Add(_arc = new InvariantArcPrimitive());
     _arc.Visible           = false;
 }