Example #1
0
		} /*btnGiveFeedBack_Click*/

		public void tsLoad_Mousedown(object sender, MouseEventArgs e) {
			ToolStripItem ts = sender as ToolStripMenuItem;
			if (e.Button == MouseButtons.Right) {
				if (ts != null) SgList.remove((int)ts.Tag);
				SClass.serializeSavedGames(this);
			} else {
				if (ts != null) Mastermind = SgList.load((int)ts.Tag, this);
				CtrlController.removeAllControls();
				CtrlController.drawFrm();
			}
		} /*tsLoad_Mousedown*/
Example #2
0
		} /*toolStripNew_Click*/

		private void toolStripSave_Click(object sender, EventArgs e) {
			SgList.add(this);
			SClass.serializeSavedGames(this);
		} /*toolStripSave_Click*/