///// <summary> ///// 点击查询入库差异单明细 ///// </summary> //public event CJBasic.Action<SupplierAccountRecord,Type>SupplierAccountRecordDetailClick; public WholesaleAccountContrastCtrl() { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.客户往来账对账表; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, new String[] { this.inCountDataGridViewTextBoxColumn.DataPropertyName, this.inMoneyDataGridViewTextBoxColumn.DataPropertyName, this.outCountDataGridViewTextBoxColumn.DataPropertyName, this.outMoneyDataGridViewTextBoxColumn.DataPropertyName, this.otherMoneyDataGridViewTextBoxColumn.DataPropertyName, this.payMoneyDataGridViewTextBoxColumn.DataPropertyName, dataGridViewTextBoxColumn1.DataPropertyName, createTimeDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.HideSummaryRowHeader = true; dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { this.inCountDataGridViewTextBoxColumn, this.inMoneyDataGridViewTextBoxColumn, this.outCountDataGridViewTextBoxColumn, this.outMoneyDataGridViewTextBoxColumn, }); dataGridViewPagingSumCtrl.Initialize(); SetSpanInfo(); Initialize(); }
/// <summary> /// 调拨查询管理 /// </summary> /// <param name="state">调拨状态</param> /// <param name="isAllocateInbound">true:调拨入库 false:调拨</param> public CurrentShopAllocateManageCtrl(AllocateOrderState state = AllocateOrderState.All) { InitializeComponent(); dataGridViewPagingSumCtrl2 = new DataGridViewPagingSumCtrl(this.dataGridView2, new string[] { xSDataGridViewTextBoxColumn.DataPropertyName, sDataGridViewTextBoxColumn.DataPropertyName, mDataGridViewTextBoxColumn.DataPropertyName, lDataGridViewTextBoxColumn.DataPropertyName, xLDataGridViewTextBoxColumn.DataPropertyName, xL2DataGridViewTextBoxColumn.DataPropertyName, xL3DataGridViewTextBoxColumn.DataPropertyName, xL4DataGridViewTextBoxColumn.DataPropertyName, xL5DataGridViewTextBoxColumn.DataPropertyName, xL6DataGridViewTextBoxColumn.DataPropertyName, fDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl2.SpecAutoSizeModeColumns(new DataGridViewColumn[] { costumeIDDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl2.Initialize(); this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { totalCountDataGridViewTextBoxColumn.DataPropertyName, totalPriceDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.ColumnSorting += dataGridViewPagingSumCtrl_ColumnSorting; this.createTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATETIME_FORMAT; this.dataGridView1.AutoGenerateColumns = false; this.state = state; }
private void Init(bool hideOper = false) { //MenuPermission = RolePermissionMenuEnum.销售退货单查询; this.dataGridView_RetailOrder.AutoGenerateColumns = false; dataGridView_RetailDetail.AutoGenerateColumns = false; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView_RetailOrder, PageControlPanel21_CurrentPageIndexChanged, BaseButton_Search_Click, new String[] { // TextBoxColumnOFshowCash.DataPropertyName, MoneyBankCard.DataPropertyName, MoneyWeiXin.DataPropertyName, MoneyAlipay.DataPropertyName, MoneyBuyByTicket.DataPropertyName, MoneyCash.DataPropertyName, MoneyVipCard.DataPropertyName, totalCountDataGridViewTextBoxColumn.DataPropertyName, totalPriceDataGridViewTextBoxColumn.DataPropertyName, TotalMoneyReceivedActual.DataPropertyName, CarriageCost.DataPropertyName, MoneyOtherColumn.DataPropertyName }); if (hideOper) { //不分页 dataGridViewPagingSumCtrl.Paging = false; dataGridViewPagingSumCtrl.AppendNotShowInColumnSettings(ColumnRedo, ColumnRemove, ColumnPrint); } this.Initialize(); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Remarks }); dataGridViewPagingSumCtrl.Initialize(); SetUpOrderStrip(dataGridViewPagingSumCtrl.InnerContextMenuStrip); new DataGridViewPagingSumCtrl(dataGridView_RetailDetail).Initialize(); }
public SalesQuantityRankingSearchCtrl() { InitializeComponent(); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { quantityOfSaleDataGridViewTextBoxColumn.DataPropertyName, sumMoneyDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Remarks }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting; dataGridViewPagingSumCtrl.SelectionChanged = dataGridView1_SelectionChanged; dataGridViewPagingSumCtrl.AutoIndex = false; this.skinSplitContainer1.Panel2Collapsed = true; firstInboundTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATE_FORMAT; firstSaleTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATE_FORMAT; LastSaleTime.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATE_FORMAT; CommonGlobalUtil.SetBrand(skinComboBox_Brand); this.skinComboBoxShopID.Initialize(false, CommonGlobalCache.IsGeneralStoreRetail != "1", CommonGlobalCache.BusinessAccount.OnlineEnabled); this.skinRadioButtonCostume.Checked = true; this.skinRadioButton1.Checked = true; List <ListItem <int> > stateList = new List <ListItem <int> >(); DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End); DateTimeUtil.DateTimePicker_ThisWeek(dateTimePickerStartInbound, dateTimePickerEndInbound); MenuPermission = RolePermissionMenuEnum.畅滞排行榜; }
///// <summary> ///// 点击查询入库差异单明细 ///// </summary> //public event CJBasic.Action<CostumeStoreChangeInfo,Type> CostumeStoreTrackDetailClick; public CostumeStoreTrackSearchCtrl1() { InitializeComponent(); this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1 , new string[] { inDataGridViewTextBoxColumn.DataPropertyName, intoDataGridViewTextBoxColumn.DataPropertyName, returnDataGridViewTextBoxColumn.DataPropertyName, turnOutDataGridViewTextBoxColumn.DataPropertyName, retailDataGridViewTextBoxColumn.DataPropertyName, scrapDataGridViewTextBoxColumn.DataPropertyName, profitDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns( inDataGridViewTextBoxColumn, intoDataGridViewTextBoxColumn, returnDataGridViewTextBoxColumn, turnOutDataGridViewTextBoxColumn, retailDataGridViewTextBoxColumn, scrapDataGridViewTextBoxColumn, profitDataGridViewTextBoxColumn); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.ColumnSorting += dataGridViewPagingSumCtrl_ColumnSorting; dataGridView1.ColumnHeadersHeight = 40; SetSpanInfo(); MenuPermission = RolePermissionMenuEnum.库存变化查询; }
/// <summary> /// 调拨查询管理 /// </summary> public AllocateManageCtrl() { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.调拨单查询; dataGridViewPagingSumCtrl2 = new DataGridViewPagingSumCtrl(this.dataGridView2); dataGridViewPagingSumCtrl2.Initialize(); isCheckOnlyCurShop = HasPermission(RolePermissionMenuEnum.调拨单查询, RolePermissionEnum.查看_只看本店); this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { totalCountDataGridViewTextBoxColumn.DataPropertyName, totalPriceDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); createTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATETIME_FORMAT; shopComboBox1.Initialize(false); shopCmbSend.Initialize(false); ShopCmbGet.Initialize(false); // dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting; }
public RetailOrderSelectForm(string costumeID, String shopID, bool isRetailOrderIDQuery = true) { InitializeComponent(); this.shopID = shopID; CostumeCurrentShopTextBox1.ShopID = shopID; retailOrderIDTextBox1.ShopID = shopID; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, this.baseButton3_Click); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); // dataGridViewPagingSumCtrl.SpecAutoSizeMode(new TKeyValue<DataGridViewColumn, DataGridViewAutoSizeColumnMode>(remarksDataGridViewTextBoxColumn, DataGridViewAutoSizeColumnMode.ColumnHeader)); this.isRetailOrderIDQuery = isRetailOrderIDQuery; if (this.isRetailOrderIDQuery) { this.retailOrderIDTextBox1.SkinTxt.Text = costumeID; this.CostumeCurrentShopTextBox1.Visible = false; this.skinLabel_CostumeID.Visible = false; } else { this.CostumeCurrentShopTextBox1.SkinTxt.Text = costumeID; this.retailOrderIDTextBox1.Visible = false; this.skinLabel_OrderID.Visible = false; } baseButton3_Click(null, null); }
/// <summary> /// 点击收货按钮触发 /// </summary> // public event CJBasic.Action<DayBenefitReport> InboundClick; public BenefitReportSailDetailListCtrl() { InitializeComponent(); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(dataGridView_RetailDetail); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Remarks, OrderRemarks }); dataGridViewPagingSumCtrl.Initialize(); this.dataGridView_RetailDetail.AutoGenerateColumns = false; dataGridViewPagingSumCtrl1 = new DataGridViewPagingSumCtrl(dataGridViewRechargeRecord); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl1.Initialize(); }
private void Initialize() { DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView_RefundOrder, PageControlPanel21_CurrentPageIndexChanged, BaseButton_Search_Click); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); //ataGridViewPagingSumCtrl.SpecAutoSizeMode(new TKeyValue<DataGridViewColumn, DataGridViewAutoSizeColumnMode>(remarksDataGridViewTextBoxColumn, DataGridViewAutoSizeColumnMode.ColumnHeader)); }
public AdminUserManageCtrl() { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.管理员; dataGridView1.AutoGenerateColumns = false; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); // baseButtonPermission.Visible =(CommonGlobalCache.CurrentUserID == SystemDefault.DefaultAdmin); }
public DayOfGuideRetailOrderListCtrl() { InitializeComponent(); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(dataGridView_RetailDetail); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Remarks }); dataGridViewPagingSumCtrl.Initialize(); this.Initialize(); }
public ConfusedStoreAdjustRecordCtrl() { InitializeComponent(); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, this.BaseButton_Search_Click); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Remarks }); dataGridViewPagingSumCtrl.Initialize(); this.skinComboBoxShopID.Initialize(); MenuPermission = RolePermissionMenuEnum.串码调整查询; }
public SupplierManageCtrl() { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.供应商; dataGridView1.AutoGenerateColumns = false; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); }
public OutboundOrderSearchCtrl() { InitializeComponent(); this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { totalCountDataGridViewTextBoxColumn1.DataPropertyName, totalPriceDataGridViewTextBoxColumn1.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn1 }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.ColumnSorting += dataGridViewPagingSumCtrl_ColumnSorting; }
public WholesaleCustomerManageCtrl() { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.客户管理; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButtonQuery_Click); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); }
public RechargeRecordListCtrl(RechargeRecordListPara para) { InitializeComponent(); this.pagePara = para; this.createTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATETIME_FORMAT; this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); }
public ReplenishManageCtrl() { InitializeComponent(); this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { totalCountDataGridViewTextBoxColumn.DataPropertyName, totalPriceDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting; Initialize(); MenuPermission = RolePermissionMenuEnum.店铺补货单查询; }
public PfDistributorCommissionCtrl() { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.佣金查询; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButtonQuery_Click, new string[] { accruedCommissionDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { // remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); }
public PurchaseOrderManageCtrl(String orderID = null) { InitializeComponent(); OrderID = orderID; this.dataGridView1.AutoGenerateColumns = false; this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { totalCountDataGridViewTextBoxColumn.DataPropertyName, totalPriceDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Column6 }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting; }
public CustomerInventorySearchCtrl() { InitializeComponent(); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, new String[] { deliveryDataGridViewTextBoxColumn.DataPropertyName, retailDataGridViewTextBoxColumn.DataPropertyName, pfCustomerStoreDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(deliveryDataGridViewTextBoxColumn, retailDataGridViewTextBoxColumn); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.AutoIndex = false; Initialize(); MenuPermission = RolePermissionMenuEnum.客户进销存; }
public CostumeStoreTrackSearchScrapForm() { InitializeComponent(); dataGridView_RetailDetail.AutoGenerateColumns = false; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl( dataGridView_RetailDetail, new string[] { totalCountDataGridViewTextBoxColumn.DataPropertyName }) { ShowColumnSetting = false }; dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); }
///// <summary> ///// 点击查询入库差异单明细 ///// </summary> //public event CJBasic.Action<CashRecord,Type> CashRecordDetailClick; public CashRecordSearchCtrl() { InitializeComponent(); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); this.createTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATETIME_FORMAT; skinComboBox_DestShop.Initialize(); MenuPermission = RolePermissionMenuEnum.店铺现金管理; }
///// <summary> ///// 点击查询入库差异单明细 ///// </summary> //public event CJBasic.Action<SupplierAccountRecord,Type>SupplierAccountRecordDetailClick; public SupplierAccountRecordSearchCtrl() { InitializeComponent(); dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new String[] { accountMoneyDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting; this.createTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATETIME_FORMAT; Initialize(); }
private void Init() { MenuPermission = RolePermissionMenuEnum.调拨; skinComboBoxShopID.Tag = RolePermissionMenuEnum.限; if (IsPos) { PriceColumn.ReadOnly = true; SalePriceColumn.ReadOnly = true; priceDataGridViewTextBoxColumn.ReadOnly = true; SalePrice.ReadOnly = true; skinLabelNotice.Text = "下表的数量可以修改"; } if (!HasPermission(RolePermissionMenuEnum.调拨, RolePermissionEnum.单据时间)) { dateTimePicker_Start.Enabled = false; } dataGridViewPagingSumCtrl1 = new DataGridViewPagingSumCtrl(this.dataGridView1); dataGridViewPagingSumCtrl1.Initialize(); dataGridViewPagingSumCtrl1.ShowRowCounts = false; if (order != null) { dateTimePicker_Start.Value = order.CreateTime; this.curAllocateType = (AllocateType)Enum.Parse(typeof(AllocateType), order?.AllocateType.ToString()); } dataGridViewPagingSumCtrl2 = new DataGridViewPagingSumCtrl(this.dataGridView2, new String[] { xSDataGridViewTextBoxColumn.DataPropertyName, sDataGridViewTextBoxColumn.DataPropertyName, mDataGridViewTextBoxColumn.DataPropertyName, lDataGridViewTextBoxColumn.DataPropertyName, xLDataGridViewTextBoxColumn.DataPropertyName, xL2DataGridViewTextBoxColumn.DataPropertyName, xL3DataGridViewTextBoxColumn.DataPropertyName, xL4DataGridViewTextBoxColumn.DataPropertyName, xL5DataGridViewTextBoxColumn.DataPropertyName, xL6DataGridViewTextBoxColumn.DataPropertyName, fDataGridViewTextBoxColumn.DataPropertyName, SumCount.DataPropertyName, SumMoney.DataPropertyName }); dataGridViewPagingSumCtrl2.SpecAutoSizeModeColumns(new DataGridViewColumn[] { costumeIDDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl2.ShowRowCounts = false; dataGridViewPagingSumCtrl2.Initialize(); dataGridView2.AutoGenerateColumns = false; }
private void InitializeConstruct() { skinTextBox_ID.SkinTxt.KeyDown += SkinTxt_KeyDown; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, this.BaseButton_Search_Click, new String[] { denominationDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Remarks }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.OrderSearch = Search; SetState(); Display(); DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End); }
public RechargeRecordCtrl() { InitializeComponent(); this.createTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATETIME_FORMAT; this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, new String[] { balanceOldDataGridViewTextBoxColumn.DataPropertyName, balanceNewDataGridViewTextBoxColumn.DataPropertyName, donateMoneyDataGridViewTextBoxColumn.DataPropertyName, rechargeMoneyDataGridViewTextBoxColumn.DataPropertyName }); //dataGridViewPagingSumCtrl.SpecAutoSizeMode(new TKeyValue<DataGridViewColumn, DataGridViewAutoSizeColumnMode>(remarksDataGridViewTextBoxColumn, DataGridViewAutoSizeColumnMode.ColumnHeader)); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); }
private void InitializeConstruct() { dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, new String[] { this.rechargeMoneyDataGridViewTextBoxColumn.DataPropertyName, this.DonateMoney.DataPropertyName, this.reatilMoneyDataGridViewTextBoxColumn.DataPropertyName, this.balanceDataGridViewTextBoxColumn.DataPropertyName }); // dataGridViewPagingSumCtrl.ColumnSorting = dataGridView1.AutoGenerateColumns = false; //dataGridView1.AutoSizeRowsMode =DataGridViewAutoSizeRowsMode. dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(rechargeMoneyDataGridViewTextBoxColumn, reatilMoneyDataGridViewTextBoxColumn); dataGridViewPagingSumCtrl.Initialize(); // SetState(); DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End); }
public sendOutGoodDetailForm() { InitializeComponent(); dataGridView_RetailDetail.AutoGenerateColumns = false; this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl( this.dataGridView_RetailDetail, new string[] { totalCountDataGridViewTextBoxColumn.DataPropertyName }) { ShowColumnSetting = false }; dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { totalCountDataGridViewTextBoxColumn }); dataGridView_RetailDetail.AutoGenerateColumns = false; dataGridViewPagingSumCtrl.Initialize(); }
/// <summary> /// 点击收货按钮触发 /// </summary> // public event CJBasic.Action<ReturnOrder> InboundClick; public WholesaleOrderManageCtrl(String orderID = null) { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.批发发货退货单查询; OrderID = orderID; this.dataGridView1.AutoGenerateColumns = false; this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { totalCountDataGridViewTextBoxColumn.DataPropertyName, totalPriceDataGridViewTextBoxColumn.DataPropertyName }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { Column6 }); dataGridViewPagingSumCtrl.Initialize(); //dataGridViewPagingSumCtrl.SpecAutoSizeMode(new TKeyValue<DataGridViewColumn, DataGridViewAutoSizeColumnMode>(Column6, DataGridViewAutoSizeColumnMode.ColumnHeader)); dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting; }
/// <summary> /// 点击收货按钮触发 /// </summary> // public event CJBasic.Action<DayReport> InboundClick; public DayReportManageCtrl() { InitializeComponent(); MenuPermission = RolePermissionMenuEnum.日结存查询; dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click, new string[] { this.totalRechargeDataGridViewTextBoxColumn.DataPropertyName, this.salesInCashDataGridViewTextBoxColumn.DataPropertyName, this.quantityOfSaleDataGridViewTextBoxColumn.DataPropertyName, this.salesCountDataGridViewTextBoxColumn.DataPropertyName, this.refundCountDataGridViewTextBoxColumn.DataPropertyName, }); dataGridViewPagingSumCtrl.SpecAutoSizeModeColumns(new DataGridViewColumn[] { remarksDataGridViewTextBoxColumn }); dataGridViewPagingSumCtrl.Initialize(); dataGridViewPagingSumCtrl.OrderSearch = Search; }