厨房视频系统项目 [英] Kitchen Video System project

查看:88
本文介绍了厨房视频系统项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在问一些关于我想写的项目的问题。



简单来说,它是一个厨房视频系统。



表格分为可用空间。当通过串行或TCP / IP接收信息时,将显示该信息。显示信息时,它从左向右。您可以删除其中一条信息以打开空间以获取其他信息,但当前信息必须保留在当前位置。



我选择了文本框显示,因为我认为这将是收到文本后最简单的文本操作方式。



我还选择了flowlayoutpanel来进行控件添加。我有从左到右的文本框,这是完美的,但是当我想删除文本框时,当删除现有文本框时,下一个文本框(如果它适合)应该出现在第一个开放空间中。目前,当文本框被删除时,文本框全部向下移动一个位置。



我也希望能够在这些文本框上执行功能,例如删除textbox(我有一个工作:))将文本保存到将来的任何其他文件中。

我在文本框中将所有这些事件编程为mouse_events。



与打印作业一起显示的每个控件都有我已编程的事件。



我很很高兴把源代码放在我正在做的事情上,或者我现在所拥有的。



我是编程新手,所以我努力工作试着解释一下我想要实现的目标。



我有很多人告诉我不同​​的做事方式(我真的很感激),但我不知道他们的意思。

I've been asking lots of questions lately in relation to a project I am trying to write.

In simple terms it is a kitchen video system.

The form is divided into available space. When information is received via either Serial or TCP/IP this is then displayed. When info is displayed it goes left to right. You can remove one of these pieces of information to open space up for another bit of information, but the current information must stay in it's current position.

I have chosen a textbox to display as I thought this would be the easiest way for manipulation of the text after it has been received.

I've also chosen the flowlayoutpanel for control adding. I've got the textboxes coming in left to right which is perfect, but as I want to remove textboxes, when an existing textbox is removed, the next textbox (If it fits) should appear in the first open space. At the moment, when a textbox is removed, the textboxes all shift down one spot.

I also want to be able to perform functions on those textboxes aswell such as remove textbox (I've got that one working :)) save text to file amongst anything else in the future.
I've got all of those events programmed as mouse_events on the textbox.

Every control that is displayed with the print job has events, which I have already programmed.

I'm quite happy to put the source code up for what I am doing, or what I currently have anyway.

I'm new to programming, so I am trying my hardest to try and explain what I am trying to achieve.

I've had a lot of people tell me different ways to do things (Which I really appreciate) but I have no idea what they mean.

推荐答案

在flowlayoutpanel中插入文本框时,应设置文本框属性:Flowbreak = True,以便文本框不会移动。
When you insert a textbox in flowlayoutpanel you should set the textbox properties : Flowbreak = True so that your text box will not move.


这篇关于厨房视频系统项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