Advertisement
deyanivanov966

Изпит Семестриален

Mar 7th, 2022
1,065
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.90 KB | None | 0 0
  1. using System.Drawing;
  2. protected void Button1_Click(object sender, EventArgs e)
  3.     {
  4.         if (CheckBox1.Checked) TextBox1.Text = TextBox2.Text;
  5.         else TextBox2.Text = TextBox1.Text;
  6.         //TextBox1.Text = TextBox2.Text;
  7.     }  
  8.  
  9.  
  10.  
  11. using System.Drawing;
  12. protected void Button2_Click(object sender, EventArgs e)
  13.     {
  14.       ListBox1.Items.Add("+");
  15.       ListBox1.Items.Add("-");
  16.       ListBox1.Items.Add("*");
  17.       ListBox1.Items.Add("/");
  18.       //ListBox1.Items.Add;
  19.       }
  20.       void ImageButton1_Click(object sender, ImageClickEventArgs e)
  21.       {
  22.        Image1.ImageUrl = "image" + ImageButton1.SelectedIndex + ".png";
  23.      ​}
  24.      
  25.      
  26.      
  27. using System.Drawing;
  28. protected void Button1_Click(object sender, EventArgs e)
  29.     {
  30.          TableRow r1 = new TableRow();
  31.         TableRow r2 = new TableRow();
  32.        
  33.         Table1.Rows.Add(r1);
  34.         Table1.Rows.Add(r2);
  35.  
  36.     }  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement