Example #1
0
        public void loadToolBar()
        {
            base.loadToolBar();
            lblFormName.Text = "Organization";
            RadButton btnAddUnit = new BaseFormProject.ToolBarButton(0, "appbar_vector_pen_add");
            RadButton btnAddUser = new BaseFormProject.ToolBarButton(1, "appbar_user_add");
            RadButton btnExport  = new BaseFormProject.ToolBarButton(2, "appbar_page_download");

            btnAddUnit.Click += addUnitClick;
            btnAddUser.Click += addUserClick;
            btnExport.Click  += exportClick;
            this.panel1.Controls.Add(btnAddUnit);
            this.panel1.Controls.Add(btnAddUser);
            this.panel1.Controls.Add(btnExport);
        }
Example #2
0
        private void loadToolBar()
        {
            base.loadToolBar();
            lblFormName.Text = "Employee List";
            RadButton btnSearch = new BaseFormProject.ToolBarButton(0, "lightMagnify");
            RadButton btnDelete = new BaseFormProject.ToolBarButton(2, "lightDelete");

            //  RadButton btnNewRecord= new BaseFormProject.ToolBarButton(1, "lightLayerAdd");
            btnSearch.Click += searchClick;
            //      btnNewRecord.Click += addNewClick;
            this.panel1.Controls.Add(btnSearch);
            this.panel1.Controls.Add(btnDelete);
            //    this.panel1.Controls.Add(btnNewRecord);
            searchGrid.MasterTemplate.AllowAddNewRow = false;
        }
Example #3
0
        private void loadToolBar()
        {
            base.loadToolBar();
            lblFormName.Text = "Employee";
            RadButton btnSearch   = new BaseFormProject.ToolBarButton(0, "lightMagnify");
            RadButton btnSave     = new BaseFormProject.ToolBarButton(1, "lightSave");
            RadButton btnDelete   = new BaseFormProject.ToolBarButton(2, "lightDelete");
            RadButton btnFieldAdd = new BaseFormProject.ToolBarButton(3, "lightLayerAdd");

            btnSearch.Click   += searchClick;
            btnFieldAdd.Click += addFieldClick;
            btnSave.Click     += saveClick;
            this.panel1.Controls.Add(btnSave);
            this.panel1.Controls.Add(btnSearch);
            this.panel1.Controls.Add(btnDelete);
            this.panel1.Controls.Add(btnFieldAdd);
        }