public StorageView(string captionTxt) : base(captionTxt) { InitializeComponent(); presenter = new StoragePresenter(this); SetFunc(); }
public LogicAreaColorSet(StoragePresenter presenter) { InitializeComponent(); this.presenter = presenter; IniHouseAreaList(); }
private void btnStorage_Click(object sender, EventArgs e) { StorageForm storageView = new StorageForm(); StoragePresenter presenter = new StoragePresenter(storageView); this.Hide(); storageView.ShowDialog(); this.Show(); }
public MultiGsEnabledSet(string houseName, int rowth, StoragePresenter presenter, List <string> colList, List <string> layerList) { InitializeComponent(); this.Text = houseName + "-" + rowth + "排-货位批量设置"; this.presenter = presenter; this.houseName = houseName; this.rowth = rowth; IniLayerList(layerList); IniLayerListArea(layerList); IniColList(colList); IniColListArea(colList); IniHouseAreaList(); }
protected override object CreatePresenter() { StoragePresenter managerPre = new StoragePresenter(this); for (int i = 0; i < allPresenterList.Count; i++) { if (allPresenterList[i].GetType() == typeof(StoragePresenter)) { allPresenterList.RemoveAt(i); } } allPresenterList.Add(managerPre); return(managerPre); }