База ответов ИНТУИТ

Практикум прикладного программирования на C# в среде VS.NET 2005

<<- Назад к вопросам

Код интерфейсной части будет:

(Отметьте один правильный вариант ответа.)

Варианты ответа
<asp:Label ID="Label1" runat="server" Height="19px" Text="Имя:" Width="54px"></asp:Label><asp:TextBox ID="Name" runat="server" AutoPostBack="True" BorderStyle="Dotted" Height="33px"     MaxLength="35" Width="200px"<>/asp:TextBox>    
(Верный ответ)
<asp:Label ID="Label2" runat="server">Адрес:</asp:Label>      <asp:TextBox ID="Address" runat="server" AutoPostBack="True"            BackColor="Blue" Font-Bold="True" ForeColor="Yellow"           Height="50px" TextMode="MultiLine"            OnTextChanged="Name_TextChanged" />    
<asp:Button ID="Button" runat="server" Text="Submit Information"           ToolTip="Показать сообщение"          OnClick="Button_Click" />    
Похожие вопросы
Код интерфейсной части будет:
Код интерфейсной части будет:
Какой код, из ниже перечисленных, соответсвует изображению:
Какой код программы, из ниже перечисленных, соответствует изображению:
Какие классы не относятся к подключаемой части ADO.NET?
Какие классы относятся к подключаемой части ADO.NET?
Какой метод должен публиковаться в качестве составной части веб-службы XML?
Какой результат будет соответсвовать коду приведенному ниже:
protected override void DoPage(Graphics graphics, Color color, int cx, int cy)  {     graphics.DrawEllipse(Pens.Red, 0, 0, cx - 1, cy - 1);   }
Какой результат будет соответсвовать коду приведенному ниже:
protected override void DoPage(Graphics graphics, Color color, int cx, int cy)   {     Point[] apoint = {      new Point(cx / 4, 3 * cy / 4),         new Point(cx / 4, cy / 2),         new Point(cx / 2, cy / 4),         new Point(3 * cx / 4, cy / 2),         new Point(3 * cx / 4, 3 * cy / 4),         new Point(cx / 4, cy / 2),         new Point(3 * cx / 4, cy / 2),         new Point(cx / 4, 3 * cy / 4),         new Point(3 * cx / 4, 3 * cy / 4),			 };	graphics.DrawLines(new Pen(color), apoint);  }
Какой результат будет соответсвовать коду приведенному ниже:
protected override void DoPage(Graphics graphics, Color color, int cx, int cy)    {    	const int iNumRevs = 10;    	int iNumPoints = iNumRevs * 2 * (cx + cy);    	PointF[] apointf = new PointF[iNumPoints];    	double rAngle, rScale;    	for(int i = 0; i < iNumPoints; i++)    		{    			rAngle =  iNumRevs * i * 2 * Math.PI / iNumPoints;    			rScale = 1 - i / Convert.ToDouble(iNumPoints);    			apointf[i].X = (float)(Convert.ToDouble(cx) / 2 * (1 + rScale * Math.Cos(rAngle)));    			apointf[i].Y = (float)(Convert.ToDouble(cy) / 2 * (1 + rScale * Math.Sin(rAngle)));    		}    	graphics.DrawLines(new Pen(color), apointf);    }