コード例 #1
0
ファイル: MapDrawingOption.cs プロジェクト: mikhp/greatmaps
		public MapDrawingOption(InvalidatableViewIfc map, ToolStripMenuItem menuItem, bool default_value)
		{
			this.map = map;
			this.menuItem = menuItem;
			this.enabled = default_value;
			if (this.menuItem != null)
			{
				this.menuItem.Checked = this.enabled;
				this.menuItem.Click += new EventHandler(this.menuItem_Click);
			}
		}
コード例 #2
0
 public MapDrawingOption(InvalidatableViewIfc map, ToolStripMenuItem menuItem, bool default_value)
 {
     this.map      = map;
     this.menuItem = menuItem;
     this.enabled  = default_value;
     if (this.menuItem != null)
     {
         this.menuItem.Checked = this.enabled;
         this.menuItem.Click  += new EventHandler(this.menuItem_Click);
     }
 }
コード例 #3
0
ファイル: MapDrawingOption.cs プロジェクト: mikhp/greatmaps
		public void SetInvalidatableView(InvalidatableViewIfc map)
		{
			this.map = map;
		}
コード例 #4
0
 public void SetInvalidatableView(InvalidatableViewIfc map)
 {
     this.map = map;
 }