首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 149 毫秒
1.
VB中图片滚动浏览的编程   总被引:2,自引:0,他引:2  
在昆虫、植物标本等多媒体数据库系统中,通常在窗体上放进标签、文本、图象框等控件,用图象框显示图片。当图片尺寸大于图象框控件尺寸或者大于屏幕桌面时,VB提供的图象框只能显示图片局部画面,而实际应用中常需要显示浏览整副图片。本文通过给窗体添加滚动条的方法实现滚动浏览大图片的功能。1设计思路、窗体控件及其属性的设置在窗体(frmpicture)中放进图象框(Picture1)、垂直滚动条(VScroII1)、水平滚动条(HScroll1)、标签(Labell)。标签为正方形,做滚动条宽度的基准。垂直滚…  相似文献   

2.
徐辉  王忠芝 《计算机系统应用》2011,20(7):180-183,198
MATLAB图形用户界面环境(GUIDE)一直都无法实现类似VC窗体滚动条的功能.介绍了一种在MATLAB GUIDE中使用WebBrowser控件,利用网页自动生成滚动条的特性,实现大量内容显示的方法.并着重介绍了WebBrowser控件的创建,按钮、文本、图像的添加与显示,以及MATLAB与WebBrowser控件数据传递的方法.通过图像分类系统对此方法进行验证,表明该方法在MATLAB图形用户界面(GUI)设计中具有简单、易扩展的特性.  相似文献   

3.
有时我们需要在一些工作表中添加条形码,这种情况下,我们常常要借助于能够生成条形码的软件来实现。其实,用Excel也能完成这项任务,而且插入条形码更方便。首先给Excel安装一个Microsoft Barcode Control9.0控件。接下来,执行"视图→工具栏→控件工具箱"命令,在弹出的控件工具栏中单击"其他控件"选项(图1),在出现的命令选项列表中选择Microsoft Barcode Control9.0,屏幕上又出现一个  相似文献   

4.
在应用程序界面上 ,若项目列表很长、信息量很大或某一容器中的对象较大时 ,需要使用滚动条滚动列表或对象。本文以滚动窗体上的OLE对象为例 ,谈谈滚动条的使用方法。在本文的例子中使用窗体Forml,OLE控件OLE1,水平滚动条Hscroll1和垂直滚动条VScroll1。1 在OLE的Resize事件过程中设置滚动条的某些属性值  可以在OLE的Resize事件过程中设置滚动条的某些属性值 ,以便使其适合于新的OLE对象的大小 ,其代码如下 :PrivateSubform- Load()OLE1 .SizeMode =v…  相似文献   

5.
电子表格     
Excel的滚动区域 在我的大多数Microsoft Excel 5.0的电子表格中,通过把滚动块拖到滚动条的最底端,我就可以到达所有输入的最底行。但有一个例外,在上述操作之后,它把我带到了第1776行,而我输入的最后一行是第800行。我假定(并进一步试验了)在电子表格的这一部分曾经输入过一项并删除了。有没有办法告诉Excel,使用滚动条是想移到当前输入的最底一行,不是过去所有输入的最后一行?  相似文献   

6.
VB控件随窗体变化自动调整的实现   总被引:1,自引:0,他引:1  
本文主要讲述了在VB中实现窗体中的控件随窗体大小变化而自动调整大小和位置的方法。并针对两种不同的情况;直接摆放在窗体上的控件、放在Tab页(标签)上的控件,进行了具体的说明。  相似文献   

7.
采用C#编程创建窗体应用程序,结合实际应用,实现工业数据的串口的采集处理。利用combobox控件进行串口参数预设。完成串口数据采集,通过实例化graphic类在picturebox控件中实现数据的图样化表达。在数据的阈值报警和Excel数据保存方面进行了研究,较好地解决了生产实践中的关键问题。  相似文献   

8.
在Excel VBA课程考试软件开发中,如何从Excel文件中获取考生操作的窗体对象和宏代码,是操作题评分中的一个关键性问题.到目前为止,有关Excel VBA课程的考试软件开发和评分方法研究方面的文献报道尚不多见.利用VBE及其子对象的属性和方法,可以测试Excel VBA工程中的窗体和控件对象的属性和事件代码,以及模块中的宏代码.给出了基本操作题、程序改错题和程序填空题这三种题型的试题和答案设计的示例.考试结果表明,使用VBE对象来获取考生操作的窗体对象和宏代码,很好地解决了Excel VBA考试系统中操作题的计算机评分问题.  相似文献   

