2024年3月21日发(作者:从凌波)
.
using System;
using c;
using entModel;
using ;
using g;
using ;
using ;
using ;
using tions;
namespace DXF
{
public partial class Form1 : Form
{
private FileStream fs;
private StreamReader sr;
private ArrayList LayerList = new ArrayList();
private ArrayList LineList = new ArrayList();
private ArrayList ArcList=new ArrayList();
private ArrayList EllipseList = new ArrayList();
private ArrayList LwopolylineList = new ArrayList();
private ArrayList SplineList=new ArrayList();
private string[] str = new string[2];
private int count;
private double leftx;
private double lefty;
.
.
private double rightx;
private double righty;
public Form1()
{
InitializeComponent();
}
private string[] ReadPair()
{
string code = ne().Trim();
string codedata = ne().Trim();
count += 2;
string[] result = new string[2] { code, codedata };
return result;
}
private void Read()
{
while (() != -1)
{
str = ReadPair();
if (str[1] == "SECTION")
{
str = ReadPair();
switch (str[1])
.
2024年3月21日发(作者:从凌波)
.
using System;
using c;
using entModel;
using ;
using g;
using ;
using ;
using ;
using tions;
namespace DXF
{
public partial class Form1 : Form
{
private FileStream fs;
private StreamReader sr;
private ArrayList LayerList = new ArrayList();
private ArrayList LineList = new ArrayList();
private ArrayList ArcList=new ArrayList();
private ArrayList EllipseList = new ArrayList();
private ArrayList LwopolylineList = new ArrayList();
private ArrayList SplineList=new ArrayList();
private string[] str = new string[2];
private int count;
private double leftx;
private double lefty;
.
.
private double rightx;
private double righty;
public Form1()
{
InitializeComponent();
}
private string[] ReadPair()
{
string code = ne().Trim();
string codedata = ne().Trim();
count += 2;
string[] result = new string[2] { code, codedata };
return result;
}
private void Read()
{
while (() != -1)
{
str = ReadPair();
if (str[1] == "SECTION")
{
str = ReadPair();
switch (str[1])
.