You must Sign In to post a response.
  • Category: ASP.NET

    This code snippet will guide you for opening other forms from present.

    using System;
    usingSystem.Collections.Generic;
    usingSystem.ComponentModel;
    usingSystem.Data;
    usingSystem.Drawing;
    usingSystem.Linq;
    usingSystem.Text;
    usingSystem.Windows.Forms;
    namespacestudentproject
    {
    publicpartialclassForm2 : Form
    {
    public Form2()
    {
    InitializeComponent();
    }
    privatevoidcourseToolStripMenuItem_Click(object sender, EventArgs e)
    {
    frmcourse c = newfrmcourse();
    c.Show();
    }
    privatevoidstudentToolStripMenuItem_Click(object sender, EventArgs e)
    {
    frmstudent s = newfrmstudent();
    s.Show();
    }
    privatevoidreportToolStripMenuItem_Click(object sender, EventArgs e)
    {
    frmreportfm = newfrmreport();
    fm.Show();
    }
    }
    }
  • #762400
    Hi Dhanush,

    I request you to please post the same in Article section, this is not a correct place to post your articles.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #762421
    Hi

    You can go to Resource- (Article) Section Url this

    http://www.dotnetspider.com/resources/

    Article need more explanation and Description more.

    So you can post Code snippets following url



    http://www.dotnetspider.com/resources/Category5005-Code-Snippets.aspx


    Name : Dotnet Developer-2015
    Email Id :kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.


This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.