Exemplo n.º 1
0
 public CurrencyFormController(CurrencyForm instance)
 {
     this.frmCurrency = instance;
     this.srvCurrency = SamsaraAppContext.Resolve <ICurrencyService>();
     Assert.IsNotNull(this.srvCurrency);
     this.InitializeFormControls();
 }
Exemplo n.º 2
0
        private void barButtonCurrency_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            CurrencyForm xform1 = new CurrencyForm(_FlexSys)
            {
            };

            xform1.Show();
        }
Exemplo n.º 3
0
        private void barButtonCurrency_ItemClick(object sender, ItemClickEventArgs e)
        {
            CurrencyForm xform1 = new CurrencyForm(_FlexSys)
            {
                MdiParent = this
            };

            xform1.Show();
        }
Exemplo n.º 4
0
        private void View_ShowCurrencies()
        {
            var form = new CurrencyForm {
                MdiParent = View.MdiParentForm
            };

            var currencyPresenter = new CurrencyPresenter(form, new CurrencyModel(_model.DomainModel));

            currencyPresenter.Run();
        }
Exemplo n.º 5
0
 private void monedasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         CurrencyForm frmCurrency = new CurrencyForm();
         frmCurrency.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }
Exemplo n.º 6
0
    public static void Main()
    {
        Form frm = new CurrencyForm();

        Application.Run(frm);
    }
Exemplo n.º 7
0
        private void SubForm_Load(object sender, EventArgs e)
        {
            string Pam_id = Name;

            switch (Pam_id)
            {
            case "Role":
                RoleUcForm _RoleForm = new RoleUcForm(this);
                _RoleForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_RoleForm);
                break;

            case "Usr":
                UsrUcForm _UsrForm = new UsrUcForm(this);
                _UsrForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_UsrForm);
                break;

            case "Department":
                DeptForm _deptForm = new DeptForm(this);
                _deptForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_deptForm);
                break;

            case "Employee":
                EmployeeForm _EmployeeForm = new EmployeeForm(this);
                _EmployeeForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_EmployeeForm);
                break;

            case "Csv":
                CsvForm _csvForm = new CsvForm(this);
                _csvForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_csvForm);
                break;

            case "Currency":
                CurrencyForm _currencyForm = new CurrencyForm(this);
                _currencyForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_currencyForm);
                break;

            case "SalesType":
                SalesTypeForm _salesTypeForm = new SalesTypeForm(this);
                _salesTypeForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_salesTypeForm);
                break;

            case "BusinessType":
                BusinessTypeForm _businessTypeForm = new BusinessTypeForm(this);
                _businessTypeForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_businessTypeForm);
                break;

            case "ItemUt":
                ItemUtForm _itemUtForm = new ItemUtForm(this);
                _itemUtForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_itemUtForm);
                break;

            case "ItemKind":
                ItemKindForm _itemKindForm = new ItemKindForm(this);
                _itemKindForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_itemKindForm);
                break;

            case "Warehouse":
                WarehouseForm _warehouseForm = new WarehouseForm(this);
                _warehouseForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_warehouseForm);
                break;

            case "ProductArea":
                ProductAreaForm _productAreaForm = new ProductAreaForm(this);
                _productAreaForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_productAreaForm);
                break;

            case "Item":
                ItemForm _itemForm = new ItemForm(this);
                _itemForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_itemForm);
                break;

            case "RequestCollectionOrder":
                RequestCollectionOrderForm _OrderForm = new RequestCollectionOrderForm(this);
                _OrderForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_OrderForm);
                break;

            case "PlanningOrderInfoInput":
                PlanningOrderInfoInputForm _FrorecastForm = new PlanningOrderInfoInputForm(this);
                _FrorecastForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_FrorecastForm);
                break;

            case "TaskNotifyOrder":
                TaskNotifyOrderForm _TaskNotifyOrderForm = new TaskNotifyOrderForm(this);
                _TaskNotifyOrderForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_TaskNotifyOrderForm);
                break;

            case "ShippingInfoConfirmOrder":
                ShippingInfoConfirmOrderForm _ShippingInfoConfirmOrderForm = new ShippingInfoConfirmOrderForm(this);
                _ShippingInfoConfirmOrderForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_ShippingInfoConfirmOrderForm);
                break;

            case "PgmTransferWarningSetting":
                PgmTransferWarningSettingForm _PgmTransferWarningSettingForm = new PgmTransferWarningSettingForm(this);
                _PgmTransferWarningSettingForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_PgmTransferWarningSettingForm);
                break;

            case "Project":
                ProjectForm _ProjectForm = new ProjectForm(this);
                _ProjectForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_ProjectForm);
                break;

            case "ProjectStage":
                ProjectStageForm _ProjectStageForm = new ProjectStageForm(this);
                _ProjectStageForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_ProjectStageForm);
                break;

            case "ShippingAddress":
                ShippingAddressForm _ShippingAddressForm = new ShippingAddressForm(this);
                _ShippingAddressForm.Dock = DockStyle.Fill;
                this.PalView.Controls.Add(_ShippingAddressForm);
                break;

            default:
                break;
            }
        }
Exemplo n.º 8
0
        public void Show(FlexInterfaces.Core.ICoreSys sys)
        {
            CurrencyForm xform1 = new CurrencyForm(sys);

            xform1.ShowDialog();
        }