9.
在VC中使用DataGrid控件   总被引:1,自引:0,他引:1  
一、引言 Microsoft ADO Data Control控件是ActiveX控件访问数据库必不可少的控件。它使用Microsoft ActiveX数据对象(ADO)来快速建立数据绑定(DATA BINDING)控件和数据源(数据提供者)之间的连接。通过ADO Data控件我们实现ADO对数据源的访问。这里的数据源指的是任何OLE DB数据源。 另外,我们还需要一种控件来显示数据源数据,这就是数据访问控件。数据访问控件是任何支持ADO的控件。在VC++中我们常用的数据控件有:Microsoft DataGrid、Microsoft DataList、Microsoft DataCombo和Microsoft DataRepeate等。但是我们不能使用普通Data控件,这种控件必需支持ADO。所以只能使用Microsoft DataGrid控件。  相似文献   

10.
徐红勤 《计算机仿真》2004,21(9):186-189
数据库编程要解决的首要问题是如何快速、便捷地实现与数据库的连接,从而实现数据交换的目的。该文首先简要介绍了VB6.0自带的数据控件与数据库连接的方法,并指出其局限性。然后以Microsoft Access2000和Microsoft SQL Server数据库为例,用三种不同的方法详细介绍了在VB6.0中如何实现与不同类型数据库的连接。第一种方法是利用ActiveX控件(ADO DATA控件)在窗体设计阶段实现与数据库的快速连接。第二种方法介绍了利用ADO对象模型在程序设计阶段实现与数据库的动态连接。第三种方法是使用数据窗体向导实现与数据库最简单、快捷的连接。具有一定的应用性和实用性。  相似文献   

11.
构建第三方回收下的双渠道闭环供应链模型,考虑了三种不同的决策情形来探讨零售电商参与和处理基金政策对供应链中决策、利润、需求和消费者剩余的影响。结果表明:零售电商参与使得传统零售商的产品价格和利润水平降低,制造商可以通过调整对零售电商的批发价格来提高其利润;第三方回收商的回收决策和最优利润不受到零售电商参与的影响,处理基金政策可以有效地提高产品回收数量,但也会使得正向供应链中企业的定价提高;零售电商会蚕食制造商原有的市场份额,但产品总需求量不发生变化。当进一步考虑处理基金政策时,市场总需求量出现下降的趋势;此外,零售电商参与和处理基金政策都会造成供应链中消费者总剩余的减少。  相似文献   

12.
运用随机占优研究风险偏好和需求不确定性对混合条件风险价值约束供应链系统的影响.证明在批发价和收益共享契约下零售商的最优订货量和利润随风险偏好系数的增加而减小;只有在零售商为风险追求型时,批发价契约才能实现供应链协调;无论零售商的风险偏好如何,收益共享契约都能实现供应链协调.在收益共享契约下,随机大需求将导致零售商获得较高的最优利润;当零售商为风险中性或风险厌恶时,其最优利润随需求可变性的增加而减少.  相似文献   

13.
The single‐period problem (SPP) is to find the order quantity which maximizes the expected profit in a single period probabilistic demand framework. We extend the SPP to a case where a retailer uses delayed incentives in the form of cash mail‐in rebates to sell remaining inventory that did not sell at the regular price. The advantage of cash mail‐in rebates is that not all consumers will redeem them. We address three cases: (1) rebate value is predetermined and the order quantity is a decision variable; (2) order quantity is a decision variable and rebate value is set to the value needed to sell all excess inventory, and (3) order quantity is a decision variable and the rebate may be used to sell part of or all excess inventory. In the third case, any inventory remaining after the rebate offer is salvaged at reduced price. We provide analytical solutions for uniform and exponential demand distributions. In all cases, rebates can lead to significant increases in expected profit. We first maximize the expected profit. We then maximize the probability of achieving a target profit and show that the use of rebates can lead to a substantial increase in that probability.  相似文献   

14.
Chem3D软件可用于分子构型的研究。利用其自带的类型库,通过Excel的Visual Basic for Application(VBA),可以实现运算操作的自动化,同时将计算结果直接写入Excel工作表中,有助于数据的处理与分析。本文通过这种方法,应用Chem3D中的MM2力场对海藻糖的分子构型进行了研究,得到的结构参数与文献报道基本吻合,表明了MM2研究的可行性。  相似文献   

