コード例 #1
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            ProductTypeAddView view  = new ProductTypeAddView();
            CloseFormHandle    close = new CloseFormHandle(delegate() {
                //GetProductIndentList();
                this.Invoke(new RefreshUIHandle(delegate {
                    SystemManageNetOperation.ProductTypeInfo(ProductTypeInfoResult);
                }));
            });

            ToolsManage.ShowForm(view, false, close);
        }
コード例 #2
0
        //按钮列的点击事件
        public void ColumnButtonClick(object sender, ButtonPressedEventArgs e)
        {
            int     rowhandle = this.gridView1.FocusedRowHandle;
            DataRow row       = this.gridView1.GetDataRow(rowhandle);

            ProductTypeAddView view  = new ProductTypeAddView(items[rowhandle]);
            CloseFormHandle    close = new CloseFormHandle(delegate() {
                this.Invoke(new RefreshUIHandle(delegate {
                    SystemManageNetOperation.ProductTypeInfo(ProductTypeInfoResult);
                }));
            });

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