Exemplo n.º 1
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("BANKE", new FormDefinition(this, new BANKEFormUserControl(), StringResources.BANKEName, StringResources.BANKEDescription, "NetAdvantage"));
            this.BANKE.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.BANKE.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewDDRADNIK", "Primatelji DD", this.BANKE.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "DDRADNIK.Insert"
            };
            this.BANKE.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewDDRADNIK", "Primatelji DD", this.BANKE.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "DDRADNIK.Select"
            };
            this.BANKE.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewRADNIK", "Zaposlenici", this.BANKE.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RADNIK.Insert"
            };
            this.BANKE.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewRADNIK", "Zaposlenici", this.BANKE.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RADNIK.Select"
            };
            this.BANKE.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 2
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("GKSTAVKA", new FormDefinition(this, new GKSTAVKAFormUserControl(), StringResources.GKSTAVKAName, StringResources.GKSTAVKADescription, "NetAdvantage"));
            this.GKSTAVKA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.GKSTAVKA.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewZATVARANJA1", "ZATVARANJA", this.GKSTAVKA.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ZATVARANJA.Insert"
            };
            this.GKSTAVKA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewZATVARANJA1", "ZATVARANJA", this.GKSTAVKA.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ZATVARANJA.Select"
            };
            this.GKSTAVKA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewZATVARANJA", "ZATVARANJA", this.GKSTAVKA.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ZATVARANJA.Insert"
            };
            this.GKSTAVKA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewZATVARANJA", "ZATVARANJA", this.GKSTAVKA.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ZATVARANJA.Select"
            };
            this.GKSTAVKA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 3
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("PARTNER", new FormDefinition(this, new PARTNERFormUserControl(), StringResources.PARTNERName, StringResources.PARTNERDescription, "NetAdvantage"));
            this.PARTNER.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.PARTNER.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewGKSTAVKA", "GKSTAVKA", this.PARTNER.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Insert"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewGKSTAVKA", "GKSTAVKA", this.PARTNER.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Select"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewIRA", "IRA", this.PARTNER.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "IRA.Insert"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewIRA", "IRA", this.PARTNER.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "IRA.Select"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewRACUN", "Izlazni računi", this.PARTNER.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RACUN.Insert"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewRACUN", "Izlazni računi", this.PARTNER.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RACUN.Select"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewSHEMAURA", "Shema kontiranja URA", this.PARTNER.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMAURA.Insert"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewSHEMAURA", "Shema kontiranja URA", this.PARTNER.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMAURA.Select"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewURA", "URA", this.PARTNER.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "URA.Insert"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewURA", "URA", this.PARTNER.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "URA.Select"
            };
            this.PARTNER.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.m_FormDefinitionDictionary.Add("PARTNERZADUZENJE", new FormDefinition(this, new PARTNERFormPARTNERZADUZENJEUserControl(), "PARTNERZADUZENJE", "Zaduzenja partnera", "NetAdvantage"));
            this.PARTNERZADUZENJE.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("PARTNERZADUZENJESaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.PARTNERZADUZENJE.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("PARTNERZADUZENJEAddLine", this.ResourceManager.GetString("AddLine"), this.PARTNERZADUZENJE.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("PARTNERZADUZENJEAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.PARTNERZADUZENJE.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("PARTNERZADUZENJEDelete", this.ResourceManager.GetString("toolDelete"), this.PARTNERZADUZENJE.Site, 1, null, DeklaritMode.Delete) });
            base.OnInitialized();
        }
