コード例 #1
0
 public Shape(FiguresData fd)
 {
     this.fd = fd;
 }
コード例 #2
0
 public Triangle(FiguresData fd) : base(fd)
 {
     base.fd.type = Figures.Triangle;
 }
コード例 #3
0
ファイル: Rectangle.cs プロジェクト: svetlana-v-m/Geometry
 public Rectangle(FiguresData fd) : base(fd)
 {
     base.fd.b    = base.fd.c;
     base.fd.type = Figures.Rectangle;
 }
コード例 #4
0
 public Circle(FiguresData fd) : base(fd)
 {
     base.fd.c    = base.fd.b = base.fd.a;
     base.fd.type = Figures.Circle;
 }