31 lines
654 B
C#
31 lines
654 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Test_VererbungUserControl
|
|
{
|
|
public partial class UserControl1 : UserControl
|
|
{
|
|
public UserControl1()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void HideAddButton()
|
|
{
|
|
this.buttonAdd.Visible = !this.buttonAdd.Visible;
|
|
}
|
|
|
|
public void HideRemoveButton()
|
|
{
|
|
this.buttonRemove.Visible = !this.buttonRemove.Visible;
|
|
}
|
|
}
|
|
}
|