예제 #1
0
 public StorageView(string captionTxt)
     : base(captionTxt)
 {
     InitializeComponent();
     presenter = new StoragePresenter(this);
     SetFunc();
 }
예제 #2
0
        public LogicAreaColorSet(StoragePresenter presenter)
        {
            InitializeComponent();
            this.presenter = presenter;

            IniHouseAreaList();
        }
예제 #3
0
        private void btnStorage_Click(object sender, EventArgs e)
        {
            StorageForm      storageView = new StorageForm();
            StoragePresenter presenter   = new StoragePresenter(storageView);

            this.Hide();
            storageView.ShowDialog();
            this.Show();
        }
예제 #4
0
 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();
 }
예제 #5
0
        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);
        }