Z
ZekeIsDed
Guest
How do i make button2 show when i click on accept on the message box?
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 project_1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
button2.Visible = false;
MessageBox.Show("Aca se muestran los dias para febrero");
if (Button.Ok)
this.Close();
}
private void Button3_Click(object sender, EventArgs e)
{
MessageBox.Show("Aca se muestran los dias para marzo");
}
}
}
Continue reading...
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 project_1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
button2.Visible = false;
MessageBox.Show("Aca se muestran los dias para febrero");
if (Button.Ok)
this.Close();
}
private void Button3_Click(object sender, EventArgs e)
{
MessageBox.Show("Aca se muestran los dias para marzo");
}
}
}
Continue reading...