Example #1
0
 private void bOptions_Click(object sender, EventArgs e)
 {
     using (FrmSettings frm = new FrmSettings()) {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             Options.Instance.DefaultProject = frm.DefProjLoc;
         }
     }
 }
Example #2
0
		private void bOptions_Click(object sender, EventArgs e) {
			using (FrmSettings frm = new FrmSettings()) {
				if (frm.ShowDialog() == DialogResult.OK) {
					Options.Instance.DefaultProject = frm.DefProjLoc;
				}
			}
		}