public MiniMap(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); this.pbMiniMap.Image = new Bitmap(100, 100); this.pbMiniMap.SizeMode = PictureBoxSizeMode.StretchImage; }
public StateHierarchyTool(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); this.pbStateHierarchy.SizeMode = PictureBoxSizeMode.StretchImage; this.init(this.pbStateHierarchy, StateHierarchy.DEF_SHT_WIDTH, StateHierarchy.DEF_SHT_HEIGHT); this.isStartMove = false; this.tsbClear.Tag = StateMatrixAction.CLEARALLSTATE; this.ToolInfo = "Use right click to edit states."; }
public GeneralToolWindow(MDIParent parentForm, ToolStripMenuItem menuItem) { InitializeComponent(); this.parentForm = parentForm; this.menuItem = menuItem; this.updateCulture(); CultureHelper.getInstance().changeCulture += new CultureHandler(updateCulture); this.ttsmO100.Tag = 1.0; this.ttsmO80.Tag = 0.8; this.ttsmO60.Tag = 0.6; this.ttsmO40.Tag = 0.4; this.ttsmO20.Tag = 0.2; }
public NeighborhoodMatrix(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); this.pbMinusWeight.SizeMode = PictureBoxSizeMode.StretchImage; this.pbPlusWeight.SizeMode = PictureBoxSizeMode.StretchImage; this.pbNeighborhoodMatrix.SizeMode = PictureBoxSizeMode.StretchImage; this.initNeighborhoodMatrix(StateHierarchy.DEF_SHT_WIDTH, StateHierarchy.DEF_SHT_HEIGHT); this.tpMinusWeight.Tag = this.pbMinusWeight; this.tpPlusWeight.Tag = this.pbPlusWeight; this.tpNeighborhoodMatrix.Tag = this.pbNeighborhoodMatrix; }
public StateMatrix(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); this.width = 300; this.height = 200; this.pbStateMatrix.Image = new Bitmap(this.width, this.height); this.pbStateMatrix.SizeMode = PictureBoxSizeMode.StretchImage; this.calculateStrech(this.pbStateMatrix); this.tsbFire.Tag = StateMatrixAction.FIRE; this.tsbAutoFire.Tag = StateMatrixAction.AUTOFIRE; this.tsbStop.Tag = StateMatrixAction.STOPAUTOFIRE; this.tsbClear.Tag = StateMatrixAction.CLEAR; this.tsbStop.Enabled = false; }
public PetriPalette(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); bClear.Tag = NetworkToolboxAction.CLEAR; bSelectAll.Tag = NetworkToolboxAction.SELECTALL; bClearSelection.Tag = NetworkToolboxAction.CLEARSELECTION; bReverseSelection.Tag = NetworkToolboxAction.REVERSESELECTION; bDeleteSelected.Tag = NetworkToolboxAction.DELETESELECTED; rbSelect.Tag = NetworkToolboxItem.SELECT; rbSingleSelect.Tag = NetworkToolboxItem.SINGLESELECT; rbSelectEdge.Tag = NetworkToolboxItem.SELECTEDGE; rbMove.Tag = NetworkToolboxItem.MOVE; rbDelete.Tag = NetworkToolboxItem.DELETE; rbPosition.Tag = NetworkToolboxItem.POSITION; rbTransition.Tag = NetworkToolboxItem.TRANSITION; rbEdge.Tag = NetworkToolboxItem.EDGE; rbToken.Tag = NetworkToolboxItem.TOKEN; rbDeleteToken.Tag = NetworkToolboxItem.DELETETOKEN; rbNote.Tag = NetworkToolboxItem.NOTE; }
public StatisticsTool(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); this.clear(); }
public TransitionHistory(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); this.clear(); }
public PetriEventList(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { InitializeComponent(); this.clear(); }
public GeneralPictureToolWindow(MDIParent parentForm, ToolStripMenuItem menuItem) : base(parentForm, menuItem) { // }