Exemplo n.º 4
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("OBRACUN", new FormDefinition(this, new OBRACUNFormUserControl(), StringResources.OBRACUNName, StringResources.OBRACUNDescription, "NetAdvantage"));
            this.OBRACUN.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.OBRACUN.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewRSMA", "RSMA", this.OBRACUN.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RSMA.Insert"
            };
            this.OBRACUN.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewRSMA", "RSMA", this.OBRACUN.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RSMA.Select"
            };
            this.OBRACUN.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.m_FormDefinitionDictionary.Add("ObracunRadnici", new FormDefinition(this, new OBRACUNFormObracunRadniciUserControl(), "ObracunRadnici", "OBRACUNLevel1", "NetAdvantage"));
            this.ObracunRadnici.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("ObracunRadniciSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.ObracunRadnici.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("ObracunRadniciAddLine", this.ResourceManager.GetString("AddLine"), this.ObracunRadnici.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("ObracunRadniciAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.ObracunRadnici.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("ObracunRadniciDelete", this.ResourceManager.GetString("toolDelete"), this.ObracunRadnici.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("ObracunDoprinosi", new FormDefinition(this, new OBRACUNFormObracunDoprinosiUserControl(), "ObracunDoprinosi", "OBRACUNLevel3", "NetAdvantage"));
            this.ObracunDoprinosi.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("ObracunDoprinosiSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.ObracunDoprinosi.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("ObracunDoprinosiAddLine", this.ResourceManager.GetString("AddLine"), this.ObracunDoprinosi.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("ObracunDoprinosiAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.ObracunDoprinosi.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("ObracunDoprinosiDelete", this.ResourceManager.GetString("toolDelete"), this.ObracunDoprinosi.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("ObracunPorezi", new FormDefinition(this, new OBRACUNFormObracunPoreziUserControl(), "ObracunPorezi", "OBRACUNLevel4", "NetAdvantage"));
            this.ObracunPorezi.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("ObracunPoreziSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.ObracunPorezi.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("ObracunPoreziAddLine", this.ResourceManager.GetString("AddLine"), this.ObracunPorezi.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("ObracunPoreziAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.ObracunPorezi.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("ObracunPoreziDelete", this.ResourceManager.GetString("toolDelete"), this.ObracunPorezi.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("ObracunOlaksice", new FormDefinition(this, new OBRACUNFormObracunOlaksiceUserControl(), "ObracunOlaksice", "ObracunOlaksice", "NetAdvantage"));
            this.ObracunOlaksice.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("ObracunOlaksiceSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.ObracunOlaksice.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("ObracunOlaksiceAddLine", this.ResourceManager.GetString("AddLine"), this.ObracunOlaksice.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("ObracunOlaksiceAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.ObracunOlaksice.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("ObracunOlaksiceDelete", this.ResourceManager.GetString("toolDelete"), this.ObracunOlaksice.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("OBRACUNKrediti", new FormDefinition(this, new OBRACUNFormOBRACUNKreditiUserControl(), "OBRACUNKrediti", "ObracunKrediti", "NetAdvantage"));
            this.OBRACUNKrediti.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("OBRACUNKreditiSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.OBRACUNKrediti.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("OBRACUNKreditiAddLine", this.ResourceManager.GetString("AddLine"), this.OBRACUNKrediti.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("OBRACUNKreditiAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.OBRACUNKrediti.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("OBRACUNKreditiDelete", this.ResourceManager.GetString("toolDelete"), this.OBRACUNKrediti.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("OBRACUNObustave", new FormDefinition(this, new OBRACUNFormOBRACUNObustaveUserControl(), "OBRACUNObustave", "ObracunObustave", "NetAdvantage"));
            this.OBRACUNObustave.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("OBRACUNObustaveSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.OBRACUNObustave.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("OBRACUNObustaveAddLine", this.ResourceManager.GetString("AddLine"), this.OBRACUNObustave.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("OBRACUNObustaveAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.OBRACUNObustave.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("OBRACUNObustaveDelete", this.ResourceManager.GetString("toolDelete"), this.OBRACUNObustave.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("ObracunElementi", new FormDefinition(this, new OBRACUNFormObracunElementiUserControl(), "ObracunElementi", "ObracunElementi", "NetAdvantage"));
            this.ObracunElementi.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("ObracunElementiSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.ObracunElementi.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("ObracunElementiAddLine", this.ResourceManager.GetString("AddLine"), this.ObracunElementi.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("ObracunElementiAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.ObracunElementi.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("ObracunElementiDelete", this.ResourceManager.GetString("toolDelete"), this.ObracunElementi.Site, 1, null, DeklaritMode.Delete) });
            base.OnInitialized();
        }
Exemplo n.º 5
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("SPOL", new FormDefinition(this, new SPOLFormUserControl(), StringResources.SPOLName, StringResources.SPOLDescription, "NetAdvantage"));
            this.SPOL.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.SPOL.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewRAD1VEZASPOL", "Veza RAD1 i spol", this.SPOL.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RAD1VEZASPOL.Insert"
            };
            this.SPOL.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewRAD1VEZASPOL", "Veza RAD1 i spol", this.SPOL.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RAD1VEZASPOL.Select"
            };
            this.SPOL.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewRADNIK", "Zaposlenici", this.SPOL.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RADNIK.Insert"
            };
            this.SPOL.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewRADNIK", "Zaposlenici", this.SPOL.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RADNIK.Select"
            };
            this.SPOL.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 6
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("SHEMAIRA", new FormDefinition(this, new SHEMAIRAFormUserControl(), StringResources.SHEMAIRAName, StringResources.SHEMAIRADescription, "NetAdvantage"));
     this.SHEMAIRA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.SHEMAIRA.Site));
     base.m_FormDefinitionDictionary.Add("SHEMAIRASHEMAIRAKONTIRANJE", new FormDefinition(this, new SHEMAIRAFormSHEMAIRASHEMAIRAKONTIRANJEUserControl(), "SHEMAIRASHEMAIRAKONTIRANJE", "SHEMAIRAKONTIRANJE", "NetAdvantage"));
     this.SHEMAIRASHEMAIRAKONTIRANJE.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("SHEMAIRASHEMAIRAKONTIRANJESaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.SHEMAIRASHEMAIRAKONTIRANJE.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("SHEMAIRASHEMAIRAKONTIRANJEAddLine", this.ResourceManager.GetString("AddLine"), this.SHEMAIRASHEMAIRAKONTIRANJE.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("SHEMAIRASHEMAIRAKONTIRANJEAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.SHEMAIRASHEMAIRAKONTIRANJE.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("SHEMAIRASHEMAIRAKONTIRANJEDelete", this.ResourceManager.GetString("toolDelete"), this.SHEMAIRASHEMAIRAKONTIRANJE.Site, 1, null, DeklaritMode.Delete) });
     base.OnInitialized();
 }
Exemplo n.º 7
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("BLAGAJNA", new FormDefinition(this, new BLAGAJNAFormUserControl(), StringResources.BLAGAJNAName, StringResources.BLAGAJNADescription, "NetAdvantage"));
     this.BLAGAJNA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.BLAGAJNA.Site));
     base.m_FormDefinitionDictionary.Add("BLAGAJNAStavkeBlagajne", new FormDefinition(this, new BLAGAJNAFormBLAGAJNAStavkeBlagajneUserControl(), "BLAGAJNAStavkeBlagajne", "StavkeBlagajne", "NetAdvantage"));
     this.BLAGAJNAStavkeBlagajne.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("BLAGAJNAStavkeBlagajneSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.BLAGAJNAStavkeBlagajne.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("BLAGAJNAStavkeBlagajneAddLine", this.ResourceManager.GetString("AddLine"), this.BLAGAJNAStavkeBlagajne.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("BLAGAJNAStavkeBlagajneAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.BLAGAJNAStavkeBlagajne.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("BLAGAJNAStavkeBlagajneDelete", this.ResourceManager.GetString("toolDelete"), this.BLAGAJNAStavkeBlagajne.Site, 1, null, DeklaritMode.Delete) });
     base.OnInitialized();
 }
