Exemplo n.º 1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            mainform main = new mainform();

            this.Hide();
            main.ShowDialog();
            this.Close();
        }
        private void lnkClose_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            mainform main = new mainform();

            this.Hide();
            main.ShowDialog();
            this.Close();
        }
Exemplo n.º 3
0
 private void btnBack_Click(object sender, EventArgs e)
 {
     if (formtype == "Main")
     {
         mainform main = new mainform();
         this.Hide();
         main.ShowDialog();
         this.Close();
     }
     else
     {
         this.Hide();
         this.Close();
     }
 }