DepartmentProject/DepartmentPortal/DepartmentPortalDesctop/FormMain.cs

22 lines
514 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace DepartmentPortalDesctop
{
public partial class FormMain : Form
{
private Dictionary<Guid, Control> controls;
public FormMain()
{
InitializeComponent();
controls = new Dictionary<Guid, Control>();
}
private void ButtonShowHideControlList_Click(object sender, EventArgs e)
{
ButtonShowHideControlList.Text = panelControls.Visible ? ">" : "<";
panelControls.Visible = !panelControls.Visible;
}
}
}