Exemplo n.º 8
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("GRUPEKOEF", new FormDefinition(this, new GRUPEKOEFFormUserControl(), StringResources.GRUPEKOEFName, StringResources.GRUPEKOEFDescription, "NetAdvantage"));
     this.GRUPEKOEF.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.GRUPEKOEF.Site));
     base.m_FormDefinitionDictionary.Add("GRUPEKOEFLevel1", new FormDefinition(this, new GRUPEKOEFFormGRUPEKOEFLevel1UserControl(), "GRUPEKOEFLevel1", "Elementi u grupi", "NetAdvantage"));
     this.GRUPEKOEFLevel1.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("GRUPEKOEFLevel1SaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.GRUPEKOEFLevel1.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("GRUPEKOEFLevel1AddLine", this.ResourceManager.GetString("AddLine"), this.GRUPEKOEFLevel1.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("GRUPEKOEFLevel1AddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.GRUPEKOEFLevel1.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("GRUPEKOEFLevel1Delete", this.ResourceManager.GetString("toolDelete"), this.GRUPEKOEFLevel1.Site, 1, null, DeklaritMode.Delete) });
     base.OnInitialized();
 }
Exemplo n.º 9
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("DOKUMENT", new FormDefinition(this, new DOKUMENTFormUserControl(), StringResources.DOKUMENTName, StringResources.DOKUMENTDescription, "NetAdvantage"));
            this.DOKUMENT.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.DOKUMENT.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewBLAGAJNA", "BLAGAJNA", this.DOKUMENT.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "BLAGAJNA.Insert"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewBLAGAJNA", "BLAGAJNA", this.DOKUMENT.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "BLAGAJNA.Select"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewGKSTAVKA", "GKSTAVKA", this.DOKUMENT.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Insert"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewGKSTAVKA", "GKSTAVKA", this.DOKUMENT.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Select"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewIRA", "IRA", this.DOKUMENT.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "IRA.Insert"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewIRA", "IRA", this.DOKUMENT.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "IRA.Select"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewSHEMAIRA", "Shema kontiranja IRA", this.DOKUMENT.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMAIRA.Insert"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewSHEMAIRA", "Shema kontiranja IRA", this.DOKUMENT.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMAIRA.Select"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewURA", "URA", this.DOKUMENT.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "URA.Insert"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewURA", "URA", this.DOKUMENT.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "URA.Select"
            };
            this.DOKUMENT.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 10
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("KONTO", new FormDefinition(this, new KONTOFormUserControl(), StringResources.KONTOName, StringResources.KONTODescription, "NetAdvantage"));
            this.KONTO.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.KONTO.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewAMSKUPINE2", "AM skupine nabavne vrijednosti", this.KONTO.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "AMSKUPINE.Insert"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewAMSKUPINE2", "AM skupine nabavne vrijednosti", this.KONTO.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "AMSKUPINE.Select"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewAMSKUPINE1", "AM skupine ispravka vrijednosti", this.KONTO.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "AMSKUPINE.Insert"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewAMSKUPINE1", "AM skupine ispravka vrijednosti", this.KONTO.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "AMSKUPINE.Select"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewAMSKUPINE", "AM skupine izvora vlasništva", this.KONTO.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "AMSKUPINE.Insert"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewAMSKUPINE", "AM skupine izvora vlasništva", this.KONTO.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "AMSKUPINE.Select"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewBLAGAJNA", "BLAGAJNA", this.KONTO.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "BLAGAJNA.Insert"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewBLAGAJNA", "BLAGAJNA", this.KONTO.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "BLAGAJNA.Select"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewGKSTAVKA", "GKSTAVKA", this.KONTO.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Insert"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewGKSTAVKA", "GKSTAVKA", this.KONTO.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Select"
            };
            this.KONTO.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 11
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("SHEMADD", new FormDefinition(this, new SHEMADDFormUserControl(), StringResources.SHEMADDName, StringResources.SHEMADDDescription, "NetAdvantage"));
     this.SHEMADD.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.SHEMADD.Site));
     base.m_FormDefinitionDictionary.Add("SHEMADDSHEMADDDOPRINOS", new FormDefinition(this, new SHEMADDFormSHEMADDSHEMADDDOPRINOSUserControl(), "SHEMADDSHEMADDDOPRINOS", "Doprinosi", "NetAdvantage"));
     this.SHEMADDSHEMADDDOPRINOS.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("SHEMADDSHEMADDDOPRINOSSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.SHEMADDSHEMADDDOPRINOS.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("SHEMADDSHEMADDDOPRINOSAddLine", this.ResourceManager.GetString("AddLine"), this.SHEMADDSHEMADDDOPRINOS.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("SHEMADDSHEMADDDOPRINOSAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.SHEMADDSHEMADDDOPRINOS.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("SHEMADDSHEMADDDOPRINOSDelete", this.ResourceManager.GetString("toolDelete"), this.SHEMADDSHEMADDDOPRINOS.Site, 1, null, DeklaritMode.Delete) });
     base.m_FormDefinitionDictionary.Add("SHEMADDSHEMADDSTANDARD", new FormDefinition(this, new SHEMADDFormSHEMADDSHEMADDSTANDARDUserControl(), "SHEMADDSHEMADDSTANDARD", "SHEMADDSTANDARD", "NetAdvantage"));
     this.SHEMADDSHEMADDSTANDARD.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("SHEMADDSHEMADDSTANDARDSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.SHEMADDSHEMADDSTANDARD.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("SHEMADDSHEMADDSTANDARDAddLine", this.ResourceManager.GetString("AddLine"), this.SHEMADDSHEMADDSTANDARD.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("SHEMADDSHEMADDSTANDARDAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.SHEMADDSHEMADDSTANDARD.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("SHEMADDSHEMADDSTANDARDDelete", this.ResourceManager.GetString("toolDelete"), this.SHEMADDSHEMADDSTANDARD.Site, 1, null, DeklaritMode.Delete) });
     base.OnInitialized();
 }
