コード例 #1
0
 private void Init(PartDataFormType type)
 {
     InitializeComponent();
     Type          = type;
     PartIds       = new List <int>();
     Prices        = new List <PartPrice>();
     Stocks        = new List <StockTaking>();
     this.Location = new Point(Cursor.Position.X, Cursor.Position.Y);
 }
コード例 #2
0
 public frmGetPartData(PartDataFormType type, List <int> partsId)
 {
     Init(type);
     PartIds = partsId;
 }
コード例 #3
0
 public frmGetPartData(PartDataFormType type, int partId)
 {
     Init(type);
     PartIds.Add(partId);
 }