Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Net;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using MetroFramework;
- namespace PyCharm
- {
- public partial class Form2 : MetroFramework.Forms.MetroForm
- {
- public Form2()
- {
- InitializeComponent();
- metroTabControl1.SelectedTab = metroTabPage1;
- }
- private void metroTile1_Click(object sender, EventArgs e)
- {
- Hide();
- FormAuthorization frm = new FormAuthorization();
- frm.Show();
- }
- private void metroTile2_Click(object sender, EventArgs e)
- {
- metroTabControl1.SelectedTab = metroTabPage2;
- metroTabPage2.Enabled = true;
- webBrowser1.Visible = true;
- metroLabel1.Visible = false;
- }
- private void Form2_Load(object sender, EventArgs e)
- {
- webBrowser1.Navigate("https://pythonworld.ru/samouchitel-python");
- webBrowser1.ScriptErrorsSuppressed = true;
- webBrowser1.Visible = false;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement