C
C#6mo ago
odok4wa

usercontrols visible not visibles are not working

namespace JSPROYECTOBD
{
public partial class MainForm : Form
{
public tablasydatos tablasydatos;
public flujo flujo;
private bool dragging = false;
private Point dragCursorPoint;
private Point dragFormPoint;

public MainForm()
{
InitializeComponent();
tablasydatos = new tablasydatos();
flujo = new flujo();

this.Controls.Add(tablasydatos);
this.Controls.Add(flujo);
tablasydatos.Visible = true;
flujo.Visible = false;
}

private void tablasydatos1_Load(object sender, EventArgs e)
{

}


private void panel1_MouseUp(object sender, MouseEventArgs e)
{
dragging = false;
}

private void label1_Click(object sender, EventArgs e)
{Application.Exit();}
private void button1_Click(object sender, EventArgs e)
{
tablasydatos.Visible = true;
flujo.Visible = false;
}

private void flujogananciabtn_Click(object sender, EventArgs e)
{
flujo.Visible = true;
tablasydatos.Visible = false;
}}}
namespace JSPROYECTOBD
{
public partial class MainForm : Form
{
public tablasydatos tablasydatos;
public flujo flujo;
private bool dragging = false;
private Point dragCursorPoint;
private Point dragFormPoint;

public MainForm()
{
InitializeComponent();
tablasydatos = new tablasydatos();
flujo = new flujo();

this.Controls.Add(tablasydatos);
this.Controls.Add(flujo);
tablasydatos.Visible = true;
flujo.Visible = false;
}

private void tablasydatos1_Load(object sender, EventArgs e)
{

}


private void panel1_MouseUp(object sender, MouseEventArgs e)
{
dragging = false;
}

private void label1_Click(object sender, EventArgs e)
{Application.Exit();}
private void button1_Click(object sender, EventArgs e)
{
tablasydatos.Visible = true;
flujo.Visible = false;
}

private void flujogananciabtn_Click(object sender, EventArgs e)
{
flujo.Visible = true;
tablasydatos.Visible = false;
}}}
No description
1 Reply
odok4wa
odok4waOP6mo ago
i already rebuilt solution
Want results from more Discord servers?
Add your server