private void ButtonMeetingSetting_Click(object sender, EventArgs e)
{
Form_MeetingInfoSettings.GetIsOpen().Show();
//實現窗口顯示
Form_MeetingInfoSettings.GetIsOpen().WindowState = FormWindowState.Normal;
//實現窗口回到最頂層
Form_MeetingInfoSettings.GetIsOpen().TopMost = true;
Form_MeetingInfoSettings.GetIsOpen().TopMost = false;
}
private static Form_MeetingInfoSettings form_MeetingInfoSettings = new Form_MeetingInfoSettings();
public static Form_MeetingInfoSettings GetIsOpen()
{
if (form_MeetingInfoSettings.IsDisposed)
{
form_MeetingInfoSettings = new Form_MeetingInfoSettings();
return form_MeetingInfoSettings;
}
else
{
return form_MeetingInfoSettings;
}
}