示例#1
0
 private void lnkSettings_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     frmSettings frm = new frmSettings();
     frm.ShowDialog(this);
     GetSettings();
 }
示例#2
0
 private void mnutSettings_Click(object sender, EventArgs e)
 {
     frmSettings frm = new frmSettings();
     SwitchMenuItems(false);
     frm.StartPosition = FormStartPosition.CenterScreen;
     frm.ShowInTaskbar = true;
     frm.ShowDialog();
     SwitchMenuItems(true);
 }