Exemplo n.º 12
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("PRPLACE", new FormDefinition(this, new PRPLACEFormUserControl(), StringResources.PRPLACEName, StringResources.PRPLACEDescription, "NetAdvantage"));
     this.PRPLACE.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.PRPLACE.Site));
     base.m_FormDefinitionDictionary.Add("PRPLACEPRPLACEELEMENTI", new FormDefinition(this, new PRPLACEFormPRPLACEPRPLACEELEMENTIUserControl(), "PRPLACEPRPLACEELEMENTI", "Elementi u pripremi", "NetAdvantage"));
     this.PRPLACEPRPLACEELEMENTI.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("PRPLACEPRPLACEELEMENTISaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.PRPLACEPRPLACEELEMENTI.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("PRPLACEPRPLACEELEMENTIAddLine", this.ResourceManager.GetString("AddLine"), this.PRPLACEPRPLACEELEMENTI.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("PRPLACEPRPLACEELEMENTIAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.PRPLACEPRPLACEELEMENTI.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("PRPLACEPRPLACEELEMENTIDelete", this.ResourceManager.GetString("toolDelete"), this.PRPLACEPRPLACEELEMENTI.Site, 1, null, DeklaritMode.Delete) });
     base.m_FormDefinitionDictionary.Add("PRPLACEPRPLACEELEMENTIRADNIK", new FormDefinition(this, new PRPLACEFormPRPLACEPRPLACEELEMENTIRADNIKUserControl(), "PRPLACEPRPLACEELEMENTIRADNIK", "Radnici u pripremi", "NetAdvantage"));
     this.PRPLACEPRPLACEELEMENTIRADNIK.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("PRPLACEPRPLACEELEMENTIRADNIKSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.PRPLACEPRPLACEELEMENTIRADNIK.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("PRPLACEPRPLACEELEMENTIRADNIKAddLine", this.ResourceManager.GetString("AddLine"), this.PRPLACEPRPLACEELEMENTIRADNIK.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("PRPLACEPRPLACEELEMENTIRADNIKAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.PRPLACEPRPLACEELEMENTIRADNIK.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("PRPLACEPRPLACEELEMENTIRADNIKDelete", this.ResourceManager.GetString("toolDelete"), this.PRPLACEPRPLACEELEMENTIRADNIK.Site, 1, null, DeklaritMode.Delete) });
     base.OnInitialized();
 }
Exemplo n.º 13
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("PLAN", new FormDefinition(this, new PLANFormUserControl(), StringResources.PLANName, StringResources.PLANDescription, "NetAdvantage"));
     this.PLAN.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.PLAN.Site));
     base.m_FormDefinitionDictionary.Add("PLANORG", new FormDefinition(this, new PLANFormPLANORGUserControl(), "PLANORG", "ORG", "NetAdvantage"));
     this.PLANORG.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("PLANORGSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.PLANORG.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("PLANORGAddLine", this.ResourceManager.GetString("AddLine"), this.PLANORG.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("PLANORGAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.PLANORG.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("PLANORGDelete", this.ResourceManager.GetString("toolDelete"), this.PLANORG.Site, 1, null, DeklaritMode.Delete) });
     base.m_FormDefinitionDictionary.Add("PLANORGKON", new FormDefinition(this, new PLANFormPLANORGKONUserControl(), "PLANORGKON", "KON", "NetAdvantage"));
     this.PLANORGKON.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("PLANORGKONSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.PLANORGKON.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("PLANORGKONAddLine", this.ResourceManager.GetString("AddLine"), this.PLANORGKON.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("PLANORGKONAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.PLANORGKON.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("PLANORGKONDelete", this.ResourceManager.GetString("toolDelete"), this.PLANORGKON.Site, 1, null, DeklaritMode.Delete) });
     base.OnInitialized();
 }
