QuickBooks界面

问题描述:

我收到了客户要求在VB2005中开发新应用程序的请求。它应该使用MDI设计
。客户希望它看起来类似于Intuit

QuickBooks - 左侧是Outlook栏,子窗口应该出现在MDI里面的
。允许更改条形宽度的拆分器应该是

那里。

我试图使用Splitter控件和SplitContainer控件。

我使用Klik Resizer Control可以正常调整大小,但是我无法使用
在Splitter移动时使其与子窗口一起使用。当我使用SplitContainer时,我也没有找到任何方式放置子窗口 - 在MDI中没有

空的空间而且孩子只是没有出现。

有关如何创建QuickBooks界面的任何建议。


谢谢

vovan

I have a request from my client to develop a new application in VB2005. It
should use MDI design. The client wants it to look similar to Intuit
QuickBooks - Outlook like bar on the left side, child windows should appear
inside of MDI. Splitter allowing to change the width of the bar should be
there.
I tried to use Splitter control as well as SplitContainer Control.
I have Klik Resizer Control which works fine with resizing, but I cannot
make it work with child window when the Splitter is moved. I also coudn''t
find any way to place a child window when I use SplitContainer - there is no
empty space in MDI and child just doesn''t appear.
Any advice how to create QuickBooks interface.

Thank you
vovan

在CodeProject上搜索Outlook工具栏。如果这不起作用,

检查谷歌。我看过那里的代码来复制Outlook外观。


Robin S.

------------- --------------

" vovan" < so ***** @ vovan.com写了留言

新闻:Ob ************** @ TK2MSFTNGP04.phx.gbl ...
Do a search on CodeProject for "Outlook Toolbar". If that doesn''t work,
check Google. I''ve seen code out there to replicate the Outlook look.

Robin S.
---------------------------
"vovan" <so*****@vovan.comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl...

>我收到了客户要求在VB2005中开发新应用程序的请求。它应该使用MDI设计。客户希望它看起来类似于Intuit
QuickBooks - Outlook左侧的条形图,子窗口应该出现在MDI内部。分离器允许改变条的宽度
应该在那里。

我试图使用Splitter控制以及SplitContainer控制。

我有Klik Resizer Control这可以很好地调整大小,但我不能

当Splitter移动时,它可以使用子窗口。当我使用SplitContainer时,我也可以找到任何方式来放置一个子窗口 - 这里有

MDI中没有空格,孩子就不会出现。

如何创建QuickBooks界面的任何建议。


谢谢

vovan
>I have a request from my client to develop a new application in VB2005. It
should use MDI design. The client wants it to look similar to Intuit
QuickBooks - Outlook like bar on the left side, child windows should
appear inside of MDI. Splitter allowing to change the width of the bar
should be there.
I tried to use Splitter control as well as SplitContainer Control.
I have Klik Resizer Control which works fine with resizing, but I cannot
make it work with child window when the Splitter is moved. I also coudn''t
find any way to place a child window when I use SplitContainer - there is
no empty space in MDI and child just doesn''t appear.
Any advice how to create QuickBooks interface.

Thank you
vovan



谢谢,

我知道如何创建类似于界面的Outlook。像设计的Outlook使用

SplitContainer,右侧有一个Panel。我不知道如何在面板上放置子表格



到目前为止,我想到使用包含所有内容的自定义控件

计划放在儿童表格上。我不确定这是个好主意,

,因为我将在

myapplication中有很多子表单(自定义控件)。


vovan


" RobinS" < Ro **** @ NoSpam.yah.nonewrote in message

news:o9 ************************ ******@comcast.com。 ..
Thank you,
I know how to create Outlook like interface. Outlook like design uses
SplitContainer and on the right side there is a Panel(s). I do not know how
to place child form on the Panel.
So far I came to the idea to use Custom controls containing everything I
planned to place on the child form. I''m not sure this is a good idea,
because I''m going to have many child forms (Custom Controls) in
myapplication.

