Esempio n. 1
0
        private void logout_button_Click(object sender, EventArgs e)
        {
            Login_Form g = new Login_Form();

            g.Show();
            this.Hide();
        }
Esempio n. 2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     first = new Login_Form();
     //    second = new Main_form();
     Application.Run(first);
     //   Application.Run(second);
 }
        public Registry_form()
        {
            InitializeComponent();
            login = Program.first;
            getSqlConnection getcon = new getSqlConnection();

            sqlcon = getcon.GetCon();
            toolTip1.SetToolTip(reg_id, "ÊäÈëÕ˺Å");
            toolTip1.SetToolTip(reg_password, "ÊäÈëÃÜÂë");
            toolTip1.SetToolTip(reg_password_again, "ÊäÈëÃÜÂë");
            toolTip1.SetToolTip(serial_reg_box, "ÊäÈëÐòÁкÅ");
            toolTip1.SetToolTip(registry_button, "µã»÷×¢²á");
        }