微软.net精简框架常见问题及回答(中文版)(2)

王朝c#·作者佚名  2006-01-09
宽屏版  字体: |||超大  

4.1. 怎样建立一个全屏的窗体?

4.2. 什么时候用窗体的构造器?什么时候用窗体的Load事件?

4.3. 怎样把最小化按钮换成关闭按钮?

4.4. 怎样在.net精简框架上建立多窗体系统结构?

4.5. 怎样提高.net精简框架应用程序的载入速度?

4.6. 运行时怎样修改窗体的风格?

4.7. 怎样滚动窗体的内容?

4.8. 怎样制作一个浮动的窗体?好象所有的窗体总是全屏状态的。

4.9. 怎样强迫一个窗体变成最小化?

4.10. 我有一个包含很多控件的智能设备窗体,为什么运行的时候出现"NotSupportedException"错误?

4.11. 哪个是正确关闭窗体的方法:Appplication.Exit 还是 Form.Close ?

4.12. Why does showing a MessageBox on Windows Mobile 2003 for Smartphone with the Abort, Retry, and Fail set of buttons or the Yes, No, Cancel set of buttons, or the third button as the default button result in a NotSupportedException?

4.13 How do I get an icon in the Pocket PC Start Menu Most Recently Used (MRU) List?

4.14 How do I center a Form on the screen?

4.15 Why can't I show a Form that has been closed?

4.16 How can I enable multiple instances of an application? 5. 图形用户界面 (GUI): 通用

5.1. 怎样建立一个带有图形或支持多行的按钮?

5.2. TextBox.AcceptsReturn在.net精简框架下是怎样工作的?

5.3. 当数据载入ComboBox的时候,为什么SelectedIndexChanged事件没有被触发?

5.4. Show和ShowDialog有什么不同?

5.5. 为什么我不能建立右键菜单分离器?(separator)

5.6. 运行时把ImageList赋给ToolBar时,为什么图象不出现?

5.7. 怎样把光标设置成等待状态?

5.8. 如何在菜单项中显示符号:&?

5.9. 如何制作基于.net精简框架的动画控件?

5.10. 如何在.net精简框架上制作自定义控件?

5.11. 如何制作基于.net精简框架的带图片的按钮?

5.12. 如何使用.net精简框架下的MessageWindow类库?

5.13. 如何向DataGrid中添加行和列?

5.14. 如何实现DataGrid的编辑?

5.15. 怎样设置DataGrid的DataSource?

5.16. 怎样对DataGrid的列排序?

5.17. 怎样对ListView中的内容排序?

5.18. 如何使用 输入板(SIP)控件?

5.19. 如何自定义事件?

5.20. 如何做一个 owner-drawn List Box?

5.21. 如何做一个多选框判断真假?

5.22. 设置InputPanel.Enabled = true的时候为什么出现异常?

5.23. 为什么自定义控件不会自动继承父类的字体?

5.24. 为什么当输入字符时,NumericUpDown 和 DomainUpDown 控件不会引发 ValueChanged 和 SelectedItemChanged 事件?

5.25. 为什么NumericUpDown控件增长的值不是设置好的值?

5.26. 为什么StatusBar不能放在窗体的任意位置?一定要在底部?

5.27. 为什么我的控件自动继承了父控件的背景色?

5.28. 为什么NumericUpDown控件能接受decimal类型的值,但不会显示大于2^16的值?

5.29. 为什么不能在DomainUpDown 中输入文字,而要选择?

5.30. 为什么OpenFileDialog被限制在"My Documents" 文件夹中?

5.31. How can I activate the SIP (InputPanel) without a menu?

5.32. How do I add a subnode to every node in a TreeView?

5.33. How do I determine the number of rows or columns in a DataGrid?

5.34. How do I create a owner drawn Listbox?

5.35. How can I implement Control.GetNextControl under the .NET Compact Framework?

5.36. How do I get notified when the user clicks on a treeview node?

5.37. How do I set the title of a fullscreen multiline edit control window?

5.38. Why don' I see the validItem selected when I set ComboBox.SelectedValue to validItemInCollection?

5.39. How do I detect the location where a 'tap & hold' occurred to bring up a context menu on my custom control?

5.40. Why doesn't the scrollbar value ever get set to the maximum value?

5.41. How do I tab out of a custom control to the previous control?

5.42. How do I add Toolbar buttons with Transparency? 6. 与本地代码(Native Code)协同工作

6.1. 如何调用本地写的DLL中的函数?

6.2. 如何使用dumpbin.exe帮助描述 P/Invokes?

6.3. 如何为微软.net精简框架写非托管代码?

6.4. 如何调用 P/Invoke GetTickCount?

6.5. 如何获得系统还有多少可用内存?

6.6. 如何是窗口一直保持最小化?

6.7. 在微软.net精简框架上调用系统函数时,如何装配数据类型?

6.8. 如何得到一个窗体或控件的句柄 (HWND) ?

6.9. 如何使用性能计数器功能?

6.10. 调用本地代码时,数据类型有什么限制?What are the limitations on marshalling types via P/Invoke?

第一页    上一页    第2页/共78页    下一页    最后页
第01页 第02页 第03页 第04页 第05页 第06页 第07页 第08页 第09页 第10页 
第11页 第12页 第13页 第14页 第15页 第16页 第17页 第18页 第19页 第20页 
第21页 第22页 第23页 第24页 第25页 第26页 第27页 第28页 第29页 第30页 
第31页 第32页 第33页 第34页 第35页 第36页 第37页 第38页 第39页 第40页 
第41页 第42页 第43页 第44页 第45页 第46页 第47页 第48页 第49页 第50页 
第51页 第52页 第53页 第54页 第55页 第56页 第57页 第58页 第59页 第60页 
第61页 第62页 第63页 第64页 第65页 第66页 第67页 第68页 第69页 第70页 
第71页 第72页 第73页 第74页 第75页 第76页 第77页 第78页 
 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有