Exemplo n.º 14
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("RADNIK", new FormDefinition(this, new RADNIKFormUserControl(), StringResources.RADNIKName, StringResources.RADNIKDescription, "NetAdvantage"));
            this.RADNIK.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.RADNIK.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewGOOBRACUN", "Godišnji odbici i olakšice", this.RADNIK.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GOOBRACUN.Insert"
            };
            this.RADNIK.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewGOOBRACUN", "Godišnji odbici i olakšice", this.RADNIK.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GOOBRACUN.Select"
            };
            this.RADNIK.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewOTISLI", "OTISLI", this.RADNIK.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OTISLI.Insert"
            };
            this.RADNIK.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewOTISLI", "OTISLI", this.RADNIK.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OTISLI.Select"
            };
            this.RADNIK.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewZAPOSLENI", "ZAPOSLENI", this.RADNIK.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ZAPOSLENI.Insert"
            };
            this.RADNIK.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewZAPOSLENI", "ZAPOSLENI", this.RADNIK.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ZAPOSLENI.Select"
            };
            this.RADNIK.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.m_FormDefinitionDictionary.Add("RADNIKOdbitak", new FormDefinition(this, new RADNIKFormRADNIKOdbitakUserControl(), "RADNIKOdbitak", "Osobni odbici radnika", "NetAdvantage"));
            this.RADNIKOdbitak.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKOdbitakSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKOdbitak.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKOdbitakAddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKOdbitak.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKOdbitakAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKOdbitak.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKOdbitakDelete", this.ResourceManager.GetString("toolDelete"), this.RADNIKOdbitak.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("RADNIKOlaksica", new FormDefinition(this, new RADNIKFormRADNIKOlaksicaUserControl(), "RADNIKOlaksica", "Olakšice", "NetAdvantage"));
            this.RADNIKOlaksica.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKOlaksicaSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKOlaksica.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKOlaksicaAddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKOlaksica.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKOlaksicaAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKOlaksica.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKOlaksicaDelete", this.ResourceManager.GetString("toolDelete"), this.RADNIKOlaksica.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("RADNIKKrediti", new FormDefinition(this, new RADNIKFormRADNIKKreditiUserControl(), "RADNIKKrediti", "Krediti radnika", "NetAdvantage"));
            this.RADNIKKrediti.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKKreditiSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKKrediti.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKKreditiAddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKKrediti.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKKreditiAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKKrediti.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKKreditiDelete", this.ResourceManager.GetString("toolDelete"), this.RADNIKKrediti.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("RADNIKBruto", new FormDefinition(this, new RADNIKFormRADNIKBrutoUserControl(), "RADNIKBruto", "Bruto elementi", "NetAdvantage"));
            this.RADNIKBruto.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKBrutoSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKBruto.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKBrutoAddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKBruto.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKBrutoAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKBruto.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKBrutoDelete", this.ResourceManager.GetString("toolDelete"), this.RADNIKBruto.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("RADNIKNeto", new FormDefinition(this, new RADNIKFormRADNIKNetoUserControl(), "RADNIKNeto", "Neto elementi", "NetAdvantage"));
            this.RADNIKNeto.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKNetoSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKNeto.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKNetoAddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKNeto.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKNetoAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKNeto.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKNetoDelete", this.ResourceManager.GetString("toolDelete"), this.RADNIKNeto.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("RADNIKObustava", new FormDefinition(this, new RADNIKFormRADNIKObustavaUserControl(), "RADNIKObustava", "Obustave", "NetAdvantage"));
            this.RADNIKObustava.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKObustavaSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKObustava.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKObustavaAddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKObustava.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKObustavaAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKObustava.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKObustavaDelete", this.ResourceManager.GetString("toolDelete"), this.RADNIKObustava.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("RADNIKLevel7", new FormDefinition(this, new RADNIKFormRADNIKLevel7UserControl(), "RADNIKLevel7", "Koeficijenti", "NetAdvantage"));
            this.RADNIKLevel7.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKLevel7SaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKLevel7.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKLevel7AddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKLevel7.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKLevel7AddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKLevel7.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKLevel7Delete", this.ResourceManager.GetString("toolDelete"), this.RADNIKLevel7.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("RADNIKIzuzeceOdOvrhe", new FormDefinition(this, new RADNIKFormRADNIKIzuzeceOdOvrheUserControl(), "RADNIKIzuzeceOdOvrhe", "IzuzeceOdOvrhe", "NetAdvantage"));
            this.RADNIKIzuzeceOdOvrhe.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("RADNIKIzuzeceOdOvrheSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RADNIKIzuzeceOdOvrhe.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("RADNIKIzuzeceOdOvrheAddLine", this.ResourceManager.GetString("AddLine"), this.RADNIKIzuzeceOdOvrhe.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKIzuzeceOdOvrheAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RADNIKIzuzeceOdOvrhe.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("RADNIKIzuzeceOdOvrheDelete", this.ResourceManager.GetString("toolDelete"), this.RADNIKIzuzeceOdOvrhe.Site, 1, null, DeklaritMode.Delete) });
            base.OnInitialized();
        }
