RT
书上说:The ActionsPane object supports Windows form controls, and you can change the
orientation of the Actions Pane programmatically.而且例子上创建ActionsPane用的是代码方式:
// Initializing the TextBox control to use in Actions Pane
TextBox VSTOTextBox = new TextBox();
private void ThisDocument_Startup(object sender,
System.EventArgs e)
{
// Set the text property for the TextBox control
VSTOTextBox.Text = "Say Hello to Actions Pane User";
// Add the TextBox control to the ActionsPane
ActionsPane.Controls.Add(VSTOTextBox);
// On document load ActionsPane is shown
ActionsPane.Show();
}工具箱里面没有看见ActionsPane,这个玩意很强大,但是无法可视化开发的话工作量就有点大且复杂了。
不知道有人做过吗?是不是在开发界面的word界面里可以设置打开ActionsPane?怎么设置呢?
书上说:The ActionsPane object supports Windows form controls, and you can change the
orientation of the Actions Pane programmatically.而且例子上创建ActionsPane用的是代码方式:
// Initializing the TextBox control to use in Actions Pane
TextBox VSTOTextBox = new TextBox();
private void ThisDocument_Startup(object sender,
System.EventArgs e)
{
// Set the text property for the TextBox control
VSTOTextBox.Text = "Say Hello to Actions Pane User";
// Add the TextBox control to the ActionsPane
ActionsPane.Controls.Add(VSTOTextBox);
// On document load ActionsPane is shown
ActionsPane.Show();
}工具箱里面没有看见ActionsPane,这个玩意很强大,但是无法可视化开发的话工作量就有点大且复杂了。
不知道有人做过吗?是不是在开发界面的word界面里可以设置打开ActionsPane?怎么设置呢?
解决方案 »
- 实则是扩展性标示语言文件,但是用了自己定义的一种格式名,如何让系统识别为不可读出的格式?
- 想做一个QQ或者RTM有新消息就提示的程序,求助!
- 悬赏100分!关于使用委托与异步调用,顶者有分!顺便大家也来学习下吧
- datagridview单元格问题
- 在树型控件中添加右键快捷键,怎样判断是否有选中某一个节点?
- winform 里面 TreeView 的问题 急求解答
- Mdi不重复打开子窗体的问题,帮我看一段代码
- 分不够了,硬着头皮问 flagsattribute的枚举的逻辑运算。
- 请高手指教:怎么实现程序的国际化和本地化?急!!!
- 超级简单,CSC为什么不是内部命令,我是菜菜鸟
- 20分:程序集的概念
- [VSTO][add-in]如何在word当中得到当前文档的地址?
ActionsPaneControl1 control1 = new ActionsPaneControl1();
this.ActionsPane.Controls.Add(control1); 随便谁,回一个,结贴~~~
如何让ActionsPane直接支持wpf内容(不用那个什么elementhost)