15.
公彦德  陈梦泽 《控制与决策》2021,36(7):1743-1753
考虑制造商的公平中性和公平偏好,研究制造商公平偏好程度和企业社会责任(CSR)水平对绿色供应链决策和收益的影响.研究发现:1)制造商的公平偏好行为有利于绿色产品批发价格和零售价格的降低,提高绿色度水平、市场需求和零售商利润,但该行为会在一定程度上损害其自身经济效益,供应链系统利润随制造商公平偏好程度的变化趋势受企业CSR水平的影响;2)制造商分担的系统CSR比例越大,绿色产品的批发价格和制造商利润越低,零售商利润越高,但其CSR行为对产品零售价格、绿色度水平、市场需求、系统利润、消费者剩余及社会福利的影响会因制造商公平偏好程度的不同而不同;3)制造商的公平偏好程度和CSR水平并非越高越好,制造商需在保障自身一定企业盈利的前提下考虑实施公平偏好行为,并将自身公平偏好度与CSR水平控制在合理范围内,不仅有利于产品绿色度水平和系统效率的提高,也有助于实现消费者利益和社会总福利的最优化.  相似文献   

16.
Markup pricing contracts have been widely employed in many industries. Under such contracts, a retailer charges a retail margin over the wholesale price levied by the supplier to guarantee her financial prudence. In a setting where two competitive manufacturers sell substitutable products through a common dominant retailer, we investigate and compare performance of two different markup arrangements, namely, percentage and dollar, under the deterministic and stochastic demand situations, respectively. We find that, no matter what the demand characteristic is, when the retailer switches from dollar to percentage markup, the retailer makes a higher profit while the manufacturers suffer, because the switching forces manufacturers charge lower wholesale prices and thus leads to lower retail prices. Moreover, under the deterministic demand situation, the switching brings about a larger order quantity and a higher channel profit. Under the stochastic demand situation, however, the effect of the switching on order quantity and channel profit depends on manufacturer differentiation and retailer efficiency: order quantity (channel profit) becomes smaller (lower), as manufacturer differentiation becomes weaker or retailer efficiency becomes higher. And, the demand uncertainty intensifies the effect.  相似文献   

17.
Excel是一功能强大的办公自动化软件,如果能在程序中自动操作Excel将会给用户带来很大的方便。本文首先介绍了.NET的开发平台以及Excel中的常用对象,然后介绍如何通过.NET环境中COM组件的使用,最终实现在Form中嵌入并.且操作Excel表格。  相似文献   

18.
We analyze a periodic review inventory system in which the random demand is contingent on the current price and the reference price. The reference price captures the price history and acts as a benchmark against which the current price is compared. The randomness is due to additive and multiplicative random terms. The objective is to maximize the discounted expected profit over the selling horizon by dynamically deciding on the optimal pricing and replenishment policy for each period. We study three key issues using numerical computation and simulation. First, we study the effects of reference price mechanism on the total expected profit. It is shown that high dependence on a good history increases the profit. Second, we investigate the value of dynamic programming and show that the firm that ignores the dynamic structure suffers from the revenue. Third, we analyze the value of estimating the correct demand model with reference effects. We observe that this value is significant when the inventory related costs are low.  相似文献   

19.
We look into the linked decision making in the vendor-managed inventory (VMI) relationship. It is a supply chain management model, where the retailer decides the retail price while the vendor determines its capacity commitment. In this model, the retailer and the vendor should coordinate their decisions in order to maximize their individual profit or the total profit combining the two participants together. The vendor has to take into account the demand pattern throughout the product life cycle (PLC) when it decides its capacity commitment, which will affect its inventory management cost during the PLC, while the retailer should change the retail price over the PLC so as to maximize the revenues and minimize the inventory cost at the same time. Employing a system dynamics simulation approach based on differential game theory, which also takes into account the product characteristics such as the demand’s innovation and imitation effects, we analyze and confirm the dynamic coordination of key decision variables by the supply chain partners in the VMI relationship.  相似文献   

20.
李雷  杨怀珍 《控制与决策》2012,27(3):441-445
假设外界需求确定,充分考虑供应商管理库存(VMI)对于供应链的影响,通过建立经济效果模型证明了上游层面VMI可使供应链上游整体受益.在此基础上,依据Stackelberg博弈及纳什均衡等理论,构建实施上游层面VMI后3种情境下的利益分配机制.该机制可体现在供应商所供产品价格契约的制定上,此契约既能弥补供应商因管理制造商库存而增加的成本,又可使制造商的利润得到保障,实现供需方的互惠共赢,还可为博弈主方在价格层面制定激励政策提供理论依据.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号