private void ExcelWindow_VisibleChanged(object sender, EventArgs e)
{
if (this.Visible == true)
{
axFramerControl.Activate();
axFramerControl.InvokeEditMode();
axFramerControl.Refresh();
}
else
{
axFramerControl.Invalidate();
}
}
{
if (this.Visible == true)
{
axFramerControl.Activate();
axFramerControl.InvokeEditMode();
axFramerControl.Refresh();
}
else
{
axFramerControl.Invalidate();
}
}
本文探讨了在特定情况下如何响应Excel窗口可见性变化事件,包括激活、编辑模式和刷新操作,确保应用在不同状态下的正常运行。
7235

被折叠的 条评论
为什么被折叠?



