English 中文(简体)
• 如何在底部契约框架内展示ok子?
原标题:How to display ok button at bottom in .net compact framework?

我正在C#中开发移动应用。 在我的申请中,我使用了以下代码显示电文箱,但 but子在右上角展示。 我想在底层展示ok子。 这是我的法典。

MessageBox.Show("Records successfully inserted","Customer Entry",MessageBoxButtons.OK,MessageBoxIcon.None,MessageBoxDefaultButton.Button1);

我的法典中是否有任何错误? 或者我是否需要做不同的事情? 请让我提供我能够解决上述问题的任何守则或联系?

最佳回答

紧凑框架内的标准电文B行为是,在最右角显示Kutton(除非,我认为,你正在视窗6.5.x上,在这种情况下,它将在底层展示)。

我在底部看到“去除”,唯一的方式是创建一种形式,而不是使用电文。 这意味着创建一种习俗信息Box类。

问题回答

这是完全不赞成的。 尤其是当在小屏幕上工作时,把科索沃放在最右边是很难。

因为你只是想介绍科索沃纽芬兰语,所以建议使用<代码>MessageBox.OKCancel,而只是将任何纽芬兰语作为科索沃语。 除科索沃外,其他东西将显示底线。

MessageBox.Show("Records successfully inserted","Customer Entry",MessageBoxButtons.OKCancel,MessageBoxIcon.None,MessageBoxDefaultButton.Button1);




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签