Compare commits
No commits in common. 'master' and 'tolist' have entirely different histories.
11 changed files with 71 additions and 156 deletions
@ -1,6 +1,6 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8" ?> |
||||||
<configuration> |
<configuration> |
||||||
<startup> |
<startup> |
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/> |
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> |
||||||
</startup> |
</startup> |
||||||
</configuration> |
</configuration> |
@ -1,50 +0,0 @@ |
|||||||
using System; |
|
||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using System.Linq; |
|
||||||
using System.Text; |
|
||||||
using System.Threading.Tasks; |
|
||||||
|
|
||||||
namespace Vlimport |
|
||||||
{ |
|
||||||
public class Operations : IEnumerable |
|
||||||
{ |
|
||||||
//public Operations[] operations; |
|
||||||
ArrayList operations = new ArrayList(); |
|
||||||
|
|
||||||
IEnumerator IEnumerable.GetEnumerator() |
|
||||||
{ return operations.GetEnumerator(); } |
|
||||||
|
|
||||||
public Operations(string operNum, string operName) |
|
||||||
{ |
|
||||||
OperNum = operNum; |
|
||||||
OperName = operName; |
|
||||||
} |
|
||||||
|
|
||||||
public Operations() |
|
||||||
{ |
|
||||||
} |
|
||||||
|
|
||||||
private string operNum; |
|
||||||
|
|
||||||
public string OperNum { get => operNum; set => operNum = value; } |
|
||||||
|
|
||||||
private string operName; |
|
||||||
|
|
||||||
public string OperName { get => operName; set => operName = value; } |
|
||||||
|
|
||||||
public void Add(string OperNum, string OperName) |
|
||||||
{ |
|
||||||
operations.Add(new Operations(operNum, operName)); |
|
||||||
} |
|
||||||
|
|
||||||
public override string ToString() |
|
||||||
|
|
||||||
{ |
|
||||||
return operNum + " " + operName; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
} |
|
@ -1,10 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<!-- |
|
||||||
This file is automatically generated by Visual Studio .Net. It is |
|
||||||
used to store generic object data source configuration information. |
|
||||||
Renaming the file extension or editing the content of this file may |
|
||||||
cause the file to be unrecognizable by the program. |
|
||||||
--> |
|
||||||
<GenericObjectDataSource DisplayName="Operations" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
|
||||||
<TypeInfo>Vlimport.Operations, Vlimport, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
|
||||||
</GenericObjectDataSource> |
|
Binary file not shown.
Loading…
Reference in new issue