Exemplo n.º 15
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("DDKATEGORIJA", new FormDefinition(this, new DDKATEGORIJAFormUserControl(), StringResources.DDKATEGORIJAName, StringResources.DDKATEGORIJADescription, "NetAdvantage"));
     this.DDKATEGORIJA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.DDKATEGORIJA.Site));
     base.m_FormDefinitionDictionary.Add("DDKATEGORIJALevel1", new FormDefinition(this, new DDKATEGORIJAFormDDKATEGORIJALevel1UserControl(), "DDKATEGORIJALevel1", "Porezi", "NetAdvantage"));
     this.DDKATEGORIJALevel1.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("DDKATEGORIJALevel1SaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.DDKATEGORIJALevel1.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("DDKATEGORIJALevel1AddLine", this.ResourceManager.GetString("AddLine"), this.DDKATEGORIJALevel1.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("DDKATEGORIJALevel1AddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.DDKATEGORIJALevel1.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("DDKATEGORIJALevel1Delete", this.ResourceManager.GetString("toolDelete"), this.DDKATEGORIJALevel1.Site, 1, null, DeklaritMode.Delete) });
     base.m_FormDefinitionDictionary.Add("DDKATEGORIJALevel3", new FormDefinition(this, new DDKATEGORIJAFormDDKATEGORIJALevel3UserControl(), "DDKATEGORIJALevel3", "Doprinosi", "NetAdvantage"));
     this.DDKATEGORIJALevel3.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("DDKATEGORIJALevel3SaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.DDKATEGORIJALevel3.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("DDKATEGORIJALevel3AddLine", this.ResourceManager.GetString("AddLine"), this.DDKATEGORIJALevel3.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("DDKATEGORIJALevel3AddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.DDKATEGORIJALevel3.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("DDKATEGORIJALevel3Delete", this.ResourceManager.GetString("toolDelete"), this.DDKATEGORIJALevel3.Site, 1, null, DeklaritMode.Delete) });
     base.m_FormDefinitionDictionary.Add("DDKATEGORIJAIzdaci", new FormDefinition(this, new DDKATEGORIJAFormDDKATEGORIJAIzdaciUserControl(), "DDKATEGORIJAIzdaci", "Izdaci", "NetAdvantage"));
     this.DDKATEGORIJAIzdaci.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("DDKATEGORIJAIzdaciSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.DDKATEGORIJAIzdaci.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("DDKATEGORIJAIzdaciAddLine", this.ResourceManager.GetString("AddLine"), this.DDKATEGORIJAIzdaci.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("DDKATEGORIJAIzdaciAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.DDKATEGORIJAIzdaci.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("DDKATEGORIJAIzdaciDelete", this.ResourceManager.GetString("toolDelete"), this.DDKATEGORIJAIzdaci.Site, 1, null, DeklaritMode.Delete) });
     base.OnInitialized();
 }
