问题描述
我要尝试在其中创建一个应用程序,我必须这样做,我必须控制我不知道该假定为"X",我应该采取什么措施.因此,如果我单击"X"控件,则其颜色应为绿色,然后再次单击同一工具,其颜色应为红色.
所以请告诉我应该使用哪种工具,如何解决此问题.
例如.假设它们是一个很小的殖民地建筑,那里是扁平的,现在我们必须在点击时对其进行预订,当我们单击扁平时,它的颜色应该是绿色的,而当我们再次单击时,它的颜色变成红色.该公寓意味着您的公寓已售出.从另一个人看到其他颜色后,应将其显示为黑色,这表示其不可用.在按照以下步骤操作之后,我必须将其连接到我的数据库.
iam try to make an application in which , i have to do that i have to take a control i don''t know what i should taken let it assumed that ''X''. so if i take ''X'' control on click that its color should be green and again click on same tool its color should be red.
so plz tell me what tool should i use , how can i solve this problem.
eg. suppose their is a small architecture of colony in which their is flat are there, now we have to book them on click, when we click on flat its color should be green its me its booked, when the again we click the color become red of that flat its mean thee flat is sold. after another person from other see its color should been seen black its means that its not available. after by following steps then i have to connect this to my database. in which we can see which flat is booked, sold, or vacant.
推荐答案
这篇关于我为此应用程序使用了哪种工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!