vovan

"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:o9******************************@comcast.com. ..

在CodeProject上搜索Outlook工具栏。如果这不起作用,

检查谷歌。我看过那里的代码来复制Outlook外观。


Robin S.

------------- --------------

" vovan" < so ***** @ vovan.com写了留言

新闻:Ob ************** @ TK2MSFTNGP04.phx.gbl ...
Do a search on CodeProject for "Outlook Toolbar". If that doesn''t work,
check Google. I''ve seen code out there to replicate the Outlook look.

Robin S.
---------------------------
"vovan" <so*****@vovan.comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl...

>>我收到了客户要求在VB2005中开发新应用程序的请求。它应该使用MDI设计。客户希望它看起来类似于Intuit
QuickBooks - Outlook左侧的条形图,子窗口应该出现在MDI内部。允许更改条的宽度的拆分器应该在那里。
我尝试使用Splitter控件以及SplitContainer控件。
我有Klik Resizer Control可以正常调整大小,但我移动拆分器时,无法使其与子窗口一起工作。当我使用SplitContainer时,我也没有找到任何放置子窗口的方法 - 在MDI中没有空的空间而且孩子只是没有出现。
任何建议如何创建QuickBooks界面。

谢谢
vovan
>>I have a request from my client to develop a new application in VB2005. It
should use MDI design. The client wants it to look similar to Intuit
QuickBooks - Outlook like bar on the left side, child windows should
appear inside of MDI. Splitter allowing to change the width of the bar
should be there.
I tried to use Splitter control as well as SplitContainer Control.
I have Klik Resizer Control which works fine with resizing, but I cannot
make it work with child window when the Splitter is moved. I also coudn''t
find any way to place a child window when I use SplitContainer - there is
no empty space in MDI and child just doesn''t appear.
Any advice how to create QuickBooks interface.

Thank you
vovan




vovan写道:
vovan wrote:

我的客户请求在VB2005中开发新的应用程序。它应该使用MDI设计
。客户希望它看起来类似于Intuit

QuickBooks - 左侧是Outlook栏,子窗口应该出现在MDI里面的
。允许改变条宽度的拆分器应该是


I have a request from my client to develop a new application in VB2005. It
should use MDI design. The client wants it to look similar to Intuit
QuickBooks - Outlook like bar on the left side, child windows should appear
inside of MDI. Splitter allowing to change the width of the bar should be
there.



< snip>


如果我理解正确,你想停靠你的儿童窗户

在拆分容器中的面板内。我不知道这是否会与MDI儿童一起工作,但是可以轻松放置常规窗户

在面板内:


< aircode>

Private Sub Form_Load(...)处理MyBase.Load

Dim C1作为新的ChildForm


''这两个陈述的顺序

''*是*重要

C1.TopLevel = False

C1.Parent = SplitContainer2 .Panel1


C1.Dock = DockStyle.Fill

C1.Visible = True


Dim C2 As New ChildForm

C2.TopLevel = False

C2.Parent = SplitContainer2.Panel2

C2.Dock = DockStyle.Fill

C2.Visible = True

End Sub

< / aircode>


请记住删除你的标题儿童窗口首先=)))


HTH。


问候,


布兰科。

<snip>

If I understand you correctly, you want to dock your child windows
inside the panels in the split container. I don''t know if this would
work with MDI children, but regular windows can be easily placed
inside the panels:

<aircode>
Private Sub Form_Load(...) Handles MyBase.Load
Dim C1 As New ChildForm

''the order of these two statements
''*is* significant
C1.TopLevel = False
C1.Parent = SplitContainer2.Panel1

C1.Dock = DockStyle.Fill
C1.Visible = True

Dim C2 As New ChildForm
C2.TopLevel = False
C2.Parent = SplitContainer2.Panel2
C2.Dock = DockStyle.Fill
C2.Visible = True
End Sub
</aircode>

Just remember to remove the caption of your child windows first =)))

HTH.

Regards,

Branco.