Exemplo n.º 16
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("KORISNIK", new FormDefinition(this, new KORISNIKFormUserControl(), StringResources.KORISNIKName, StringResources.KORISNIKDescription, "NetAdvantage"));
     this.KORISNIK.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.KORISNIK.Site));
     base.m_FormDefinitionDictionary.Add("KORISNIKLevel1", new FormDefinition(this, new KORISNIKFormKORISNIKLevel1UserControl(), "KORISNIKLevel1", "Podaci o isplatnim Žrn-ima korisnika", "NetAdvantage"));
     this.KORISNIKLevel1.UICommandDefinitionContainer.Add(new UICommandDefinition[] {
         new UICommandDefinition("KORISNIKLevel1SaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.KORISNIKLevel1.Site, 6, null, DeklaritMode.Update),
         new UICommandDefinition("KORISNIKLevel1AddLine", this.ResourceManager.GetString("AddLine"), this.KORISNIKLevel1.Site, 6, null, DeklaritMode.Insert),
         new UICommandDefinition("KORISNIKLevel1AddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.KORISNIKLevel1.Site, 5, null, DeklaritMode.Insert),
         new UICommandDefinition("KORISNIKLevel1Delete", this.ResourceManager.GetString("toolDelete"), this.KORISNIKLevel1.Site, 1, null, DeklaritMode.Delete)
     });
     base.OnInitialized();
 }
Exemplo n.º 17
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("RACUN", new FormDefinition(this, new RACUNFormUserControl(), StringResources.RACUNName, StringResources.RACUNDescription, "NetAdvantage"));
            this.RACUN.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.RACUN.Site));

            this.RACUN.UICommandDefinitionContainer.Delete("SaveAndNew");

            base.m_FormDefinitionDictionary.Add("RACUNRacunStavke", new FormDefinition(this, new RACUNFormRACUNRacunStavkeUserControl(), "RACUNRacunStavke", "Stavke racuna", "NetAdvantage"));
            this.RACUNRacunStavke.UICommandDefinitionContainer.Add(new UICommandDefinition[] {
                new UICommandDefinition("RACUNRacunStavkeSaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.RACUNRacunStavke.Site, 6, null, DeklaritMode.Update),
                new UICommandDefinition("RACUNRacunStavkeAddLine", this.ResourceManager.GetString("AddLine"), this.RACUNRacunStavke.Site, 6, null, DeklaritMode.Insert),
                new UICommandDefinition("RACUNRacunStavkeAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.RACUNRacunStavke.Site, 5, null, DeklaritMode.Insert),
                new UICommandDefinition("RACUNRacunStavkeDelete", this.ResourceManager.GetString("toolDelete"), this.RACUNRacunStavke.Site, 1, null, DeklaritMode.Delete)
            });
            base.OnInitialized();
        }
Exemplo n.º 18
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("GRUPEOLAKSICA", new FormDefinition(this, new GRUPEOLAKSICAFormUserControl(), StringResources.GRUPEOLAKSICAName, StringResources.GRUPEOLAKSICADescription, "NetAdvantage"));
            this.GRUPEOLAKSICA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.GRUPEOLAKSICA.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewOLAKSICE", "Osiguranja-Olakšice", this.GRUPEOLAKSICA.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OLAKSICE.Insert"
            };
            this.GRUPEOLAKSICA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewOLAKSICE", "Osiguranja-Olakšice", this.GRUPEOLAKSICA.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OLAKSICE.Select"
            };
            this.GRUPEOLAKSICA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 19
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("AMSKUPINE", new FormDefinition(this, new AMSKUPINEFormUserControl(), StringResources.AMSKUPINEName, StringResources.AMSKUPINEDescription, "NetAdvantage"));
            this.AMSKUPINE.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.AMSKUPINE.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewOS", "OS", this.AMSKUPINE.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OS.Insert"
            };
            this.AMSKUPINE.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewOS", "OS", this.AMSKUPINE.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OS.Select"
            };
            this.AMSKUPINE.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 20
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("OSNOVAOSIGURANJA", new FormDefinition(this, new OSNOVAOSIGURANJAFormUserControl(), StringResources.OSNOVAOSIGURANJAName, StringResources.OSNOVAOSIGURANJADescription, "NetAdvantage"));
            this.OSNOVAOSIGURANJA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.OSNOVAOSIGURANJA.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewELEMENT", "Elementi", this.OSNOVAOSIGURANJA.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ELEMENT.Insert"
            };
            this.OSNOVAOSIGURANJA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewELEMENT", "Elementi", this.OSNOVAOSIGURANJA.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "ELEMENT.Select"
            };
            this.OSNOVAOSIGURANJA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 21
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("DDKOLONAIDD", new FormDefinition(this, new DDKOLONAIDDFormUserControl(), StringResources.DDKOLONAIDDName, StringResources.DDKOLONAIDDDescription, "NetAdvantage"));
            this.DDKOLONAIDD.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.DDKOLONAIDD.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewDDKATEGORIJA", "Kategorija drugog dohotka", this.DDKOLONAIDD.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "DDKATEGORIJA.Insert"
            };
            this.DDKOLONAIDD.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewDDKATEGORIJA", "Kategorija drugog dohotka", this.DDKOLONAIDD.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "DDKATEGORIJA.Select"
            };
            this.DDKOLONAIDD.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 22
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("AKTIVNOST", new FormDefinition(this, new AKTIVNOSTFormUserControl(), StringResources.AKTIVNOSTName, StringResources.AKTIVNOSTDescription, "NetAdvantage"));
            this.AKTIVNOST.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.AKTIVNOST.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewKONTO", "Kontni plan", this.AKTIVNOST.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "KONTO.Insert"
            };
            this.AKTIVNOST.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewKONTO", "Kontni plan", this.AKTIVNOST.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "KONTO.Select"
            };
            this.AKTIVNOST.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 23
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("FINPOREZ", new FormDefinition(this, new FINPOREZFormUserControl(), StringResources.FINPOREZName, StringResources.FINPOREZDescription, "NetAdvantage"));
            this.FINPOREZ.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.FINPOREZ.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewPROIZVOD", "PROIZVOD", this.FINPOREZ.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "PROIZVOD.Insert"
            };
            this.FINPOREZ.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewPROIZVOD", "PROIZVOD", this.FINPOREZ.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "PROIZVOD.Select"
            };
            this.FINPOREZ.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 24
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("RAD1GELEMENTI", new FormDefinition(this, new RAD1GELEMENTIFormUserControl(), StringResources.RAD1GELEMENTIName, StringResources.RAD1GELEMENTIDescription, "NetAdvantage"));
            this.RAD1GELEMENTI.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.RAD1GELEMENTI.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewRAD1GELEMENTIVEZA", "Veza elementi RAD1G i elementi", this.RAD1GELEMENTI.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RAD1GELEMENTIVEZA.Insert"
            };
            this.RAD1GELEMENTI.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewRAD1GELEMENTIVEZA", "Veza elementi RAD1G i elementi", this.RAD1GELEMENTI.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RAD1GELEMENTIVEZA.Select"
            };
            this.RAD1GELEMENTI.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 25
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("POSTANSKIBROJEVI", new FormDefinition(this, new POSTANSKIBROJEVIFormUserControl(), StringResources.POSTANSKIBROJEVIName, StringResources.POSTANSKIBROJEVIDescription, "NetAdvantage"));
            this.POSTANSKIBROJEVI.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.POSTANSKIBROJEVI.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewUCENIK", "UCENIK", this.POSTANSKIBROJEVI.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "UCENIK.Insert"
            };
            this.POSTANSKIBROJEVI.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewUCENIK", "UCENIK", this.POSTANSKIBROJEVI.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "UCENIK.Select"
            };
            this.POSTANSKIBROJEVI.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 26
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("OS", new FormDefinition(this, new OSFormUserControl(), StringResources.OSName, StringResources.OSDescription, "NetAdvantage"));
            this.OS.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.OS.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewOSRAZMJESTAJ", "OSRAZMJESTAJ", this.OS.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OSRAZMJESTAJ.Insert"
            };
            this.OS.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewOSRAZMJESTAJ", "OSRAZMJESTAJ", this.OS.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "OSRAZMJESTAJ.Select"
            };
            this.OS.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.m_FormDefinitionDictionary.Add("OSTEMELJNICA", new FormDefinition(this, new OSFormOSTEMELJNICAUserControl(), "OSTEMELJNICA", "TEMELJNICA", "NetAdvantage"));
            this.OSTEMELJNICA.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("OSTEMELJNICASaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.OSTEMELJNICA.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("OSTEMELJNICAAddLine", this.ResourceManager.GetString("AddLine"), this.OSTEMELJNICA.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("OSTEMELJNICAAddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.OSTEMELJNICA.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("OSTEMELJNICADelete", this.ResourceManager.GetString("toolDelete"), this.OSTEMELJNICA.Site, 1, null, DeklaritMode.Delete) });
            base.OnInitialized();
        }
