Ejemplo n.º 1
0
        private void addManagerButton_Click(object sender, EventArgs e)
        {
            CloseFormHandle close = new CloseFormHandle(delegate {
                GetManagerList();
            });
            ManagerAddView view = new ManagerAddView(null);

            ToolsManage.ShowForm(view, false, close);
        }
Ejemplo n.º 2
0
        //按钮列功能
        private void ButtonPressedEventClick(object sender, ButtonPressedEventArgs e)
        {
            int             row   = this.gridView1.FocusedRowHandle;
            StructRole      role  = this.managers[row];
            CloseFormHandle close = new CloseFormHandle(delegate {
                GetManagerList();
            });
            ManagerAddView view = new ManagerAddView(role);

            ToolsManage.ShowForm(view, false, close);
        }