// 标识是否是展开状态
bool isExtend = true;
// 定义可以扩展的宽度
const int PanelWidth = 444;
private void expandableSplitter1_Click(object sender, EventArgs e)
{
if (isExtend)
{
this.Width -= 444;
isExtend = false;
}
else
{
this.Width += 444;
isExtend = true;
}
}

相关文章:

  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案