Exemplo n.º 27
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("SKUPPOREZAIDOPRINOSA", new FormDefinition(this, new SKUPPOREZAIDOPRINOSAFormUserControl(), StringResources.SKUPPOREZAIDOPRINOSAName, StringResources.SKUPPOREZAIDOPRINOSADescription, "NetAdvantage"));
            this.SKUPPOREZAIDOPRINOSA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.SKUPPOREZAIDOPRINOSA.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewRADNIK", "Zaposlenici", this.SKUPPOREZAIDOPRINOSA.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RADNIK.Insert"
            };
            this.SKUPPOREZAIDOPRINOSA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewRADNIK", "Zaposlenici", this.SKUPPOREZAIDOPRINOSA.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "RADNIK.Select"
            };
            this.SKUPPOREZAIDOPRINOSA.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.m_FormDefinitionDictionary.Add("SKUPPOREZAIDOPRINOSA1", new FormDefinition(this, new SKUPPOREZAIDOPRINOSAFormSKUPPOREZAIDOPRINOSA1UserControl(), "SKUPPOREZAIDOPRINOSA1", "Porezi", "NetAdvantage"));
            this.SKUPPOREZAIDOPRINOSA1.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("SKUPPOREZAIDOPRINOSA1SaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.SKUPPOREZAIDOPRINOSA1.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("SKUPPOREZAIDOPRINOSA1AddLine", this.ResourceManager.GetString("AddLine"), this.SKUPPOREZAIDOPRINOSA1.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("SKUPPOREZAIDOPRINOSA1AddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.SKUPPOREZAIDOPRINOSA1.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("SKUPPOREZAIDOPRINOSA1Delete", this.ResourceManager.GetString("toolDelete"), this.SKUPPOREZAIDOPRINOSA1.Site, 1, null, DeklaritMode.Delete) });
            base.m_FormDefinitionDictionary.Add("SKUPPOREZAIDOPRINOSA2", new FormDefinition(this, new SKUPPOREZAIDOPRINOSAFormSKUPPOREZAIDOPRINOSA2UserControl(), "SKUPPOREZAIDOPRINOSA2", "Doprinosi", "NetAdvantage"));
            this.SKUPPOREZAIDOPRINOSA2.UICommandDefinitionContainer.Add(new UICommandDefinition[] { new UICommandDefinition("SKUPPOREZAIDOPRINOSA2SaveAndClose", this.ResourceManager.GetString("captionSaveAndClose"), this.SKUPPOREZAIDOPRINOSA2.Site, 6, null, DeklaritMode.Update), new UICommandDefinition("SKUPPOREZAIDOPRINOSA2AddLine", this.ResourceManager.GetString("AddLine"), this.SKUPPOREZAIDOPRINOSA2.Site, 6, null, DeklaritMode.Insert), new UICommandDefinition("SKUPPOREZAIDOPRINOSA2AddLineAndNew", this.ResourceManager.GetString("captionAddLineAndNew"), this.SKUPPOREZAIDOPRINOSA2.Site, 5, null, DeklaritMode.Insert), new UICommandDefinition("SKUPPOREZAIDOPRINOSA2Delete", this.ResourceManager.GetString("toolDelete"), this.SKUPPOREZAIDOPRINOSA2.Site, 1, null, DeklaritMode.Delete) });
            base.OnInitialized();
        }
Exemplo n.º 28
0
        protected override void OnInitialized()
        {
            base.m_FormDefinitionDictionary.Add("ORGJED", new FormDefinition(this, new ORGJEDFormUserControl(), StringResources.ORGJEDName, StringResources.ORGJEDDescription, "NetAdvantage"));
            this.ORGJED.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.ORGJED.Site));
            UICommandDefinition uiCommandDefinition = null;

            uiCommandDefinition = new UICommandDefinition("NewGKSTAVKA", "GKSTAVKA", this.ORGJED.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Insert"
            };
            this.ORGJED.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewGKSTAVKA", "GKSTAVKA", this.ORGJED.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "GKSTAVKA.Select"
            };
            this.ORGJED.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewSHEMADD", "Shema drugi dohodak", this.ORGJED.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMADD.Insert"
            };
            this.ORGJED.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewSHEMADD", "Shema drugi dohodak", this.ORGJED.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMADD.Select"
            };
            this.ORGJED.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("NewSHEMAPLACA", "Shema place", this.ORGJED.Site + ".New", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMAPLACA.Insert"
            };
            this.ORGJED.UICommandDefinitionContainer.Add(uiCommandDefinition);
            uiCommandDefinition = new UICommandDefinition("ViewSHEMAPLACA", "Shema place", this.ORGJED.Site + ".View", 3, null, DeklaritMode.Update)
            {
                PermissionName = "SHEMAPLACA.Select"
            };
            this.ORGJED.UICommandDefinitionContainer.Add(uiCommandDefinition);
            base.OnInitialized();
        }
Exemplo n.º 29
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("DDOBRACUN", new FormDefinition(this, new DDOBRACUNFormUserControl(), StringResources.DDOBRACUNName, StringResources.DDOBRACUNDescription, "NetAdvantage"));
     this.DDOBRACUN.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.DDOBRACUN.Site));
     base.OnInitialized();
 }
Exemplo n.º 30
0
 protected override void OnInitialized()
 {
     base.m_FormDefinitionDictionary.Add("RAD1MELEMENTIVEZA", new FormDefinition(this, new RAD1MELEMENTIVEZAFormUserControl(), StringResources.RAD1MELEMENTIVEZAName, StringResources.RAD1MELEMENTIVEZADescription, "NetAdvantage"));
     this.RAD1MELEMENTIVEZA.UICommandDefinitionContainer.Add(StandardCommandDefinitions.GetFormCommands(this.RAD1MELEMENTIVEZA.Site));
     base.OnInitialized();
 }