Skip to main content
appended answer 289640 as supplemental
Fonte Link
Math
  • 31,3mil
  • 15
  • 95
  • 132

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 Market
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            Calculadora_Panel.Visible = true;
            panel3.Visible = false;
            panel4.Visible = false;
            InitializeComponent();

        }

    private void button1_Click(object sender, EventArgs e)
    {
        Form2 Calculadora = new Form2();
        Calculadora.Show();
        Calculadora_Panel.Visible = true;
        panel3.Visible = false;
        panel4.Visible = false;
    }

    private void button2_Click(object sender, EventArgs e)
    {
        Form3 PLista = new Form3();
        PLista.Show();
        Calculadora_Panel.Visible = false;
        panel3.Visible = true;
        panel4.Visible = false;
    }

    private void button3_Click(object sender, EventArgs e)
    {
        Calculadora_Panel.Visible = false;
        panel3.Visible = false;
        panel4.Visible = true;
    }

    private void button4_Click(object sender, EventArgs e)
    {
        this.Close();
    }

    private void Form1_Load(object sender, EventArgs e)
    {

    }
    void otherForm_FormClosed(object sender, FormClosedEventArgs e)
    {
        this.Show();
    }

    private void About_buttom_Click(object sender, EventArgs e)
    {
        AboutBox1 About = new AboutBox1();
        About.Show();
    }

    private void button1_Click_1(object sender, EventArgs e)
    {

    }
}

}


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 Market
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            Calculadora_Panel.Visible = true;
            panel3.Visible = false;
            panel4.Visible = false;
            InitializeComponent();

        }

    private void button1_Click(object sender, EventArgs e)
    {
        Form2 Calculadora = new Form2();
        Calculadora.Show();
        Calculadora_Panel.Visible = true;
        panel3.Visible = false;
        panel4.Visible = false;
    }

    private void button2_Click(object sender, EventArgs e)
    {
        Form3 PLista = new Form3();
        PLista.Show();
        Calculadora_Panel.Visible = false;
        panel3.Visible = true;
        panel4.Visible = false;
    }

    private void button3_Click(object sender, EventArgs e)
    {
        Calculadora_Panel.Visible = false;
        panel3.Visible = false;
        panel4.Visible = true;
    }

    private void button4_Click(object sender, EventArgs e)
    {
        this.Close();
    }

    private void Form1_Load(object sender, EventArgs e)
    {

    }
    void otherForm_FormClosed(object sender, FormClosedEventArgs e)
    {
        this.Show();
    }

    private void About_buttom_Click(object sender, EventArgs e)
    {
        AboutBox1 About = new AboutBox1();
        About.Show();
    }

    private void button1_Click_1(object sender, EventArgs e)
    {

    }
}

}

adicionou 69 caracteres ao conteúdo
Fonte Link
Caique Romero
  • 7,2mil
  • 2
  • 24
  • 51

Galera me ajudem!!!

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 Market { public partial class Form1 : Form { public Form1() { Calculadora_Panel.Visible = true; panel3.Visible = false; panel4.Visible = false; InitializeComponent();

}

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 Market
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            Calculadora_Panel.Visible = true;
            panel3.Visible = false;
            panel4.Visible = false;
            InitializeComponent();

}

Galera me ajudem!!!

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 Market { public partial class Form1 : Form { public Form1() { Calculadora_Panel.Visible = true; panel3.Visible = false; panel4.Visible = false; InitializeComponent();

}

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 Market
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            Calculadora_Panel.Visible = true;
            panel3.Visible = false;
            panel4.Visible = false;
            InitializeComponent();

}
Fonte Link

System.NullReferenceException: 'Referência de objeto não definida para uma instância de um objeto.'

Galera me ajudem!!!

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 Market { public partial class Form1 : Form { public Form1() { Calculadora_Panel.Visible = true; panel3.Visible = false; panel4.Visible = false; InitializeComponent();

}