O’ZBEKISTON RESPUBLIKASI OLIY VA O’RTA
MAXSUS TA’LIM VAZIRLIGI
MIRZO ULUG’BEK NOMIDAGI O’ZBEKISTON
MILLIY UNIVERSITETI JIZZAX FILIALI
“AMALIY MATEMATIKA”FAKULTETI
“Axborot tizimlari va texnologiyalari ” yo’nalishi
21_21-guruh talabasi Ravshanov Elyorning
Algaritmik tillar va dasturlash fanidan
3
- A
maliy topshirig’i
Jizzax-2023
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Algo3Modul
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
//1
private void Form1_LocationChanged(object sender, EventArgs e)
{
this.Width = 1000;
this.Height = 700;
}
//2
private void richTextBox1_CursorChanged(object sender, EventArgs e)
{
Cursor.Current = Cursors.Hand;
}
//3
private void richTextBox1_MouseHover(object sender, EventArgs e)
{
label1.Text = "MouseHover";
}
//4
private void pictureBox1_MouseHover(object sender, EventArgs e)
{
pictureBox1.BackColor = Color.Blue;
}
//5
private void monthCalendar1_DockChanged(object sender, EventArgs e)
{
monthCalendar1.Dock= DockStyle.Right;
}
//5
private void Form1_Load(object sender, EventArgs e)
{
monthCalendar1.Dock = DockStyle.Right;
}
//6
private void menuStrip1_MouseDoubleClick(object sender, MouseEventArgs e)
{
label2.Text = "menuStrip1_MouseDoubleClick";
}
//7
private void textBox1_KeyUp(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
MessageBox.Show("Enter Key Released");
}
}
//8
private void webBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e)
{
label3.Text = "loaded";
}
private void webBrowser1_Navigating(object sender, WebBrowserNavigatingEventArgs e)
{
label3.Text = "loading";
}
private void button1_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(textBox1.Text);
}
}
}
|