public MainWindow() { this.InitializeComponent(); Closed += new System.EventHandler(MainWindow_Closed); taskPanel.MouseLeave += new MouseEventHandler(taskList_MouseLeave); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); tmrApp = new System.Windows.Forms.Timer(components) { Interval = 2, Enabled = true }; SuspendLayout(); // // tmrApp // tmrApp.Tick += new System.EventHandler(tmrApp_Tick); // // Maze_Form // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; BackColor = System.Drawing.Color.FromArgb(31,31,31); ClientSize = new System.Drawing.Size(484, 461); DoubleBuffered = true; KeyPreview = true; Name = "MazeForm"; Text = "Maze AI"; Load += new System.EventHandler(Form1_Load); Paint += new System.Windows.Forms.PaintEventHandler(Form1_Paint); KeyDown += new System.Windows.Forms.KeyEventHandler(Form1_KeyDown); MouseClick += new System.Windows.Forms.MouseEventHandler(Form1_LeftClick); MouseMove += new System.Windows.Forms.MouseEventHandler(Form1_MouseMove); Resize += new System.EventHandler(Form1_Resize); Shown += new System.EventHandler(OnShow); ResumeLayout(false); }
public SubFrame(JsonObject jsonSchedule) : base() { JsonObjectCollection col = (JsonObjectCollection)jsonSchedule; //string jsonstr = col.ToString(); int xPos = int.Parse(col["xPos"].GetValue().ToString()); int yPos = int.Parse(col["yPos"].GetValue().ToString()); int hLen = int.Parse(col["hLen"].GetValue().ToString()); int vLen = int.Parse(col["vLen"].GetValue().ToString()); string media = (string)col["fileName"].GetValue(); int volum = int.Parse(col["volume"].GetValue().ToString()); BackColor = System.Drawing.Color.Black; Location = new System.Drawing.Point(xPos,yPos); Name = "NDS20 Player"; Size = new System.Drawing.Size(hLen, vLen); TabIndex = 0; Text = "NDSPlayerControl"; VlcLibDirectory = null; VlcLibDirectoryNeeded += new System.EventHandler<Vlc.DotNet.Forms.VlcLibDirectoryNeededEventArgs> (this.OnVlcControlNeedLibDirectory); SetMedia(new FileInfo(@media)); // Audio.Volume = 10; Rate = 2.0f; }
public ResultsView(ResultsViewModel viewModel) { DataContext = viewModel; this.viewModel = viewModel; InitializeComponent(); IsActiveContentChanged += new System.EventHandler(ResultsView_IsActiveContentChanged); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Name = "SettingsPage"; Text = "Settings"; Load += new System.EventHandler(SettingsPage_Load); Resize += new System.EventHandler(SettingsPage_Resize); }
internal Chat() : base(_keyBase, string.Empty) { InitializeComponent(); _multi.MultiWinContainerProvider = Middle.Chat.Instance; Activated += new System.EventHandler(Chat_Activated); Closed += new System.EventHandler(Chat_Closed); }
public ntfGroupNotice(RadegastInstance instance, InstantMessage msg) : base(NotificationType.GroupNotice) { InitializeComponent(); Disposed += new System.EventHandler(ntfGroupNotice_Disposed); this.instance = instance; this.msg = msg; client.Groups.GroupProfile += new System.EventHandler<GroupProfileEventArgs>(Groups_GroupProfile); if (msg.BinaryBucket.Length > 18 && msg.BinaryBucket[0] != 0) { type = (AssetType)msg.BinaryBucket[1]; destinationFolderID = client.Inventory.FindFolderForType(type); int icoIndx = InventoryConsole.GetItemImageIndex(type.ToString().ToLower()); if (icoIndx >= 0) { icnItem.Image = frmMain.ResourceImages.Images[icoIndx]; icnItem.Visible = true; } txtItemName.Text = Utils.BytesToString(msg.BinaryBucket, 18, msg.BinaryBucket.Length - 19); btnSave.Enabled = true; btnSave.Visible = icnItem.Visible = txtItemName.Visible = true; } if (msg.BinaryBucket.Length >= 18) { groupID = new UUID(msg.BinaryBucket, 2); } else { groupID = msg.FromAgentID; } int pos = msg.Message.IndexOf('|'); string title = msg.Message.Substring(0, pos); lblTitle.Text = title; string text = msg.Message.Replace("\n", System.Environment.NewLine); text = text.Remove(0, pos + 1); lblSentBy.Text = string.Format("Sent by {0}", msg.FromAgentName); txtNotice.Text = text; if (instance.Groups.ContainsKey(groupID)) { group = instance.Groups[groupID]; ShowNotice(); } else { client.Groups.RequestGroupProfile(groupID); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MakeMonitor)); SuspendLayout(); // // MakeMonitor // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; ClientSize = new System.Drawing.Size(284, 262); Icon = ((System.Drawing.Icon)(resources.GetObject("$Icon"))); Name = "MakeMonitor"; Text = "Make Monitor"; Load += new System.EventHandler(MakeMonitor_Load); Resize += new System.EventHandler(MakeMonitor_Resize); ResumeLayout(false); }
public frmGroupInfo(RadegastInstance instance, Group group) : base(instance) { InitializeComponent(); Disposed += new System.EventHandler(frmGroupInfo_Disposed); AutoSavePosition = true; this.instance = instance; this.Group = group; GroupDetails = new GroupDetails(instance, group); GroupDetails.Dock = DockStyle.Fill; ClientSize = new Size(GroupDetails.Width, GroupDetails.Height); MinimumSize = Size; Controls.Add(GroupDetails); Text = group.Name + " - Group information"; instance.Netcom.ClientDisconnected += new System.EventHandler<DisconnectedEventArgs>(Netcom_ClientDisconnected); }
public Dialog(Window top, ICommandDialog child) { //This is necessary because on startup we won't have shown the parent window yet. Just set the parent to null. Owner = top.IsVisible ? top : null; ResizeMode = ResizeMode.CanResizeWithGrip; SizeToContent = SizeToContent.WidthAndHeight; //WindowStartupLocation = Owner == null ? System.Windows.WindowStartupLocation.CenterScreen : WindowStartupLocation.CenterOwner; WindowStartupLocation = WindowStartupLocation.Manual; SetResourceReference(BackgroundProperty, "WindowBackgroundBrush"); ShowInTaskbar = false; Title = child.Title; Content = child; this.SetValue(Panel.ZIndexProperty, 1000); Closed += new System.EventHandler(Dialog_Closed); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); toolTip1 = new System.Windows.Forms.ToolTip(this.components); SuspendLayout(); // // QuickMouseMenuUC // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; BackColor = System.Drawing.SystemColors.ActiveCaption; ClientSize = new System.Drawing.Size(184, 164); FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; Name = "QuickMouseMenuUC"; ShowInTaskbar = false; StartPosition = System.Windows.Forms.FormStartPosition.Manual; TopMost = true; TransparencyKey = System.Drawing.SystemColors.ActiveCaption; MouseLeave += new System.EventHandler(this.QuickMouseMenuUC_MouseLeave); ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { txtSiteMapUrl = new System.Windows.Forms.TextBox(); lblSiteMapUrl = new System.Windows.Forms.Label(); SuspendLayout(); // // txtSiteMapUrl // txtSiteMapUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtSiteMapUrl.Location = new System.Drawing.Point(210, 3); txtSiteMapUrl.Name = "txtSiteMapUrl"; txtSiteMapUrl.Size = new System.Drawing.Size(280, 22); txtSiteMapUrl.TabIndex = 8; // // lblSiteMapUrl // lblSiteMapUrl.AutoSize = true; lblSiteMapUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblSiteMapUrl.Location = new System.Drawing.Point(3, 6); lblSiteMapUrl.Name = "lblSiteMapUrl"; lblSiteMapUrl.Size = new System.Drawing.Size(22, 13); lblSiteMapUrl.TabIndex = 7; lblSiteMapUrl.Text = "Url"; // // SiteMapControl // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Controls.Add(txtSiteMapUrl); Controls.Add(lblSiteMapUrl); Name = "SiteMapControl"; Size = new System.Drawing.Size(500, 400); Leave += new System.EventHandler(SiteMapControl_Leave); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.TransformationChanged -= handler; }
public DettachableControl() : base() { SizeChanged += new System.EventHandler(DettachableControl_SizeChanged); }
public void SwitchClickListenerTo(System.EventHandler <Vector3> handler) { OnClick = handler; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { chkAreaShowGroups = new System.Windows.Forms.CheckBox(); txtAreaId = new System.Windows.Forms.TextBox(); txtAreaUrl = new System.Windows.Forms.TextBox(); txtAreaIcon = new System.Windows.Forms.TextBox(); lblAreaId = new System.Windows.Forms.Label(); lblAreaUrl = new System.Windows.Forms.Label(); lblAreaShowGroups = new System.Windows.Forms.Label(); lblAreaIcon = new System.Windows.Forms.Label(); txtAreaResourceId = new System.Windows.Forms.TextBox(); txtAreaDescriptionResourceId = new System.Windows.Forms.TextBox(); lblAreaResourceId = new System.Windows.Forms.Label(); lblAreaDescriptionResourceId = new System.Windows.Forms.Label(); lblRequired = new System.Windows.Forms.Label(); btnBrowsIcon = new System.Windows.Forms.Button(); buttonBrowseUrl = new System.Windows.Forms.Button(); label1 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label(); txtAreaTitle = new System.Windows.Forms.TextBox(); txtAreaDescription = new System.Windows.Forms.TextBox(); panel1 = new System.Windows.Forms.Panel(); SuspendLayout(); // // chkAreaShowGroups // chkAreaShowGroups.AutoSize = true; chkAreaShowGroups.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); chkAreaShowGroups.Location = new System.Drawing.Point(211, 83); chkAreaShowGroups.Name = "chkAreaShowGroups"; chkAreaShowGroups.Size = new System.Drawing.Size(15, 14); chkAreaShowGroups.TabIndex = 15; chkAreaShowGroups.UseVisualStyleBackColor = true; // // txtAreaId // txtAreaId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaId.Location = new System.Drawing.Point(210, 3); txtAreaId.Name = "txtAreaId"; txtAreaId.Size = new System.Drawing.Size(280, 22); txtAreaId.TabIndex = 14; // // txtAreaUrl // txtAreaUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaUrl.Location = new System.Drawing.Point(210, 55); txtAreaUrl.Name = "txtAreaUrl"; txtAreaUrl.Size = new System.Drawing.Size(234, 22); txtAreaUrl.TabIndex = 13; // // txtAreaIcon // txtAreaIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaIcon.Location = new System.Drawing.Point(210, 29); txtAreaIcon.Name = "txtAreaIcon"; txtAreaIcon.Size = new System.Drawing.Size(234, 22); txtAreaIcon.TabIndex = 12; // // lblAreaId // lblAreaId.AutoSize = true; lblAreaId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaId.ForeColor = System.Drawing.Color.Black; lblAreaId.Location = new System.Drawing.Point(3, 6); lblAreaId.Name = "lblAreaId"; lblAreaId.Size = new System.Drawing.Size(17, 13); lblAreaId.TabIndex = 11; lblAreaId.Text = "Id"; // // lblAreaUrl // lblAreaUrl.AutoSize = true; lblAreaUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaUrl.Location = new System.Drawing.Point(3, 58); lblAreaUrl.Name = "lblAreaUrl"; lblAreaUrl.Size = new System.Drawing.Size(22, 13); lblAreaUrl.TabIndex = 10; lblAreaUrl.Text = "Url"; // // lblAreaShowGroups // lblAreaShowGroups.AutoSize = true; lblAreaShowGroups.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaShowGroups.Location = new System.Drawing.Point(3, 83); lblAreaShowGroups.Name = "lblAreaShowGroups"; lblAreaShowGroups.Size = new System.Drawing.Size(77, 13); lblAreaShowGroups.TabIndex = 9; lblAreaShowGroups.Text = "Show Groups"; // // lblAreaIcon // lblAreaIcon.AutoSize = true; lblAreaIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaIcon.Location = new System.Drawing.Point(3, 32); lblAreaIcon.Name = "lblAreaIcon"; lblAreaIcon.Size = new System.Drawing.Size(29, 13); lblAreaIcon.TabIndex = 8; lblAreaIcon.Text = "Icon"; // // txtAreaResourceId // txtAreaResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaResourceId.Location = new System.Drawing.Point(210, 102); txtAreaResourceId.Name = "txtAreaResourceId"; txtAreaResourceId.ReadOnly = true; txtAreaResourceId.Size = new System.Drawing.Size(280, 22); txtAreaResourceId.TabIndex = 21; // // txtAreaDescriptionResourceId // txtAreaDescriptionResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaDescriptionResourceId.Location = new System.Drawing.Point(210, 128); txtAreaDescriptionResourceId.Name = "txtAreaDescriptionResourceId"; txtAreaDescriptionResourceId.ReadOnly = true; txtAreaDescriptionResourceId.Size = new System.Drawing.Size(280, 22); txtAreaDescriptionResourceId.TabIndex = 20; // // lblAreaResourceId // lblAreaResourceId.AutoSize = true; lblAreaResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaResourceId.Location = new System.Drawing.Point(3, 105); lblAreaResourceId.Name = "lblAreaResourceId"; lblAreaResourceId.Size = new System.Drawing.Size(67, 13); lblAreaResourceId.TabIndex = 19; lblAreaResourceId.Text = "Resource Id"; // // lblAreaDescriptionResourceId // lblAreaDescriptionResourceId.AutoSize = true; lblAreaDescriptionResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaDescriptionResourceId.Location = new System.Drawing.Point(3, 131); lblAreaDescriptionResourceId.Name = "lblAreaDescriptionResourceId"; lblAreaDescriptionResourceId.Size = new System.Drawing.Size(129, 13); lblAreaDescriptionResourceId.TabIndex = 18; lblAreaDescriptionResourceId.Text = "Description Resource Id"; // // lblRequired // lblRequired.AutoSize = true; lblRequired.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblRequired.ForeColor = System.Drawing.Color.Red; lblRequired.Location = new System.Drawing.Point(18, 6); lblRequired.Name = "lblRequired"; lblRequired.Size = new System.Drawing.Size(12, 13); lblRequired.TabIndex = 22; lblRequired.Text = "*"; // // btnBrowsIcon // btnBrowsIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnBrowsIcon.Location = new System.Drawing.Point(450, 29); btnBrowsIcon.Name = "btnBrowsIcon"; btnBrowsIcon.Size = new System.Drawing.Size(40, 23); btnBrowsIcon.TabIndex = 78; btnBrowsIcon.Text = "..."; btnBrowsIcon.UseVisualStyleBackColor = true; btnBrowsIcon.Click += new System.EventHandler(btnBrowsIcon_Click); // // buttonBrowseUrl // buttonBrowseUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); buttonBrowseUrl.Location = new System.Drawing.Point(450, 53); buttonBrowseUrl.Name = "buttonBrowseUrl"; buttonBrowseUrl.Size = new System.Drawing.Size(40, 23); buttonBrowseUrl.TabIndex = 79; buttonBrowseUrl.Text = "..."; buttonBrowseUrl.UseVisualStyleBackColor = true; buttonBrowseUrl.Click += new System.EventHandler(buttonBrowseUrl_Click); // // label1 // label1.AutoSize = true; label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label1.Location = new System.Drawing.Point(3, 159); label1.Name = "label1"; label1.Size = new System.Drawing.Size(119, 13); label1.TabIndex = 80; label1.Text = "Deprecated attributes"; // // label2 // label2.AutoSize = true; label2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label2.Location = new System.Drawing.Point(3, 185); label2.Name = "label2"; label2.Size = new System.Drawing.Size(28, 13); label2.TabIndex = 81; label2.Text = "Title"; // // label3 // label3.AutoSize = true; label3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label3.Location = new System.Drawing.Point(3, 211); label3.Name = "label3"; label3.Size = new System.Drawing.Size(66, 13); label3.TabIndex = 82; label3.Text = "Description"; // // txtAreaTitle // txtAreaTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaTitle.Location = new System.Drawing.Point(211, 182); txtAreaTitle.Name = "txtAreaTitle"; txtAreaTitle.Size = new System.Drawing.Size(279, 22); txtAreaTitle.TabIndex = 83; // // txtAreaDescription // txtAreaDescription.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaDescription.Location = new System.Drawing.Point(210, 208); txtAreaDescription.Name = "txtAreaDescription"; txtAreaDescription.Size = new System.Drawing.Size(280, 22); txtAreaDescription.TabIndex = 84; // // panel1 // panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; panel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); panel1.Location = new System.Drawing.Point(6, 174); panel1.Name = "panel1"; panel1.Size = new System.Drawing.Size(490, 1); panel1.TabIndex = 85; // // AreaControl // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Controls.Add(panel1); Controls.Add(txtAreaDescription); Controls.Add(txtAreaTitle); Controls.Add(label3); Controls.Add(label2); Controls.Add(label1); Controls.Add(buttonBrowseUrl); Controls.Add(btnBrowsIcon); Controls.Add(lblRequired); Controls.Add(txtAreaResourceId); Controls.Add(txtAreaDescriptionResourceId); Controls.Add(lblAreaResourceId); Controls.Add(lblAreaDescriptionResourceId); Controls.Add(chkAreaShowGroups); Controls.Add(txtAreaId); Controls.Add(txtAreaUrl); Controls.Add(txtAreaIcon); Controls.Add(lblAreaId); Controls.Add(lblAreaUrl); Controls.Add(lblAreaShowGroups); Controls.Add(lblAreaIcon); Name = "AreaControl"; Size = new System.Drawing.Size(500, 400); Leave += new System.EventHandler(SiteMapControl_Leave); ResumeLayout(false); PerformLayout(); }
static void AddHandlerEvent(out System.EventHandler handler) { handler = new System.EventHandler(Handler); }
public ScannerScreen() { InitializeComponent(); Load += new System.EventHandler(ScannerScreen_Load); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { txtTitleLCID = new System.Windows.Forms.TextBox(); txtTitleTitle = new System.Windows.Forms.TextBox(); lblTitleLCID = new System.Windows.Forms.Label(); lblTitleTitle = new System.Windows.Forms.Label(); lblRequired = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label(); SuspendLayout(); // // txtTitleLCID // txtTitleLCID.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtTitleLCID.Location = new System.Drawing.Point(210, 3); txtTitleLCID.Name = "txtTitleLCID"; txtTitleLCID.Size = new System.Drawing.Size(280, 22); txtTitleLCID.TabIndex = 1; // // txtTitleTitle // txtTitleTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtTitleTitle.Location = new System.Drawing.Point(210, 29); txtTitleTitle.Name = "txtTitleTitle"; txtTitleTitle.Size = new System.Drawing.Size(280, 22); txtTitleTitle.TabIndex = 2; // // lblTitleLCID // lblTitleLCID.AutoSize = true; lblTitleLCID.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblTitleLCID.Location = new System.Drawing.Point(3, 6); lblTitleLCID.Name = "lblTitleLCID"; lblTitleLCID.Size = new System.Drawing.Size(30, 13); lblTitleLCID.TabIndex = 8; lblTitleLCID.Text = "LCID"; // // lblTitleTitle // lblTitleTitle.AutoSize = true; lblTitleTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblTitleTitle.Location = new System.Drawing.Point(3, 32); lblTitleTitle.Name = "lblTitleTitle"; lblTitleTitle.Size = new System.Drawing.Size(28, 13); lblTitleTitle.TabIndex = 7; lblTitleTitle.Text = "Title"; // // lblRequired // lblRequired.AutoSize = true; lblRequired.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblRequired.ForeColor = System.Drawing.Color.Red; lblRequired.Location = new System.Drawing.Point(34, 6); lblRequired.Name = "lblRequired"; lblRequired.Size = new System.Drawing.Size(12, 13); lblRequired.TabIndex = 75; lblRequired.Text = "*"; // // label1 // label1.AutoSize = true; label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label1.ForeColor = System.Drawing.Color.Red; label1.Location = new System.Drawing.Point(30, 32); label1.Name = "label1"; label1.Size = new System.Drawing.Size(12, 13); label1.TabIndex = 76; label1.Text = "*"; // // TitleControl // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Controls.Add(label1); Controls.Add(lblRequired); Controls.Add(txtTitleLCID); Controls.Add(txtTitleTitle); Controls.Add(lblTitleLCID); Controls.Add(lblTitleTitle); Name = "TitleControl"; Size = new System.Drawing.Size(500, 400); Leave += new System.EventHandler(SiteMapControl_Leave); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { txtTitleLCID = new System.Windows.Forms.TextBox(); txtTitleTitle = new System.Windows.Forms.TextBox(); lblTitleLCID = new System.Windows.Forms.Label(); lblTitleTitle = new System.Windows.Forms.Label(); lblRequired = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label(); SuspendLayout(); // // txtTitleLCID // txtTitleLCID.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtTitleLCID.Location = new System.Drawing.Point(210, 3); txtTitleLCID.Name = "txtTitleLCID"; txtTitleLCID.Size = new System.Drawing.Size(280, 22); txtTitleLCID.TabIndex = 1; // // txtTitleTitle // txtTitleTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtTitleTitle.Location = new System.Drawing.Point(210, 29); txtTitleTitle.Name = "txtTitleTitle"; txtTitleTitle.Size = new System.Drawing.Size(280, 22); txtTitleTitle.TabIndex = 2; // // lblTitleLCID // lblTitleLCID.AutoSize = true; lblTitleLCID.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblTitleLCID.Location = new System.Drawing.Point(3, 6); lblTitleLCID.Name = "lblTitleLCID"; lblTitleLCID.Size = new System.Drawing.Size(30, 13); lblTitleLCID.TabIndex = 8; lblTitleLCID.Text = "LCID"; // // lblTitleTitle // lblTitleTitle.AutoSize = true; lblTitleTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblTitleTitle.Location = new System.Drawing.Point(3, 32); lblTitleTitle.Name = "lblTitleTitle"; lblTitleTitle.Size = new System.Drawing.Size(28, 13); lblTitleTitle.TabIndex = 7; lblTitleTitle.Text = "Title"; // // lblRequired // lblRequired.AutoSize = true; lblRequired.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblRequired.ForeColor = System.Drawing.Color.Red; lblRequired.Location = new System.Drawing.Point(34, 6); lblRequired.Name = "lblRequired"; lblRequired.Size = new System.Drawing.Size(12, 13); lblRequired.TabIndex = 75; lblRequired.Text = "*"; // // label1 // label1.AutoSize = true; label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label1.ForeColor = System.Drawing.Color.Red; label1.Location = new System.Drawing.Point(30, 32); label1.Name = "label1"; label1.Size = new System.Drawing.Size(12, 13); label1.TabIndex = 76; label1.Text = "*"; // // TitleControl // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Controls.Add(label1); Controls.Add(lblRequired); Controls.Add(txtTitleLCID); Controls.Add(txtTitleTitle); Controls.Add(lblTitleLCID); Controls.Add(lblTitleTitle); Name = "TitleControl"; Size = new System.Drawing.Size(500, 400); Leave += new System.EventHandler(SiteMapControl_Leave); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Filesetup)); panel1 = new System.Windows.Forms.Panel(); button3 = new System.Windows.Forms.Button(); sensor_call_btn = new System.Windows.Forms.Button(); button2 = new System.Windows.Forms.Button(); FileFormSave_btn = new System.Windows.Forms.Button(); cancel_btn = new System.Windows.Forms.Button(); label2 = new System.Windows.Forms.Label(); button1 = new System.Windows.Forms.Button(); stave_txt = new System.Windows.Forms.TextBox(); thickness_txt = new System.Windows.Forms.TextBox(); channel_txt = new System.Windows.Forms.TextBox(); diameter_txt = new System.Windows.Forms.TextBox(); gap_txt = new System.Windows.Forms.TextBox(); width_txt = new System.Windows.Forms.TextBox(); angle_txt = new System.Windows.Forms.TextBox(); length_stave_txt = new System.Windows.Forms.TextBox(); name_txt = new System.Windows.Forms.TextBox(); button4 = new System.Windows.Forms.Button(); panel1.SuspendLayout(); SuspendLayout(); // // panel1 // panel1.Anchor = System.Windows.Forms.AnchorStyles.None; panel1.BackColor = System.Drawing.Color.SteelBlue; panel1.Controls.Add(button4); panel1.Controls.Add(button3); panel1.Controls.Add(sensor_call_btn); panel1.Controls.Add(button2); panel1.Controls.Add(FileFormSave_btn); panel1.Controls.Add(cancel_btn); panel1.Controls.Add(label2); panel1.Controls.Add(button1); panel1.Controls.Add(stave_txt); panel1.Controls.Add(thickness_txt); panel1.Controls.Add(channel_txt); panel1.Controls.Add(diameter_txt); panel1.Controls.Add(gap_txt); panel1.Controls.Add(width_txt); panel1.Controls.Add(angle_txt); panel1.Controls.Add(length_stave_txt); panel1.Controls.Add(name_txt); panel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); panel1.ForeColor = System.Drawing.Color.ForestGreen; panel1.Location = new System.Drawing.Point(-2, 2); panel1.Name = "panel1"; panel1.Size = new System.Drawing.Size(435, 298); panel1.TabIndex = 0; panel1.Paint += new System.Windows.Forms.PaintEventHandler(panel1_Paint); panel1.Leave += new System.EventHandler(name_txt_Leave); // // button3 // button3.Location = new System.Drawing.Point(346, 86); button3.Name = "button3"; button3.Size = new System.Drawing.Size(78, 63); button3.TabIndex = 76; button3.Text = "Opbox"; button3.UseVisualStyleBackColor = true; button3.Click += new System.EventHandler(button3_Click); // // sensor_call_btn // sensor_call_btn.Location = new System.Drawing.Point(13, 157); sensor_call_btn.Name = "sensor_call_btn"; sensor_call_btn.Size = new System.Drawing.Size(75, 58); sensor_call_btn.TabIndex = 75; sensor_call_btn.Text = "button3"; sensor_call_btn.UseVisualStyleBackColor = true; sensor_call_btn.Click += new System.EventHandler(sensor_call_btn_Click); // // button2 // button2.Location = new System.Drawing.Point(357, 175); button2.Name = "button2"; button2.Size = new System.Drawing.Size(75, 40); button2.TabIndex = 74; button2.Text = "button2"; button2.UseVisualStyleBackColor = true; button2.Click += new System.EventHandler(button2_Click); // // FileFormSave_btn // FileFormSave_btn.Anchor = System.Windows.Forms.AnchorStyles.None; FileFormSave_btn.BackColor = System.Drawing.Color.White; FileFormSave_btn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("FileFormSave_btn.BackgroundImage"))); FileFormSave_btn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; FileFormSave_btn.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); FileFormSave_btn.ForeColor = System.Drawing.Color.DimGray; FileFormSave_btn.Location = new System.Drawing.Point(346, 239); FileFormSave_btn.Name = "FileFormSave_btn"; FileFormSave_btn.Size = new System.Drawing.Size(89, 59); FileFormSave_btn.TabIndex = 73; FileFormSave_btn.Text = "SAVE"; FileFormSave_btn.UseVisualStyleBackColor = false; FileFormSave_btn.Click += new System.EventHandler(FileFormSave_btn_Click); // // cancel_btn // cancel_btn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cancel_btn.BackgroundImage"))); cancel_btn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; cancel_btn.Location = new System.Drawing.Point(3, 239); cancel_btn.Name = "cancel_btn"; cancel_btn.Size = new System.Drawing.Size(85, 60); cancel_btn.TabIndex = 72; cancel_btn.UseVisualStyleBackColor = true; cancel_btn.Click += new System.EventHandler(cancel_btn_Click); // // label2 // label2.AutoSize = true; label2.BackColor = System.Drawing.Color.Black; label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label2.ForeColor = System.Drawing.Color.White; label2.Location = new System.Drawing.Point(159, 0); label2.Name = "label2"; label2.Size = new System.Drawing.Size(100, 20); label2.TabIndex = 71; label2.Text = "File Set UP"; // // button1 // button1.Location = new System.Drawing.Point(444, 654); button1.Name = "button1"; button1.Size = new System.Drawing.Size(114, 48); button1.TabIndex = 22; button1.Text = "button1"; button1.UseVisualStyleBackColor = true; button1.Click += new System.EventHandler(button1_Click); // // stave_txt // stave_txt.Anchor = System.Windows.Forms.AnchorStyles.None; stave_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); stave_txt.ForeColor = System.Drawing.Color.Blue; stave_txt.Location = new System.Drawing.Point(100, 53); stave_txt.Multiline = true; stave_txt.Name = "stave_txt"; stave_txt.Size = new System.Drawing.Size(232, 25); stave_txt.TabIndex = 21; stave_txt.Text = "No. of Stave"; stave_txt.Enter += new System.EventHandler(stave_txt_Enter); stave_txt.Leave += new System.EventHandler(stave_txt_Leave); // // thickness_txt // thickness_txt.Anchor = System.Windows.Forms.AnchorStyles.None; thickness_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); thickness_txt.ForeColor = System.Drawing.Color.Blue; thickness_txt.Location = new System.Drawing.Point(100, 270); thickness_txt.Multiline = true; thickness_txt.Name = "thickness_txt"; thickness_txt.Size = new System.Drawing.Size(232, 25); thickness_txt.TabIndex = 19; thickness_txt.Text = "Thickness"; thickness_txt.Enter += new System.EventHandler(thickness_txt_Enter); thickness_txt.Leave += new System.EventHandler(thickness_txt_Leave); // // channel_txt // channel_txt.Anchor = System.Windows.Forms.AnchorStyles.None; channel_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); channel_txt.ForeColor = System.Drawing.Color.Blue; channel_txt.Location = new System.Drawing.Point(100, 239); channel_txt.Multiline = true; channel_txt.Name = "channel_txt"; channel_txt.Size = new System.Drawing.Size(232, 25); channel_txt.TabIndex = 17; channel_txt.Text = "Diameter of Channel"; channel_txt.Enter += new System.EventHandler(channel_txt_Enter); channel_txt.Leave += new System.EventHandler(channel_txt_Leave); // // diameter_txt // diameter_txt.Anchor = System.Windows.Forms.AnchorStyles.None; diameter_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); diameter_txt.ForeColor = System.Drawing.Color.Blue; diameter_txt.Location = new System.Drawing.Point(100, 208); diameter_txt.Multiline = true; diameter_txt.Name = "diameter_txt"; diameter_txt.Size = new System.Drawing.Size(232, 25); diameter_txt.TabIndex = 15; diameter_txt.Text = "Diameter of Pipe"; diameter_txt.Enter += new System.EventHandler(diameter_txt_Enter); diameter_txt.Leave += new System.EventHandler(diameter_txt_Leave); // // gap_txt // gap_txt.Anchor = System.Windows.Forms.AnchorStyles.None; gap_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); gap_txt.ForeColor = System.Drawing.Color.Blue; gap_txt.Location = new System.Drawing.Point(100, 177); gap_txt.Multiline = true; gap_txt.Name = "gap_txt"; gap_txt.Size = new System.Drawing.Size(232, 25); gap_txt.TabIndex = 13; gap_txt.Text = "Gap"; gap_txt.TextChanged += new System.EventHandler(gap_txt_TextChanged); gap_txt.Enter += new System.EventHandler(gap_txt_Enter); gap_txt.Leave += new System.EventHandler(gap_txt_Leave); // // width_txt // width_txt.Anchor = System.Windows.Forms.AnchorStyles.None; width_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); width_txt.ForeColor = System.Drawing.Color.Blue; width_txt.Location = new System.Drawing.Point(100, 146); width_txt.Multiline = true; width_txt.Name = "width_txt"; width_txt.Size = new System.Drawing.Size(232, 25); width_txt.TabIndex = 11; width_txt.Text = "Width"; width_txt.Enter += new System.EventHandler(width_txt_Enter); width_txt.Leave += new System.EventHandler(width_txt_Leave); // // angle_txt // angle_txt.Anchor = System.Windows.Forms.AnchorStyles.None; angle_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); angle_txt.ForeColor = System.Drawing.Color.Blue; angle_txt.Location = new System.Drawing.Point(100, 115); angle_txt.Multiline = true; angle_txt.Name = "angle_txt"; angle_txt.Size = new System.Drawing.Size(232, 25); angle_txt.TabIndex = 9; angle_txt.Text = "Angle of Bend"; angle_txt.Enter += new System.EventHandler(angle_txt_Enter); angle_txt.Leave += new System.EventHandler(angle_txt_Leave); // // length_stave_txt // length_stave_txt.Anchor = System.Windows.Forms.AnchorStyles.None; length_stave_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); length_stave_txt.ForeColor = System.Drawing.Color.Blue; length_stave_txt.Location = new System.Drawing.Point(100, 84); length_stave_txt.Multiline = true; length_stave_txt.Name = "length_stave_txt"; length_stave_txt.Size = new System.Drawing.Size(232, 25); length_stave_txt.TabIndex = 7; length_stave_txt.Text = "Length of Stave"; length_stave_txt.Enter += new System.EventHandler(length_stave_txt_Enter); length_stave_txt.Leave += new System.EventHandler(length_stave_txt_Leave); // // name_txt // name_txt.Anchor = System.Windows.Forms.AnchorStyles.None; name_txt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); name_txt.ForeColor = System.Drawing.Color.Blue; name_txt.Location = new System.Drawing.Point(100, 22); name_txt.Multiline = true; name_txt.Name = "name_txt"; name_txt.Size = new System.Drawing.Size(232, 25); name_txt.TabIndex = 20; name_txt.Text = "Enter Name"; name_txt.TextChanged += new System.EventHandler(name_txt_TextChanged); name_txt.Enter += new System.EventHandler(name_txt_Enter); name_txt.Leave += new System.EventHandler(name_txt_Leave_1); // // button4 // button4.Location = new System.Drawing.Point(13, 51); button4.Name = "button4"; button4.Size = new System.Drawing.Size(75, 89); button4.TabIndex = 77; button4.Text = "button4"; button4.UseVisualStyleBackColor = true; button4.Click += new System.EventHandler(button4_Click); // // Filesetup // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; BackColor = System.Drawing.Color.White; ClientSize = new System.Drawing.Size(434, 301); Controls.Add(panel1); MaximizeBox = false; MinimizeBox = false; Name = "Filesetup"; StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; Text = "Filesetup"; FormClosing += new System.Windows.Forms.FormClosingEventHandler(Filesetup_FormClosing); Load += new System.EventHandler(Filesetup_Load); panel1.ResumeLayout(false); panel1.PerformLayout(); ResumeLayout(false); }
/// <summary> /// Configures <see cref="InternalLogger.LogMessageReceived"/> /// </summary> public static ISetupInternalLoggerBuilder AddLogSubscription(this ISetupInternalLoggerBuilder setupBuilder, System.EventHandler <InternalLoggerMessageEventArgs> eventSubscriber) { InternalLogger.LogMessageReceived += eventSubscriber; return(setupBuilder); }
public virtual void MessageReceivedEventAdd(Start9.Api.Contracts.IMessageEventHandlerContract handler) { System.EventHandler <Start9.Host.Views.MessageReceivedEventArgs> adaptedHandler = new System.EventHandler <Start9.Host.Views.MessageReceivedEventArgs>(new Start9.Host.Adapters.IMessageEventHandlerContractToViewHostAdapter(handler).Handler); _view.MessageReceived += adaptedHandler; MessageReceived_handlers[handler] = adaptedHandler; }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.MethodIdentifierChanged -= handler; }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.ContextVariableChanged -= handler; }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.EContainingClassChanged -= handler; }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be subscribed to the property change event</param> protected override void RegisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.NameChanged += handler; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PrintPreview)); printPreviewControl = new System.Windows.Forms.PrintPreviewControl(); toolStrip = new System.Windows.Forms.ToolStrip(); printToolStripButton = new System.Windows.Forms.ToolStripButton(); toolStripButtonPageSetup = new System.Windows.Forms.ToolStripButton(); toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); toolStripButton1Page = new System.Windows.Forms.ToolStripButton(); toolStripButton2Pages = new System.Windows.Forms.ToolStripButton(); toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); toolStripMenuItemAuto = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); toolStripButtonPrev = new System.Windows.Forms.ToolStripButton(); toolStripTextBoxPage = new System.Windows.Forms.ToolStripTextBox(); toolStripButtonNext = new System.Windows.Forms.ToolStripButton(); toolStrip.SuspendLayout(); SuspendLayout(); // // printPreviewControl // printPreviewControl.Dock = System.Windows.Forms.DockStyle.Fill; printPreviewControl.Location = new System.Drawing.Point(0, 25); printPreviewControl.Name = "printPreviewControl"; printPreviewControl.Size = new System.Drawing.Size(557, 246); printPreviewControl.TabIndex = 0; printPreviewControl.UseAntiAlias = true; // // toolStrip // toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { printToolStripButton, toolStripButtonPageSetup, toolStripSeparator, toolStripButton1Page, toolStripButton2Pages, toolStripDropDownButton1, toolStripSeparator1, toolStripButtonPrev, toolStripTextBoxPage, toolStripButtonNext }); toolStrip.Location = new System.Drawing.Point(0, 0); toolStrip.Name = "toolStrip"; toolStrip.Size = new System.Drawing.Size(557, 25); toolStrip.TabIndex = 1; toolStrip.Text = "toolStrip1"; // // printToolStripButton // printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image"))); printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; printToolStripButton.Name = "printToolStripButton"; printToolStripButton.Size = new System.Drawing.Size(23, 22); printToolStripButton.Text = "&Print"; printToolStripButton.Click += new System.EventHandler(this.printToolStripButton_Click); // // toolStripButtonPageSetup // toolStripButtonPageSetup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; toolStripButtonPageSetup.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonPageSetup.Image"))); toolStripButtonPageSetup.ImageTransparentColor = System.Drawing.Color.Magenta; toolStripButtonPageSetup.Name = "toolStripButtonPageSetup"; toolStripButtonPageSetup.Size = new System.Drawing.Size(23, 22); toolStripButtonPageSetup.Text = "Page setup"; toolStripButtonPageSetup.Click += new System.EventHandler(this.toolStripButtonPageSetup_Click); // // toolStripSeparator // toolStripSeparator.Name = "toolStripSeparator"; toolStripSeparator.Size = new System.Drawing.Size(6, 25); // // toolStripButton1Page // toolStripButton1Page.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; toolStripButton1Page.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1Page.Image"))); toolStripButton1Page.ImageTransparentColor = System.Drawing.Color.Magenta; toolStripButton1Page.Name = "toolStripButton1Page"; toolStripButton1Page.Size = new System.Drawing.Size(58, 22); toolStripButton1Page.Text = "One page"; toolStripButton1Page.Click += new System.EventHandler(this.toolStripButton1Page_Click); // // toolStripButton2Pages // toolStripButton2Pages.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; toolStripButton2Pages.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2Pages.Image"))); toolStripButton2Pages.ImageTransparentColor = System.Drawing.Color.Magenta; toolStripButton2Pages.Name = "toolStripButton2Pages"; toolStripButton2Pages.Size = new System.Drawing.Size(63, 22); toolStripButton2Pages.Text = "Two pages"; toolStripButton2Pages.Click += new System.EventHandler(this.toolStripButton2Pages_Click); // // toolStripDropDownButton1 // toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripMenuItemAuto, toolStripMenuItem2, toolStripMenuItem3, toolStripMenuItem4, toolStripMenuItem5, toolStripMenuItem6 }); toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; toolStripDropDownButton1.Name = "toolStripDropDownButton1"; toolStripDropDownButton1.Size = new System.Drawing.Size(29, 22); toolStripDropDownButton1.Text = "Zoom"; // // toolStripMenuItemAuto // toolStripMenuItemAuto.Name = "toolStripMenuItemAuto"; toolStripMenuItemAuto.Size = new System.Drawing.Size(117, 22); toolStripMenuItemAuto.Tag = "-1"; toolStripMenuItemAuto.Text = "Auto"; toolStripMenuItemAuto.Click += new System.EventHandler(this.toolStripMenuItemZoom_Click); // // toolStripMenuItem2 // toolStripMenuItem2.Name = "toolStripMenuItem2"; toolStripMenuItem2.Size = new System.Drawing.Size(117, 22); toolStripMenuItem2.Tag = "200"; toolStripMenuItem2.Text = "200 %"; toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItemZoom_Click); // // toolStripMenuItem3 // toolStripMenuItem3.Name = "toolStripMenuItem3"; toolStripMenuItem3.Size = new System.Drawing.Size(117, 22); toolStripMenuItem3.Tag = "100"; toolStripMenuItem3.Text = "100 %"; toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItemZoom_Click); // // toolStripMenuItem4 // toolStripMenuItem4.Name = "toolStripMenuItem4"; toolStripMenuItem4.Size = new System.Drawing.Size(117, 22); toolStripMenuItem4.Tag = "75"; toolStripMenuItem4.Text = "75 %"; toolStripMenuItem4.Click += new System.EventHandler(this.toolStripMenuItemZoom_Click); // // toolStripMenuItem5 // toolStripMenuItem5.Name = "toolStripMenuItem5"; toolStripMenuItem5.Size = new System.Drawing.Size(117, 22); toolStripMenuItem5.Tag = "50"; toolStripMenuItem5.Text = "50 %"; toolStripMenuItem5.Click += new System.EventHandler(this.toolStripMenuItemZoom_Click); // // toolStripMenuItem6 // toolStripMenuItem6.Name = "toolStripMenuItem6"; toolStripMenuItem6.Size = new System.Drawing.Size(117, 22); toolStripMenuItem6.Tag = "25"; toolStripMenuItem6.Text = "25 %"; toolStripMenuItem6.Click += new System.EventHandler(this.toolStripMenuItemZoom_Click); // // toolStripSeparator1 // toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolStripButtonPrev // toolStripButtonPrev.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; toolStripButtonPrev.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonPrev.Image"))); toolStripButtonPrev.ImageTransparentColor = System.Drawing.Color.Magenta; toolStripButtonPrev.Name = "toolStripButtonPrev"; toolStripButtonPrev.Size = new System.Drawing.Size(23, 22); toolStripButtonPrev.Text = "Previous page"; toolStripButtonPrev.Click += new System.EventHandler(this.toolStripButtonPrev_Click); // // toolStripTextBoxPage // toolStripTextBoxPage.Name = "toolStripTextBoxPage"; toolStripTextBoxPage.Size = new System.Drawing.Size(30, 25); // // toolStripButtonNext // toolStripButtonNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; toolStripButtonNext.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonNext.Image"))); toolStripButtonNext.ImageTransparentColor = System.Drawing.Color.Magenta; toolStripButtonNext.Name = "toolStripButtonNext"; toolStripButtonNext.Size = new System.Drawing.Size(23, 22); toolStripButtonNext.Text = "Next page"; toolStripButtonNext.Click += new System.EventHandler(this.toolStripButtonNext_Click); // // PrintPreview // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; ClientSize = new System.Drawing.Size(557, 271); Controls.Add(this.printPreviewControl); Controls.Add(this.toolStrip); Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); Name = "PrintPreview"; ShowInTaskbar = false; Text = "Preview"; FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PrintPreview_FormClosing); Load += new System.EventHandler(this.PrintPreview_Load); toolStrip.ResumeLayout(false); toolStrip.PerformLayout(); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(IntelliTrack.Client.Application.Form1)); dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); menuStrip1 = new System.Windows.Forms.MenuStrip(); fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); customizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); contentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); indexToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); menuStrip1.SuspendLayout(); SuspendLayout(); dockPanel.ActiveAutoHideContent = null; dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; dockPanel.DockBackColor = System.Drawing.SystemColors.Control; dockPanel.DockBottomPortion = 150.0; dockPanel.DockLeftPortion = 200.0; dockPanel.DockRightPortion = 200.0; dockPanel.DockTopPortion = 150.0; dockPanel.Font = new System.Drawing.Font("Tahoma", 11.0F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, 0); dockPanel.Location = new System.Drawing.Point(0, 24); dockPanel.Name = "dockPanel"; dockPanel.RightToLeftLayout = true; dockPanel.Size = new System.Drawing.Size(943, 652); dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; autoHideStripSkin.DockStripGradient = dockPanelGradient1; tabGradient1.EndColor = System.Drawing.SystemColors.Control; tabGradient1.StartColor = System.Drawing.SystemColors.Control; tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; autoHideStripSkin.TabGradient = tabGradient1; dockPanelSkin.AutoHideStripSkin = autoHideStripSkin; tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient.ActiveTabGradient = tabGradient2; dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; dockPaneStripGradient.DockStripGradient = dockPanelGradient2; tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripGradient.InactiveTabGradient = tabGradient3; dockPaneStripSkin.DocumentGradient = dockPaneStripGradient; tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient.ActiveCaptionGradient = tabGradient4; tabGradient5.EndColor = System.Drawing.SystemColors.Control; tabGradient5.StartColor = System.Drawing.SystemColors.Control; tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient.ActiveTabGradient = tabGradient5; dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; dockPaneStripToolWindowGradient.DockStripGradient = dockPanelGradient3; tabGradient6.EndColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; tabGradient6.TextColor = System.Drawing.SystemColors.ControlText; dockPaneStripToolWindowGradient.InactiveCaptionGradient = tabGradient6; tabGradient7.EndColor = System.Drawing.Color.Transparent; tabGradient7.StartColor = System.Drawing.Color.Transparent; tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient.InactiveTabGradient = tabGradient7; dockPaneStripSkin.ToolWindowGradient = dockPaneStripToolWindowGradient; dockPanelSkin.DockPaneStripSkin = dockPaneStripSkin; dockPanel.Skin = dockPanelSkin; dockPanel.TabIndex = 0; System.Windows.Forms.ToolStripItem[] toolStripItemArr1 = new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem, editToolStripMenuItem, toolsToolStripMenuItem, helpToolStripMenuItem }; menuStrip1.Items.AddRange(toolStripItemArr1); menuStrip1.Location = new System.Drawing.Point(0, 0); menuStrip1.Name = "menuStrip1"; menuStrip1.Size = new System.Drawing.Size(943, 24); menuStrip1.TabIndex = 3; menuStrip1.Text = "menuStrip1"; System.Windows.Forms.ToolStripItem[] toolStripItemArr2 = new System.Windows.Forms.ToolStripItem[] { newToolStripMenuItem, openToolStripMenuItem, toolStripSeparator, saveToolStripMenuItem, saveAsToolStripMenuItem, toolStripSeparator1, printToolStripMenuItem, printPreviewToolStripMenuItem, toolStripSeparator2, exitToolStripMenuItem }; fileToolStripMenuItem.DropDownItems.AddRange(toolStripItemArr2); fileToolStripMenuItem.Name = "fileToolStripMenuItem"; fileToolStripMenuItem.Size = new System.Drawing.Size(55, 20); fileToolStripMenuItem.Text = "&Archivo"; newToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("newToolStripMenuItem.Image"); newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; newToolStripMenuItem.Name = "newToolStripMenuItem"; newToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.MButton | System.Windows.Forms.Keys.Back | System.Windows.Forms.Keys.Control; newToolStripMenuItem.Size = new System.Drawing.Size(151, 22); newToolStripMenuItem.Text = "&New"; newToolStripMenuItem.Visible = false; openToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("openToolStripMenuItem.Image"); openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; openToolStripMenuItem.Name = "openToolStripMenuItem"; openToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.LButton | System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.MButton | System.Windows.Forms.Keys.Back | System.Windows.Forms.Keys.Control; openToolStripMenuItem.Size = new System.Drawing.Size(151, 22); openToolStripMenuItem.Text = "&Open"; openToolStripMenuItem.Visible = false; toolStripSeparator.Name = "toolStripSeparator"; toolStripSeparator.Size = new System.Drawing.Size(148, 6); toolStripSeparator.Visible = false; saveToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("saveToolStripMenuItem.Image"); saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; saveToolStripMenuItem.Name = "saveToolStripMenuItem"; saveToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.LButton | System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control; saveToolStripMenuItem.Size = new System.Drawing.Size(151, 22); saveToolStripMenuItem.Text = "&Save"; saveToolStripMenuItem.Visible = false; saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; saveAsToolStripMenuItem.Size = new System.Drawing.Size(151, 22); saveAsToolStripMenuItem.Text = "Save &As"; saveAsToolStripMenuItem.Visible = false; toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Size = new System.Drawing.Size(148, 6); toolStripSeparator1.Visible = false; printToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("printToolStripMenuItem.Image"); printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; printToolStripMenuItem.Name = "printToolStripMenuItem"; //printToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control; printToolStripMenuItem.Size = new System.Drawing.Size(151, 22); printToolStripMenuItem.Text = "&Print"; printToolStripMenuItem.Visible = false; printPreviewToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("printPreviewToolStripMenuItem.Image"); printPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem"; printPreviewToolStripMenuItem.Size = new System.Drawing.Size(151, 22); printPreviewToolStripMenuItem.Text = "Print Pre&view"; printPreviewToolStripMenuItem.Visible = false; toolStripSeparator2.Name = "toolStripSeparator2"; toolStripSeparator2.Size = new System.Drawing.Size(148, 6); toolStripSeparator2.Visible = false; exitToolStripMenuItem.Name = "exitToolStripMenuItem"; exitToolStripMenuItem.Size = new System.Drawing.Size(151, 22); exitToolStripMenuItem.Text = "&Salir"; exitToolStripMenuItem.Click += new System.EventHandler(exitToolStripMenuItem_Click); System.Windows.Forms.ToolStripItem[] toolStripItemArr3 = new System.Windows.Forms.ToolStripItem[] { undoToolStripMenuItem, redoToolStripMenuItem, toolStripSeparator3, cutToolStripMenuItem, copyToolStripMenuItem, pasteToolStripMenuItem, toolStripSeparator4, selectAllToolStripMenuItem }; editToolStripMenuItem.DropDownItems.AddRange(toolStripItemArr3); editToolStripMenuItem.Name = "editToolStripMenuItem"; editToolStripMenuItem.Size = new System.Drawing.Size(47, 20); editToolStripMenuItem.Text = "&Editar"; editToolStripMenuItem.Visible = false; undoToolStripMenuItem.Name = "undoToolStripMenuItem"; undoToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.Back | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control; undoToolStripMenuItem.Size = new System.Drawing.Size(150, 22); undoToolStripMenuItem.Text = "&Undo"; redoToolStripMenuItem.Name = "redoToolStripMenuItem"; redoToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.LButton | System.Windows.Forms.Keys.Back | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control; redoToolStripMenuItem.Size = new System.Drawing.Size(150, 22); redoToolStripMenuItem.Text = "&Redo"; toolStripSeparator3.Name = "toolStripSeparator3"; toolStripSeparator3.Size = new System.Drawing.Size(147, 6); cutToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("cutToolStripMenuItem.Image"); cutToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; cutToolStripMenuItem.Name = "cutToolStripMenuItem"; cutToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Back | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control; cutToolStripMenuItem.Size = new System.Drawing.Size(150, 22); cutToolStripMenuItem.Text = "Cu&t"; copyToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("copyToolStripMenuItem.Image"); copyToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; copyToolStripMenuItem.Name = "copyToolStripMenuItem"; copyToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.LButton | System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.Control; copyToolStripMenuItem.Size = new System.Drawing.Size(150, 22); copyToolStripMenuItem.Text = "&Copy"; pasteToolStripMenuItem.Image = (System.Drawing.Image)componentResourceManager.GetObject("pasteToolStripMenuItem.Image"); pasteToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; pasteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.MButton | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control; pasteToolStripMenuItem.Size = new System.Drawing.Size(150, 22); pasteToolStripMenuItem.Text = "&Paste"; toolStripSeparator4.Name = "toolStripSeparator4"; toolStripSeparator4.Size = new System.Drawing.Size(147, 6); selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; selectAllToolStripMenuItem.Size = new System.Drawing.Size(150, 22); selectAllToolStripMenuItem.Text = "Select &All"; System.Windows.Forms.ToolStripItem[] toolStripItemArr4 = new System.Windows.Forms.ToolStripItem[] { customizeToolStripMenuItem, optionsToolStripMenuItem }; toolsToolStripMenuItem.DropDownItems.AddRange(toolStripItemArr4); toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; toolsToolStripMenuItem.Size = new System.Drawing.Size(83, 20); toolsToolStripMenuItem.Text = "&Herramientas"; toolsToolStripMenuItem.Visible = false; customizeToolStripMenuItem.Name = "customizeToolStripMenuItem"; customizeToolStripMenuItem.Size = new System.Drawing.Size(155, 22); customizeToolStripMenuItem.Text = "Personali&zar..."; optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; optionsToolStripMenuItem.Size = new System.Drawing.Size(155, 22); optionsToolStripMenuItem.Text = "Opcion&es..."; System.Windows.Forms.ToolStripItem[] toolStripItemArr5 = new System.Windows.Forms.ToolStripItem[] { contentsToolStripMenuItem, indexToolStripMenuItem, searchToolStripMenuItem, toolStripSeparator5, aboutToolStripMenuItem }; helpToolStripMenuItem.DropDownItems.AddRange(toolStripItemArr5); helpToolStripMenuItem.Name = "helpToolStripMenuItem"; helpToolStripMenuItem.Size = new System.Drawing.Size(50, 20); helpToolStripMenuItem.Text = "Ay&uda"; helpToolStripMenuItem.Visible = false; contentsToolStripMenuItem.Name = "contentsToolStripMenuItem"; contentsToolStripMenuItem.Size = new System.Drawing.Size(129, 22); contentsToolStripMenuItem.Text = "&Contents"; indexToolStripMenuItem.Name = "indexToolStripMenuItem"; indexToolStripMenuItem.Size = new System.Drawing.Size(129, 22); indexToolStripMenuItem.Text = "&Index"; searchToolStripMenuItem.Name = "searchToolStripMenuItem"; searchToolStripMenuItem.Size = new System.Drawing.Size(129, 22); searchToolStripMenuItem.Text = "&Search"; toolStripSeparator5.Name = "toolStripSeparator5"; toolStripSeparator5.Size = new System.Drawing.Size(126, 6); aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; aboutToolStripMenuItem.Size = new System.Drawing.Size(129, 22); aboutToolStripMenuItem.Text = "&About..."; AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 13.0F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; ClientSize = new System.Drawing.Size(943, 676); Controls.Add(dockPanel); Controls.Add(menuStrip1); DoubleBuffered = true; Icon = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon"); IsMdiContainer = true; Name = "Form1"; StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; Text = "Intellitrack"; WindowState = System.Windows.Forms.FormWindowState.Maximized; Shown += new System.EventHandler(Form1_Shown); Layout += new System.Windows.Forms.LayoutEventHandler(Form1_Layout); menuStrip1.ResumeLayout(false); menuStrip1.PerformLayout(); ResumeLayout(false); PerformLayout(); }
public mpv(System.EventHandler exited) : base(exited) { this.exe = Settings.Default.mpv_Path; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(IntelliTrack.Client.Application.MapForm)); toolStrip1 = new System.Windows.Forms.ToolStrip(); ZoomWindow = new System.Windows.Forms.ToolStripButton(); ZoomIn = new System.Windows.Forms.ToolStripButton(); ZoomOut = new System.Windows.Forms.ToolStripButton(); toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); Pan = new System.Windows.Forms.ToolStripButton(); toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); btnLaunchInBrowser = new System.Windows.Forms.ToolStripButton(); Info = new System.Windows.Forms.ToolStripButton(); toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); RedrawProgressBar = new System.Windows.Forms.ToolStripProgressBar(); toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); btnInicio = new System.Windows.Forms.ToolStripButton(); btnEjecutar = new System.Windows.Forms.ToolStripButton(); btnPausa = new System.Windows.Forms.ToolStripButton(); btnDetener = new System.Windows.Forms.ToolStripButton(); btnConfiguracionConsultaHistorica = new System.Windows.Forms.ToolStripButton(); lblInformation = new System.Windows.Forms.Label(); panel1 = new System.Windows.Forms.Panel(); udRegistrosPorSegundo = new System.Windows.Forms.NumericUpDown(); lblPosicion = new System.Windows.Forms.Label(); trackPosicion = new System.Windows.Forms.TrackBar(); lblEstado = new System.Windows.Forms.Label(); toolStrip1.SuspendLayout(); panel1.SuspendLayout(); udRegistrosPorSegundo.BeginInit(); trackPosicion.BeginInit(); SuspendLayout(); System.Windows.Forms.ToolStripItem[] toolStripItemArr = new System.Windows.Forms.ToolStripItem[] { ZoomWindow, ZoomIn, ZoomOut, toolStripSeparator1, Pan, toolStripSeparator3, btnLaunchInBrowser, Info, toolStripSeparator2, RedrawProgressBar, toolStripSeparator4, btnInicio, btnEjecutar, btnPausa, btnDetener, btnConfiguracionConsultaHistorica }; toolStrip1.Items.AddRange(toolStripItemArr); toolStrip1.Location = new System.Drawing.Point(0, 0); toolStrip1.Name = "toolStrip1"; toolStrip1.Size = new System.Drawing.Size(542, 25); toolStrip1.TabIndex = 0; toolStrip1.Text = "toolStrip1"; ZoomWindow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; ZoomWindow.Image = (System.Drawing.Image)componentResourceManager.GetObject("ZoomWindow.Image"); ZoomWindow.ImageTransparentColor = System.Drawing.Color.Magenta; ZoomWindow.Name = "ZoomWindow"; ZoomWindow.Size = new System.Drawing.Size(23, 22); ZoomWindow.Text = "toolStripButton1"; ZoomWindow.ToolTipText = "Zoom Window"; ZoomWindow.Click += new System.EventHandler(ZoomWindow_Click); ZoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; ZoomIn.Image = (System.Drawing.Image)componentResourceManager.GetObject("ZoomIn.Image"); ZoomIn.ImageTransparentColor = System.Drawing.Color.Magenta; ZoomIn.Name = "ZoomIn"; ZoomIn.Size = new System.Drawing.Size(23, 22); ZoomIn.Text = "toolStripButton2"; ZoomIn.ToolTipText = "Zoom In"; ZoomIn.Click += new System.EventHandler(ZoomIn_Click); ZoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; ZoomOut.Image = (System.Drawing.Image)componentResourceManager.GetObject("ZoomOut.Image"); ZoomOut.ImageTransparentColor = System.Drawing.Color.Magenta; ZoomOut.Name = "ZoomOut"; ZoomOut.Size = new System.Drawing.Size(23, 22); ZoomOut.Text = "toolStripButton3"; ZoomOut.ToolTipText = "Zoom out"; ZoomOut.Click += new System.EventHandler(ZoomOut_Click); toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Size = new System.Drawing.Size(6, 25); Pan.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; Pan.Image = (System.Drawing.Image)componentResourceManager.GetObject("Pan.Image"); Pan.ImageTransparentColor = System.Drawing.Color.Magenta; Pan.Name = "Pan"; Pan.Size = new System.Drawing.Size(23, 22); Pan.Text = "toolStripButton1"; Pan.ToolTipText = "Pan"; Pan.Click += new System.EventHandler(Pan_Click); toolStripSeparator3.Name = "toolStripSeparator3"; toolStripSeparator3.Size = new System.Drawing.Size(6, 25); toolStripSeparator3.Visible = false; btnLaunchInBrowser.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; btnLaunchInBrowser.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnLaunchInBrowser.Image"); btnLaunchInBrowser.ImageTransparentColor = System.Drawing.Color.Magenta; btnLaunchInBrowser.Name = "btnLaunchInBrowser"; btnLaunchInBrowser.Size = new System.Drawing.Size(23, 22); btnLaunchInBrowser.Text = "btnLaunchInBrowser"; btnLaunchInBrowser.Click += new System.EventHandler(toolStripButton1_Click); Info.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; Info.Image = (System.Drawing.Image)componentResourceManager.GetObject("Info.Image"); Info.ImageTransparentColor = System.Drawing.Color.Magenta; Info.Name = "Info"; Info.Size = new System.Drawing.Size(23, 22); Info.Text = "toolStripButton1"; Info.Click += new System.EventHandler(Info_Click); toolStripSeparator2.Name = "toolStripSeparator2"; toolStripSeparator2.Size = new System.Drawing.Size(6, 25); RedrawProgressBar.Name = "RedrawProgressBar"; RedrawProgressBar.Size = new System.Drawing.Size(100, 22); RedrawProgressBar.Visible = false; toolStripSeparator4.Name = "toolStripSeparator4"; toolStripSeparator4.Size = new System.Drawing.Size(6, 25); btnInicio.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; btnInicio.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnInicio.Image"); btnInicio.ImageTransparentColor = System.Drawing.Color.Magenta; btnInicio.Name = "btnInicio"; btnInicio.Size = new System.Drawing.Size(23, 22); btnInicio.Text = "Inicio"; btnInicio.Click += new System.EventHandler(btnInicio_Click); btnEjecutar.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; btnEjecutar.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnEjecutar.Image"); btnEjecutar.ImageTransparentColor = System.Drawing.Color.Magenta; btnEjecutar.Name = "btnEjecutar"; btnEjecutar.Size = new System.Drawing.Size(23, 22); btnEjecutar.Text = "Ejecutar"; btnEjecutar.Click += new System.EventHandler(btnEjecutar_Click); btnPausa.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; btnPausa.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnPausa.Image"); btnPausa.ImageTransparentColor = System.Drawing.Color.Magenta; btnPausa.Name = "btnPausa"; btnPausa.Size = new System.Drawing.Size(23, 22); btnPausa.Text = "Pausa"; btnPausa.Click += new System.EventHandler(btnPausa_Click); btnDetener.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; btnDetener.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnDetener.Image"); btnDetener.ImageTransparentColor = System.Drawing.Color.Magenta; btnDetener.Name = "btnDetener"; btnDetener.Size = new System.Drawing.Size(23, 22); btnDetener.Text = "Detener"; btnDetener.Click += new System.EventHandler(btnDetener_Click); btnConfiguracionConsultaHistorica.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; btnConfiguracionConsultaHistorica.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnConfiguracionConsultaHistorica.Image"); btnConfiguracionConsultaHistorica.ImageTransparentColor = System.Drawing.Color.Magenta; btnConfiguracionConsultaHistorica.Name = "btnConfiguracionConsultaHistorica"; btnConfiguracionConsultaHistorica.Size = new System.Drawing.Size(23, 22); btnConfiguracionConsultaHistorica.Text = "Configuraci\u00F3n"; btnConfiguracionConsultaHistorica.Click += new System.EventHandler(btnConfiguracionConsultaHistorica_Click); lblInformation.AutoSize = true; lblInformation.Location = new System.Drawing.Point(12, 45); lblInformation.Name = "lblInformation"; lblInformation.Size = new System.Drawing.Size(69, 13); lblInformation.TabIndex = 1; lblInformation.Text = "lblInformation"; panel1.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; panel1.Controls.Add(udRegistrosPorSegundo); panel1.Controls.Add(lblPosicion); panel1.Controls.Add(trackPosicion); panel1.Controls.Add(lblEstado); panel1.Location = new System.Drawing.Point(0, 189); panel1.Name = "panel1"; panel1.Size = new System.Drawing.Size(142, 77); panel1.TabIndex = 2; udRegistrosPorSegundo.Dock = System.Windows.Forms.DockStyle.Top; udRegistrosPorSegundo.Location = new System.Drawing.Point(0, 54); int[] iArr1 = new int[4]; iArr1[0] = 50; udRegistrosPorSegundo.Maximum = new System.Decimal(iArr1); int[] iArr2 = new int[4]; iArr2[0] = 1; udRegistrosPorSegundo.Minimum = new System.Decimal(iArr2); udRegistrosPorSegundo.Name = "udRegistrosPorSegundo"; udRegistrosPorSegundo.Size = new System.Drawing.Size(142, 20); udRegistrosPorSegundo.TabIndex = 3; int[] iArr3 = new int[4]; iArr3[0] = 1; udRegistrosPorSegundo.Value = new System.Decimal(iArr3); udRegistrosPorSegundo.ValueChanged += new System.EventHandler(udRegistrosPorSegundo_ValueChanged); lblPosicion.Dock = System.Windows.Forms.DockStyle.Top; lblPosicion.Location = new System.Drawing.Point(0, 41); lblPosicion.Name = "lblPosicion"; lblPosicion.Size = new System.Drawing.Size(142, 13); lblPosicion.TabIndex = 2; trackPosicion.AutoSize = false; trackPosicion.Dock = System.Windows.Forms.DockStyle.Top; trackPosicion.Location = new System.Drawing.Point(0, 13); trackPosicion.Maximum = 1000000; trackPosicion.Name = "trackPosicion"; trackPosicion.Size = new System.Drawing.Size(142, 28); trackPosicion.TabIndex = 1; trackPosicion.TickFrequency = 0; trackPosicion.TickStyle = System.Windows.Forms.TickStyle.None; trackPosicion.Scroll += new System.EventHandler(trackPosicion_Scroll); lblEstado.Dock = System.Windows.Forms.DockStyle.Top; lblEstado.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); lblEstado.ForeColor = System.Drawing.Color.Green; lblEstado.Location = new System.Drawing.Point(0, 0); lblEstado.Name = "lblEstado"; lblEstado.Size = new System.Drawing.Size(142, 13); lblEstado.TabIndex = 0; lblEstado.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 13.0F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoSize = true; BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; ClientSize = new System.Drawing.Size(542, 266); Controls.Add(panel1); Controls.Add(lblInformation); Controls.Add(toolStrip1); DoubleBuffered = true; Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); Name = "MapForm"; Text = "Mapa"; MouseUp += new System.Windows.Forms.MouseEventHandler(MapForm_MouseUp); Scroll += new System.Windows.Forms.ScrollEventHandler(MapForm_Scroll); SizeChanged += new System.EventHandler(MapForm_SizeChanged); MouseDown += new System.Windows.Forms.MouseEventHandler(MapForm_MouseDown); FormClosing += new System.Windows.Forms.FormClosingEventHandler(MapForm_FormClosing); MouseMove += new System.Windows.Forms.MouseEventHandler(MapForm_MouseMove); toolStrip1.ResumeLayout(false); toolStrip1.PerformLayout(); panel1.ResumeLayout(false); udRegistrosPorSegundo.EndInit(); trackPosicion.EndInit(); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { listViewPlaces = new System.Windows.Forms.ListView(); columnHeaderName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); columnHeaderParent = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); btnDelete = new System.Windows.Forms.Button(); btnAdd = new System.Windows.Forms.Button(); btnRefresh = new System.Windows.Forms.Button(); comboBoxFilterParent = new System.Windows.Forms.ComboBox(); txtPlace_id = new System.Windows.Forms.TextBox(); txtParentLocation = new System.Windows.Forms.TextBox(); txtName = new System.Windows.Forms.TextBox(); txtDescription = new System.Windows.Forms.TextBox(); lblPlaceId = new System.Windows.Forms.Label(); lblName = new System.Windows.Forms.Label(); lblDescription = new System.Windows.Forms.Label(); lblParent = new System.Windows.Forms.Label(); lblFilterParent = new System.Windows.Forms.Label(); btnSave = new System.Windows.Forms.Button(); SuspendLayout(); // // listViewPlaces // listViewPlaces.Alignment = System.Windows.Forms.ListViewAlignment.Left; listViewPlaces.AutoArrange = false; listViewPlaces.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { columnHeaderName, columnHeaderParent }); listViewPlaces.FullRowSelect = true; listViewPlaces.GridLines = true; listViewPlaces.Location = new System.Drawing.Point(12, 12); listViewPlaces.Name = "listViewPlaces"; listViewPlaces.Size = new System.Drawing.Size(400, 359); listViewPlaces.TabIndex = 0; listViewPlaces.UseCompatibleStateImageBehavior = false; listViewPlaces.View = System.Windows.Forms.View.Details; listViewPlaces.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(listViewPlaces_ColumnClick); listViewPlaces.SelectedIndexChanged += new System.EventHandler(listViewPlaces_SelectedIndexChanged); // // columnHeaderName // columnHeaderName.Text = "Name"; columnHeaderName.Width = 200; // // columnHeaderParent // columnHeaderParent.Text = "Parent Location"; columnHeaderParent.Width = 200; // // btnDelete // btnDelete.Location = new System.Drawing.Point(582, 390); btnDelete.Name = "btnDelete"; btnDelete.Size = new System.Drawing.Size(75, 23); btnDelete.TabIndex = 1; btnDelete.Text = "Delete"; btnDelete.UseVisualStyleBackColor = true; btnDelete.Click += new System.EventHandler(btnDelete_Click); // // btnAdd // btnAdd.Location = new System.Drawing.Point(491, 390); btnAdd.Name = "btnAdd"; btnAdd.Size = new System.Drawing.Size(75, 23); btnAdd.TabIndex = 2; btnAdd.Text = "Add"; btnAdd.UseVisualStyleBackColor = true; btnAdd.Click += new System.EventHandler(btnAdd_Click); // // btnRefresh // btnRefresh.Location = new System.Drawing.Point(139, 390); btnRefresh.Name = "btnRefresh"; btnRefresh.Size = new System.Drawing.Size(75, 23); btnRefresh.TabIndex = 3; btnRefresh.Text = "Refresh"; btnRefresh.UseVisualStyleBackColor = true; btnRefresh.Click += new System.EventHandler(btnRefresh_Click); // // comboBoxFilterParent // comboBoxFilterParent.FormattingEnabled = true; comboBoxFilterParent.Location = new System.Drawing.Point(12, 390); comboBoxFilterParent.Name = "comboBoxFilterParent"; comboBoxFilterParent.Size = new System.Drawing.Size(121, 21); comboBoxFilterParent.TabIndex = 4; comboBoxFilterParent.SelectedIndexChanged += new System.EventHandler(comboBoxFilterParent_SelectedIndexChanged); // // txtPlace_id // txtPlace_id.Location = new System.Drawing.Point(501, 12); txtPlace_id.Name = "txtPlace_id"; txtPlace_id.Size = new System.Drawing.Size(156, 20); txtPlace_id.TabIndex = 5; // // txtParentLocation // txtParentLocation.Location = new System.Drawing.Point(501, 68); txtParentLocation.Name = "txtParentLocation"; txtParentLocation.Size = new System.Drawing.Size(156, 20); txtParentLocation.TabIndex = 6; // // txtName // txtName.Location = new System.Drawing.Point(501, 38); txtName.Name = "txtName"; txtName.Size = new System.Drawing.Size(156, 20); txtName.TabIndex = 7; // // txtDescription // txtDescription.Location = new System.Drawing.Point(501, 94); txtDescription.Multiline = true; txtDescription.Name = "txtDescription"; txtDescription.Size = new System.Drawing.Size(156, 97); txtDescription.TabIndex = 8; // // lblPlaceId // lblPlaceId.AutoSize = true; lblPlaceId.Location = new System.Drawing.Point(418, 15); lblPlaceId.Name = "lblPlaceId"; lblPlaceId.Size = new System.Drawing.Size(51, 13); lblPlaceId.TabIndex = 9; lblPlaceId.Text = "Place_ID"; // // lblName // lblName.AutoSize = true; lblName.Location = new System.Drawing.Point(418, 41); lblName.Name = "lblName"; lblName.Size = new System.Drawing.Size(35, 13); lblName.TabIndex = 10; lblName.Text = "Name"; // // lblDescription // lblDescription.AutoSize = true; lblDescription.Location = new System.Drawing.Point(418, 97); lblDescription.Name = "lblDescription"; lblDescription.Size = new System.Drawing.Size(60, 13); lblDescription.TabIndex = 11; lblDescription.Text = "Description"; // // lblParent // lblParent.AutoSize = true; lblParent.Location = new System.Drawing.Point(418, 71); lblParent.Name = "lblParent"; lblParent.Size = new System.Drawing.Size(82, 13); lblParent.TabIndex = 12; lblParent.Text = "Parent Location"; // // lblFilterParent // lblFilterParent.AutoSize = true; lblFilterParent.Location = new System.Drawing.Point(12, 374); lblFilterParent.Name = "lblFilterParent"; lblFilterParent.Size = new System.Drawing.Size(121, 13); lblFilterParent.TabIndex = 13; lblFilterParent.Text = "Filter by Parent Location"; // // btnSave // btnSave.Location = new System.Drawing.Point(501, 198); btnSave.Name = "btnSave"; btnSave.Size = new System.Drawing.Size(75, 23); btnSave.TabIndex = 14; btnSave.Text = "Save"; btnSave.UseVisualStyleBackColor = true; btnSave.Click += new System.EventHandler(btnSave_Click); // // Places_Manage // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; ClientSize = new System.Drawing.Size(679, 421); Controls.Add(btnSave); Controls.Add(lblFilterParent); Controls.Add(lblParent); Controls.Add(lblDescription); Controls.Add(lblName); Controls.Add(lblPlaceId); Controls.Add(txtDescription); Controls.Add(txtName); Controls.Add(txtParentLocation); Controls.Add(txtPlace_id); Controls.Add(comboBoxFilterParent); Controls.Add(btnRefresh); Controls.Add(btnAdd); Controls.Add(btnDelete); Controls.Add(listViewPlaces); Name = "Places_Manage"; Text = "Places_Manage"; Load += new System.EventHandler(Places_Manage_Load); ResumeLayout(false); PerformLayout(); }
public MenuItem(MenuMerge mergeType, int mergeOrder, Shortcut shortcut, string text, System.EventHandler onClick, System.EventHandler onPopup, System.EventHandler onSelect, MenuItem[] items) { }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); _MenuStripMain = new System.Windows.Forms.MenuStrip(); _StatusStripMain = new System.Windows.Forms.StatusStrip(); _SplitContainerMain = new System.Windows.Forms.SplitContainer(); _DataGridViewDevicesList = new System.Windows.Forms.DataGridView(); _ContextMenuStripDevicesList = new System.Windows.Forms.ContextMenuStrip(components); _ToolStripMenuItemAddDevice = new System.Windows.Forms.ToolStripMenuItem(); _ToolStripMenuItemRemoveDevice = new System.Windows.Forms.ToolStripMenuItem(); _TabControlDevice = new System.Windows.Forms.TabControl(); _TabPageHoldingRegisters = new System.Windows.Forms.TabPage(); _DataGridViewHoldingRegisters = new System.Windows.Forms.DataGridView(); _ContextMenuStripHoldingRegisters = new System.Windows.Forms.ContextMenuStrip(components); _ToolStripMenuItemAddHoldingRegister = new System.Windows.Forms.ToolStripMenuItem(); _ToolStripMenuItemRemoveHoldingRegister = new System.Windows.Forms.ToolStripMenuItem(); _TabPageInputRegisters = new System.Windows.Forms.TabPage(); _DataGridViewInputRegisters = new System.Windows.Forms.DataGridView(); _ContextMenuStripInputRegisters = new System.Windows.Forms.ContextMenuStrip(components); _ToolStripMenuItemAddInputRegister = new System.Windows.Forms.ToolStripMenuItem(); _ToolStripMenuItemRemoveInputRegister = new System.Windows.Forms.ToolStripMenuItem(); _TabPageCoils = new System.Windows.Forms.TabPage(); _DataGridViewCoils = new System.Windows.Forms.DataGridView(); _ContextMenuStripCoils = new System.Windows.Forms.ContextMenuStrip(components); _ToolStripMenuItemAddCoil = new System.Windows.Forms.ToolStripMenuItem(); _ToolStripMenuItemRemoveCoil = new System.Windows.Forms.ToolStripMenuItem(); _TabPageDiscretesInputs = new System.Windows.Forms.TabPage(); _DataGridViewDiscretesInputs = new System.Windows.Forms.DataGridView(); _ContextMenuStripDiscretesInputs = new System.Windows.Forms.ContextMenuStrip(components); _ToolStripMenuItemAddDiscreteInput = new System.Windows.Forms.ToolStripMenuItem(); _ToolStripMenuItemRemoveDiscreteInput = new System.Windows.Forms.ToolStripMenuItem(); _TabPageFiles = new System.Windows.Forms.TabPage(); _SplitContainerFiles = new System.Windows.Forms.SplitContainer(); _DataGridViewFiles = new System.Windows.Forms.DataGridView(); _ContextMenuStripFiles = new System.Windows.Forms.ContextMenuStrip(components); _ToolStripMenuItemAddFile = new System.Windows.Forms.ToolStripMenuItem(); _ToolStripMenuItemRemoveFile = new System.Windows.Forms.ToolStripMenuItem(); _DataGridViewRecords = new System.Windows.Forms.DataGridView(); _ContextMenuStripRecords = new System.Windows.Forms.ContextMenuStrip(components); _ToolStripMenuItemAddRecord = new System.Windows.Forms.ToolStripMenuItem(); _ToolStripMenuItemRemoveRecord = new System.Windows.Forms.ToolStripMenuItem(); _SplitContainerMain.Panel1.SuspendLayout(); _SplitContainerMain.Panel2.SuspendLayout(); _SplitContainerMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_DataGridViewDevicesList)).BeginInit(); _ContextMenuStripDevicesList.SuspendLayout(); _TabControlDevice.SuspendLayout(); _TabPageHoldingRegisters.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_DataGridViewHoldingRegisters)).BeginInit(); _ContextMenuStripHoldingRegisters.SuspendLayout(); _TabPageInputRegisters.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_DataGridViewInputRegisters)).BeginInit(); _ContextMenuStripInputRegisters.SuspendLayout(); _TabPageCoils.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_DataGridViewCoils)).BeginInit(); _ContextMenuStripCoils.SuspendLayout(); _TabPageDiscretesInputs.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_DataGridViewDiscretesInputs)).BeginInit(); _ContextMenuStripDiscretesInputs.SuspendLayout(); _TabPageFiles.SuspendLayout(); _SplitContainerFiles.Panel1.SuspendLayout(); _SplitContainerFiles.Panel2.SuspendLayout(); _SplitContainerFiles.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_DataGridViewFiles)).BeginInit(); _ContextMenuStripFiles.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_DataGridViewRecords)).BeginInit(); _ContextMenuStripRecords.SuspendLayout(); SuspendLayout(); // // _MenuStripMain // _MenuStripMain.Location = new System.Drawing.Point(0, 0); _MenuStripMain.Name = "_MenuStripMain"; _MenuStripMain.Size = new System.Drawing.Size(880, 24); _MenuStripMain.TabIndex = 0; _MenuStripMain.Text = "menuStrip1"; // // _StatusStripMain // _StatusStripMain.Location = new System.Drawing.Point(0, 434); _StatusStripMain.Name = "_StatusStripMain"; _StatusStripMain.Size = new System.Drawing.Size(880, 22); _StatusStripMain.TabIndex = 1; _StatusStripMain.Text = "statusStrip1"; // // _SplitContainerMain // _SplitContainerMain.Dock = System.Windows.Forms.DockStyle.Fill; _SplitContainerMain.Location = new System.Drawing.Point(0, 24); _SplitContainerMain.Name = "_SplitContainerMain"; // // _SplitContainerMain.Panel1 // _SplitContainerMain.Panel1.Controls.Add(_DataGridViewDevicesList); // // _SplitContainerMain.Panel2 // _SplitContainerMain.Panel2.Controls.Add(_TabControlDevice); _SplitContainerMain.Size = new System.Drawing.Size(880, 410); _SplitContainerMain.SplitterDistance = 292; _SplitContainerMain.TabIndex = 3; // // _DataGridViewDevicesList // _DataGridViewDevicesList.AllowUserToAddRows = false; _DataGridViewDevicesList.AllowUserToDeleteRows = false; _DataGridViewDevicesList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; _DataGridViewDevicesList.ContextMenuStrip = _ContextMenuStripDevicesList; _DataGridViewDevicesList.Dock = System.Windows.Forms.DockStyle.Fill; _DataGridViewDevicesList.Location = new System.Drawing.Point(0, 0); _DataGridViewDevicesList.Name = "_DataGridViewDevicesList"; _DataGridViewDevicesList.RowTemplate.Height = 24; _DataGridViewDevicesList.Size = new System.Drawing.Size(292, 410); _DataGridViewDevicesList.TabIndex = 0; // // _ContextMenuStripDevicesList // _ContextMenuStripDevicesList.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { _ToolStripMenuItemAddDevice, _ToolStripMenuItemRemoveDevice}); _ContextMenuStripDevicesList.Name = "_ContextMenuStripTreeViewNetwork"; _ContextMenuStripDevicesList.Size = new System.Drawing.Size(146, 52); // // _ToolStripMenuItemAddDevice // _ToolStripMenuItemAddDevice.Name = "_ToolStripMenuItemAddDevice"; _ToolStripMenuItemAddDevice.Size = new System.Drawing.Size(145, 24); _ToolStripMenuItemAddDevice.Text = "Добавить"; _ToolStripMenuItemAddDevice.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddDevice_Click); // // _ToolStripMenuItemRemoveDevice // _ToolStripMenuItemRemoveDevice.Name = "_ToolStripMenuItemRemoveDevice"; _ToolStripMenuItemRemoveDevice.Size = new System.Drawing.Size(145, 24); _ToolStripMenuItemRemoveDevice.Text = "Удалить"; _ToolStripMenuItemRemoveDevice.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveDevice_Click); // // _TabControlDevice // _TabControlDevice.Controls.Add(_TabPageHoldingRegisters); _TabControlDevice.Controls.Add(_TabPageInputRegisters); _TabControlDevice.Controls.Add(_TabPageCoils); _TabControlDevice.Controls.Add(_TabPageDiscretesInputs); _TabControlDevice.Controls.Add(_TabPageFiles); _TabControlDevice.Dock = System.Windows.Forms.DockStyle.Fill; _TabControlDevice.Location = new System.Drawing.Point(0, 0); _TabControlDevice.Name = "_TabControlDevice"; _TabControlDevice.SelectedIndex = 0; _TabControlDevice.Size = new System.Drawing.Size(584, 410); _TabControlDevice.TabIndex = 0; // // _TabPageHoldingRegisters // _TabPageHoldingRegisters.Controls.Add(_DataGridViewHoldingRegisters); _TabPageHoldingRegisters.Location = new System.Drawing.Point(4, 25); _TabPageHoldingRegisters.Name = "_TabPageHoldingRegisters"; _TabPageHoldingRegisters.Padding = new System.Windows.Forms.Padding(3); _TabPageHoldingRegisters.Size = new System.Drawing.Size(576, 381); _TabPageHoldingRegisters.TabIndex = 0; _TabPageHoldingRegisters.Text = "Holding Registers"; _TabPageHoldingRegisters.UseVisualStyleBackColor = true; // // _DataGridViewHoldingRegisters // _DataGridViewHoldingRegisters.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; _DataGridViewHoldingRegisters.ContextMenuStrip = _ContextMenuStripHoldingRegisters; _DataGridViewHoldingRegisters.Dock = System.Windows.Forms.DockStyle.Fill; _DataGridViewHoldingRegisters.Location = new System.Drawing.Point(3, 3); _DataGridViewHoldingRegisters.MultiSelect = false; _DataGridViewHoldingRegisters.Name = "_DataGridViewHoldingRegisters"; _DataGridViewHoldingRegisters.RowTemplate.Height = 24; _DataGridViewHoldingRegisters.Size = new System.Drawing.Size(570, 375); _DataGridViewHoldingRegisters.TabIndex = 0; // // _ContextMenuStripHoldingRegisters // _ContextMenuStripHoldingRegisters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { _ToolStripMenuItemAddHoldingRegister, _ToolStripMenuItemRemoveHoldingRegister}); _ContextMenuStripHoldingRegisters.Name = "_ContextMenuStripHoldingRegisters"; _ContextMenuStripHoldingRegisters.Size = new System.Drawing.Size(204, 52); // // _ToolStripMenuItemAddHoldingRegister // _ToolStripMenuItemAddHoldingRegister.Name = "_ToolStripMenuItemAddHoldingRegister"; _ToolStripMenuItemAddHoldingRegister.Size = new System.Drawing.Size(203, 24); _ToolStripMenuItemAddHoldingRegister.Text = "Добавить регистр"; _ToolStripMenuItemAddHoldingRegister.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddHoldingRegister_Click); // // _ToolStripMenuItemRemoveHoldingRegister // _ToolStripMenuItemRemoveHoldingRegister.Name = "_ToolStripMenuItemRemoveHoldingRegister"; _ToolStripMenuItemRemoveHoldingRegister.Size = new System.Drawing.Size(203, 24); _ToolStripMenuItemRemoveHoldingRegister.Text = "Удалить регистр"; _ToolStripMenuItemRemoveHoldingRegister.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveHoldingRegister_Click); // // _TabPageInputRegisters // _TabPageInputRegisters.Controls.Add(_DataGridViewInputRegisters); _TabPageInputRegisters.Location = new System.Drawing.Point(4, 25); _TabPageInputRegisters.Name = "_TabPageInputRegisters"; _TabPageInputRegisters.Padding = new System.Windows.Forms.Padding(3); _TabPageInputRegisters.Size = new System.Drawing.Size(576, 381); _TabPageInputRegisters.TabIndex = 1; _TabPageInputRegisters.Text = "Input Registers"; _TabPageInputRegisters.UseVisualStyleBackColor = true; // // _DataGridViewInputRegisters // _DataGridViewInputRegisters.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; _DataGridViewInputRegisters.ContextMenuStrip = _ContextMenuStripInputRegisters; _DataGridViewInputRegisters.Dock = System.Windows.Forms.DockStyle.Fill; _DataGridViewInputRegisters.Location = new System.Drawing.Point(3, 3); _DataGridViewInputRegisters.Name = "_DataGridViewInputRegisters"; _DataGridViewInputRegisters.RowTemplate.Height = 24; _DataGridViewInputRegisters.Size = new System.Drawing.Size(570, 375); _DataGridViewInputRegisters.TabIndex = 0; // // _ContextMenuStripInputRegisters // _ContextMenuStripInputRegisters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { _ToolStripMenuItemAddInputRegister, _ToolStripMenuItemRemoveInputRegister}); _ContextMenuStripInputRegisters.Name = "_ContextMenuStripInputRegisters"; _ContextMenuStripInputRegisters.Size = new System.Drawing.Size(204, 52); // // _ToolStripMenuItemAddInputRegister // _ToolStripMenuItemAddInputRegister.Name = "_ToolStripMenuItemAddInputRegister"; _ToolStripMenuItemAddInputRegister.Size = new System.Drawing.Size(203, 24); _ToolStripMenuItemAddInputRegister.Text = "Добавить регистр"; _ToolStripMenuItemAddInputRegister.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddInputRegister_Click); // // _ToolStripMenuItemRemoveInputRegister // _ToolStripMenuItemRemoveInputRegister.Name = "_ToolStripMenuItemRemoveInputRegister"; _ToolStripMenuItemRemoveInputRegister.Size = new System.Drawing.Size(203, 24); _ToolStripMenuItemRemoveInputRegister.Text = "Удалить регистр"; _ToolStripMenuItemRemoveInputRegister.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveInputRegister_Click); // // _TabPageCoils // _TabPageCoils.Controls.Add(_DataGridViewCoils); _TabPageCoils.Location = new System.Drawing.Point(4, 25); _TabPageCoils.Name = "_TabPageCoils"; _TabPageCoils.Size = new System.Drawing.Size(576, 381); _TabPageCoils.TabIndex = 2; _TabPageCoils.Text = "Coils"; _TabPageCoils.UseVisualStyleBackColor = true; // // _DataGridViewCoils // _DataGridViewCoils.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; _DataGridViewCoils.ContextMenuStrip = _ContextMenuStripCoils; _DataGridViewCoils.Dock = System.Windows.Forms.DockStyle.Fill; _DataGridViewCoils.Location = new System.Drawing.Point(0, 0); _DataGridViewCoils.Name = "_DataGridViewCoils"; _DataGridViewCoils.RowTemplate.Height = 24; _DataGridViewCoils.Size = new System.Drawing.Size(576, 381); _DataGridViewCoils.TabIndex = 0; // // _ContextMenuStripCoils // _ContextMenuStripCoils.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { _ToolStripMenuItemAddCoil, _ToolStripMenuItemRemoveCoil}); _ContextMenuStripCoils.Name = "_ContextMenuStripCoils"; _ContextMenuStripCoils.Size = new System.Drawing.Size(278, 52); // // _ToolStripMenuItemAddCoil // _ToolStripMenuItemAddCoil.Name = "_ToolStripMenuItemAddCoil"; _ToolStripMenuItemAddCoil.Size = new System.Drawing.Size(277, 24); _ToolStripMenuItemAddCoil.Text = "Добавить дискр. вход/выход"; _ToolStripMenuItemAddCoil.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddCoil_Click); // // _ToolStripMenuItemRemoveCoil // _ToolStripMenuItemRemoveCoil.Name = "_ToolStripMenuItemRemoveCoil"; _ToolStripMenuItemRemoveCoil.Size = new System.Drawing.Size(277, 24); _ToolStripMenuItemRemoveCoil.Text = "Удалить дискр. вход/выход"; _ToolStripMenuItemRemoveCoil.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveCoil_Click); // // _TabPageDiscretesInputs // _TabPageDiscretesInputs.Controls.Add(_DataGridViewDiscretesInputs); _TabPageDiscretesInputs.Location = new System.Drawing.Point(4, 25); _TabPageDiscretesInputs.Name = "_TabPageDiscretesInputs"; _TabPageDiscretesInputs.Size = new System.Drawing.Size(576, 381); _TabPageDiscretesInputs.TabIndex = 3; _TabPageDiscretesInputs.Text = "Discretes Inputs"; _TabPageDiscretesInputs.UseVisualStyleBackColor = true; // // _DataGridViewDiscretesInputs // _DataGridViewDiscretesInputs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; _DataGridViewDiscretesInputs.ContextMenuStrip = _ContextMenuStripDiscretesInputs; _DataGridViewDiscretesInputs.Dock = System.Windows.Forms.DockStyle.Fill; _DataGridViewDiscretesInputs.Location = new System.Drawing.Point(0, 0); _DataGridViewDiscretesInputs.Name = "_DataGridViewDiscretesInputs"; _DataGridViewDiscretesInputs.RowTemplate.Height = 24; _DataGridViewDiscretesInputs.Size = new System.Drawing.Size(576, 381); _DataGridViewDiscretesInputs.TabIndex = 0; // // _ContextMenuStripDiscretesInputs // _ContextMenuStripDiscretesInputs.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { _ToolStripMenuItemAddDiscreteInput, _ToolStripMenuItemRemoveDiscreteInput}); _ContextMenuStripDiscretesInputs.Name = "_ContextMenuStripDiscretesInputs"; _ContextMenuStripDiscretesInputs.Size = new System.Drawing.Size(269, 52); // // _ToolStripMenuItemAddDiscreteInput // _ToolStripMenuItemAddDiscreteInput.Name = "_ToolStripMenuItemAddDiscreteInput"; _ToolStripMenuItemAddDiscreteInput.Size = new System.Drawing.Size(268, 24); _ToolStripMenuItemAddDiscreteInput.Text = "Добавить дискретный вход"; _ToolStripMenuItemAddDiscreteInput.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddDiscreteInput_Click); // // _ToolStripMenuItemRemoveDiscreteInput // _ToolStripMenuItemRemoveDiscreteInput.Name = "_ToolStripMenuItemRemoveDiscreteInput"; _ToolStripMenuItemRemoveDiscreteInput.Size = new System.Drawing.Size(268, 24); _ToolStripMenuItemRemoveDiscreteInput.Text = "Удалить дискретный вход"; _ToolStripMenuItemRemoveDiscreteInput.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveDiscreteInput_Click); // // _TabPageFiles // _TabPageFiles.Controls.Add(_SplitContainerFiles); _TabPageFiles.Location = new System.Drawing.Point(4, 25); _TabPageFiles.Name = "_TabPageFiles"; _TabPageFiles.Size = new System.Drawing.Size(576, 381); _TabPageFiles.TabIndex = 4; _TabPageFiles.Text = "Files"; _TabPageFiles.UseVisualStyleBackColor = true; // // _SplitContainerFiles // _SplitContainerFiles.Dock = System.Windows.Forms.DockStyle.Fill; _SplitContainerFiles.Location = new System.Drawing.Point(0, 0); _SplitContainerFiles.Name = "_SplitContainerFiles"; _SplitContainerFiles.Orientation = System.Windows.Forms.Orientation.Horizontal; // // _SplitContainerFiles.Panel1 // _SplitContainerFiles.Panel1.Controls.Add(_DataGridViewFiles); // // _SplitContainerFiles.Panel2 // _SplitContainerFiles.Panel2.Controls.Add(_DataGridViewRecords); _SplitContainerFiles.Size = new System.Drawing.Size(576, 381); _SplitContainerFiles.SplitterDistance = 194; _SplitContainerFiles.TabIndex = 0; // // _DataGridViewFiles // _DataGridViewFiles.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; _DataGridViewFiles.ContextMenuStrip = _ContextMenuStripFiles; _DataGridViewFiles.Dock = System.Windows.Forms.DockStyle.Fill; _DataGridViewFiles.Location = new System.Drawing.Point(0, 0); _DataGridViewFiles.Name = "_DataGridViewFiles"; _DataGridViewFiles.RowTemplate.Height = 24; _DataGridViewFiles.Size = new System.Drawing.Size(576, 194); _DataGridViewFiles.TabIndex = 0; // // _ContextMenuStripFiles // _ContextMenuStripFiles.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { _ToolStripMenuItemAddFile, _ToolStripMenuItemRemoveFile}); _ContextMenuStripFiles.Name = "_ContextMenuStripFiles"; _ContextMenuStripFiles.Size = new System.Drawing.Size(185, 52); // // _ToolStripMenuItemAddFile // _ToolStripMenuItemAddFile.Name = "_ToolStripMenuItemAddFile"; _ToolStripMenuItemAddFile.Size = new System.Drawing.Size(184, 24); _ToolStripMenuItemAddFile.Text = "Добавить файл"; _ToolStripMenuItemAddFile.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddFile_Click); // // _ToolStripMenuItemRemoveFile // _ToolStripMenuItemRemoveFile.Name = "_ToolStripMenuItemRemoveFile"; _ToolStripMenuItemRemoveFile.Size = new System.Drawing.Size(184, 24); _ToolStripMenuItemRemoveFile.Text = "Удалить файл"; _ToolStripMenuItemRemoveFile.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveFile_Click); // // _DataGridViewRecords // _DataGridViewRecords.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; _DataGridViewRecords.ContextMenuStrip = _ContextMenuStripRecords; _DataGridViewRecords.Dock = System.Windows.Forms.DockStyle.Fill; _DataGridViewRecords.Location = new System.Drawing.Point(0, 0); _DataGridViewRecords.Name = "_DataGridViewRecords"; _DataGridViewRecords.RowTemplate.Height = 24; _DataGridViewRecords.Size = new System.Drawing.Size(576, 183); _DataGridViewRecords.TabIndex = 0; // // _ContextMenuStripRecords // _ContextMenuStripRecords.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { _ToolStripMenuItemAddRecord, _ToolStripMenuItemRemoveRecord}); _ContextMenuStripRecords.Name = "_ContextMenuStripRecords"; _ContextMenuStripRecords.Size = new System.Drawing.Size(198, 52); // // _ToolStripMenuItemAddRecord // _ToolStripMenuItemAddRecord.Name = "_ToolStripMenuItemAddRecord"; _ToolStripMenuItemAddRecord.Size = new System.Drawing.Size(197, 24); _ToolStripMenuItemAddRecord.Text = "Добавить запись"; _ToolStripMenuItemAddRecord.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddRecord_Click); // // _ToolStripMenuItemRemoveRecord // _ToolStripMenuItemRemoveRecord.Name = "_ToolStripMenuItemRemoveRecord"; _ToolStripMenuItemRemoveRecord.Size = new System.Drawing.Size(197, 24); _ToolStripMenuItemRemoveRecord.Text = "Удалить запись"; _ToolStripMenuItemRemoveRecord.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveRecord_Click); // // FormEditNetworkController // AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoSize = true; ClientSize = new System.Drawing.Size(880, 456); Controls.Add(_SplitContainerMain); Controls.Add(_StatusStripMain); Controls.Add(_MenuStripMain); MainMenuStrip = _MenuStripMain; MaximizeBox = false; MinimizeBox = false; Name = "FormEditNetworkController"; ShowIcon = false; ShowInTaskbar = false; StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; Text = "Редактор сети Modbus"; Load += new System.EventHandler(EventHandler_FormEditNetworkController_Load); FormClosed += new System.Windows.Forms.FormClosedEventHandler(EventHandler_FormEditNetworkController_FormClosed); FormClosing += new System.Windows.Forms.FormClosingEventHandler(EventHandler_FormEditNetworkController_FormClosing); _SplitContainerMain.Panel1.ResumeLayout(false); _SplitContainerMain.Panel2.ResumeLayout(false); _SplitContainerMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_DataGridViewDevicesList)).EndInit(); _ContextMenuStripDevicesList.ResumeLayout(false); _TabControlDevice.ResumeLayout(false); _TabPageHoldingRegisters.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_DataGridViewHoldingRegisters)).EndInit(); _ContextMenuStripHoldingRegisters.ResumeLayout(false); _TabPageInputRegisters.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_DataGridViewInputRegisters)).EndInit(); _ContextMenuStripInputRegisters.ResumeLayout(false); _TabPageCoils.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_DataGridViewCoils)).EndInit(); _ContextMenuStripCoils.ResumeLayout(false); _TabPageDiscretesInputs.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_DataGridViewDiscretesInputs)).EndInit(); _ContextMenuStripDiscretesInputs.ResumeLayout(false); _TabPageFiles.ResumeLayout(false); _SplitContainerFiles.Panel1.ResumeLayout(false); _SplitContainerFiles.Panel2.ResumeLayout(false); _SplitContainerFiles.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_DataGridViewFiles)).EndInit(); _ContextMenuStripFiles.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_DataGridViewRecords)).EndInit(); _ContextMenuStripRecords.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.ReferredCollectionTypeChanged -= handler; }
public ToolStripDropDownButton(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.ESuperPackageChanged -= handler; }
public void AttachEventHandler(string eventName, System.EventHandler eventHandler) { }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InternalStartup() { Startup += new System.EventHandler(ThisAddIn_Startup); Shutdown += new System.EventHandler(ThisAddIn_Shutdown); }
static void AddHandlerEvent(out System.EventHandler handler) { handler = new System.EventHandler(Handler); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { saveLoginAndPasswordButton = new System.Windows.Forms.Button(); loginInput = new System.Windows.Forms.TextBox(); label1 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label(); passwordInput = new System.Windows.Forms.TextBox(); linkLabel = new System.Windows.Forms.LinkLabel(); selectFolderToSaveModels = new System.Windows.Forms.Button(); selectedFolderForModels = new System.Windows.Forms.TextBox(); label3 = new System.Windows.Forms.Label(); SuspendLayout(); // // saveLoginAndPasswordButton // saveLoginAndPasswordButton.Location = new System.Drawing.Point(25, 136); saveLoginAndPasswordButton.Name = "saveLoginAndPasswordButton"; saveLoginAndPasswordButton.Size = new System.Drawing.Size(215, 23); saveLoginAndPasswordButton.TabIndex = 0; saveLoginAndPasswordButton.Text = "Save"; saveLoginAndPasswordButton.UseVisualStyleBackColor = true; saveLoginAndPasswordButton.Click += new System.EventHandler(button1_Click); // // loginInput // loginInput.Location = new System.Drawing.Point(94, 28); loginInput.Name = "loginInput"; loginInput.Size = new System.Drawing.Size(146, 20); loginInput.TabIndex = 1; // // label1 // label1.AutoSize = true; label1.Location = new System.Drawing.Point(22, 31); label1.Name = "label1"; label1.Size = new System.Drawing.Size(66, 13); label1.TabIndex = 3; label1.Text = "Login(email):"; // // label2 // label2.AutoSize = true; label2.Location = new System.Drawing.Point(22, 71); label2.Name = "label2"; label2.Size = new System.Drawing.Size(56, 13); label2.TabIndex = 4; label2.Text = "Password:"******"passwordInput"; passwordInput.PasswordChar = '*'; passwordInput.Size = new System.Drawing.Size(145, 20); passwordInput.TabIndex = 5; // // linkLabel // linkLabel.AutoSize = true; linkLabel.Location = new System.Drawing.Point(80, 108); linkLabel.Name = "linkLabel"; linkLabel.Size = new System.Drawing.Size(111, 13); linkLabel.TabIndex = 6; linkLabel.TabStop = true; linkLabel.Text = "Register new account"; // // selectFolderToSaveModels // selectFolderToSaveModels.Location = new System.Drawing.Point(25, 267); selectFolderToSaveModels.Name = "selectFolderToSaveModels"; selectFolderToSaveModels.Size = new System.Drawing.Size(215, 23); selectFolderToSaveModels.TabIndex = 7; selectFolderToSaveModels.Text = "Select Folder"; selectFolderToSaveModels.UseVisualStyleBackColor = true; selectFolderToSaveModels.Click += new System.EventHandler(selectFolderToSaveModels_Click); // // selectedFolderForModels // selectedFolderForModels.Location = new System.Drawing.Point(25, 230); selectedFolderForModels.Name = "selectedFolderForModels"; selectedFolderForModels.Size = new System.Drawing.Size(215, 20); selectedFolderForModels.TabIndex = 8; // // label3 // label3.AutoSize = true; label3.Location = new System.Drawing.Point(70, 199); label3.Name = "label3"; label3.Size = new System.Drawing.Size(121, 13); label3.TabIndex = 9; label3.Text = "Select foder for models :"; // // ConnectionSettings // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; ClientSize = new System.Drawing.Size(272, 316); Controls.Add(label3); Controls.Add(selectedFolderForModels); Controls.Add(selectFolderToSaveModels); Controls.Add(linkLabel); Controls.Add(passwordInput); Controls.Add(label2); Controls.Add(label1); Controls.Add(loginInput); Controls.Add(saveLoginAndPasswordButton); Name = "ConnectionSettings"; Text = "Settings"; Load += new System.EventHandler(ConnectionSettings_Load); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MAIN)); Adapters_CB = new ReaLTaiizor.Controls.ForeverComboBox(); Refresh_B = new ReaLTaiizor.Controls.LostAcceptButton(); Generate_B = new ReaLTaiizor.Controls.LostCancelButton(); Current_L = new ReaLTaiizor.Controls.ForeverLabel(); New_L = new ReaLTaiizor.Controls.ForeverLabel(); New_TB = new ReaLTaiizor.Controls.ForeverTextBox(); Current_TB = new ReaLTaiizor.Controls.ForeverTextBox(); Save_B = new ReaLTaiizor.Controls.LostButton(); Undo_B = new ReaLTaiizor.Controls.LostButton(); SuspendLayout(); // // Adapters_CB // Adapters_CB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); Adapters_CB.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(27)))), ((int)(((byte)(29))))); Adapters_CB.BGColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(37)))), ((int)(((byte)(39))))); Adapters_CB.Cursor = System.Windows.Forms.Cursors.Hand; Adapters_CB.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; Adapters_CB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; Adapters_CB.Font = new System.Drawing.Font("Segoe UI", 8F); Adapters_CB.ForeColor = System.Drawing.Color.White; Adapters_CB.FormattingEnabled = true; Adapters_CB.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(168)))), ((int)(((byte)(109))))); Adapters_CB.HoverFontColor = System.Drawing.Color.White; Adapters_CB.ItemHeight = 18; Adapters_CB.Location = new System.Drawing.Point(5, 39); Adapters_CB.MaxDropDownItems = 12; Adapters_CB.Name = "Adapters_CB"; Adapters_CB.Size = new System.Drawing.Size(394, 24); Adapters_CB.TabIndex = 3; Adapters_CB.SelectedIndexChanged += new System.EventHandler(Adapters_CB_SelectedIndexChanged); // // Refresh_B // Refresh_B.BackColor = System.Drawing.Color.SeaGreen; Refresh_B.Cursor = System.Windows.Forms.Cursors.Hand; Refresh_B.Font = new System.Drawing.Font("Segoe UI", 9F); Refresh_B.ForeColor = System.Drawing.Color.White; Refresh_B.HoverColor = System.Drawing.Color.ForestGreen; Refresh_B.Image = null; Refresh_B.Location = new System.Drawing.Point(295, 69); Refresh_B.Name = "Refresh_B"; Refresh_B.Size = new System.Drawing.Size(104, 29); Refresh_B.TabIndex = 5; Refresh_B.Text = "Refresh"; Refresh_B.Click += new System.EventHandler(Refresh_B_Click); // // Generate_B // Generate_B.BackColor = System.Drawing.Color.Crimson; Generate_B.Cursor = System.Windows.Forms.Cursors.Hand; Generate_B.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); Generate_B.ForeColor = System.Drawing.Color.White; Generate_B.HoverColor = System.Drawing.Color.IndianRed; Generate_B.Image = null; Generate_B.Location = new System.Drawing.Point(295, 104); Generate_B.Name = "Generate_B"; Generate_B.Size = new System.Drawing.Size(104, 29); Generate_B.TabIndex = 6; Generate_B.Text = "Generate"; Generate_B.Click += new System.EventHandler(Generate_B_Click); // // Current_L // Current_L.BackColor = System.Drawing.Color.Transparent; Current_L.Font = new System.Drawing.Font("Segoe UI", 10F); Current_L.ForeColor = System.Drawing.Color.LightGray; Current_L.Location = new System.Drawing.Point(5, 69); Current_L.Name = "Current_L"; Current_L.Size = new System.Drawing.Size(168, 29); Current_L.TabIndex = 8; Current_L.Text = "MAC Address Used:"; Current_L.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // New_L // New_L.BackColor = System.Drawing.Color.Transparent; New_L.Font = new System.Drawing.Font("Segoe UI", 10F); New_L.ForeColor = System.Drawing.Color.LightGray; New_L.Location = new System.Drawing.Point(5, 104); New_L.Name = "New_L"; New_L.Size = new System.Drawing.Size(168, 29); New_L.TabIndex = 10; New_L.Text = "New MAC Address:"; New_L.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // New_TB // New_TB.BackColor = System.Drawing.Color.Transparent; New_TB.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(47)))), ((int)(((byte)(49))))); New_TB.BorderColor = System.Drawing.Color.Crimson; New_TB.FocusOnHover = false; New_TB.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); New_TB.Location = new System.Drawing.Point(179, 104); New_TB.MaxLength = 12; New_TB.Multiline = false; New_TB.Name = "New_TB"; New_TB.ReadOnly = false; New_TB.Size = new System.Drawing.Size(110, 29); New_TB.TabIndex = 9; New_TB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; New_TB.UseSystemPasswordChar = false; New_TB.KeyUp += new System.Windows.Forms.KeyEventHandler(New_TB_KeyUp); New_TB.TextChanged += new System.EventHandler(New_TB_TextChanged); // // Current_TB // Current_TB.BackColor = System.Drawing.Color.Transparent; Current_TB.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(47)))), ((int)(((byte)(49))))); Current_TB.BorderColor = System.Drawing.Color.SeaGreen; Current_TB.FocusOnHover = false; Current_TB.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); Current_TB.Location = new System.Drawing.Point(179, 69); Current_TB.MaxLength = 12; Current_TB.Multiline = false; Current_TB.Name = "Current_TB"; Current_TB.ReadOnly = true; Current_TB.Size = new System.Drawing.Size(110, 29); Current_TB.TabIndex = 7; Current_TB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; Current_TB.UseSystemPasswordChar = false; // // Save_B // Save_B.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(38))))); Save_B.Cursor = System.Windows.Forms.Cursors.Hand; Save_B.Font = new System.Drawing.Font("Segoe UI", 9F); Save_B.ForeColor = System.Drawing.Color.White; Save_B.HoverColor = System.Drawing.Color.DodgerBlue; Save_B.Image = null; Save_B.Location = new System.Drawing.Point(5, 136); Save_B.Name = "Save_B"; Save_B.Size = new System.Drawing.Size(168, 35); Save_B.TabIndex = 11; Save_B.Text = "SAVE"; Save_B.Click += new System.EventHandler(Save_B_Click); // // Undo_B // Undo_B.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(38))))); Undo_B.Cursor = System.Windows.Forms.Cursors.Hand; Undo_B.Font = new System.Drawing.Font("Segoe UI", 9F); Undo_B.ForeColor = System.Drawing.Color.White; Undo_B.HoverColor = System.Drawing.Color.DodgerBlue; Undo_B.Image = null; Undo_B.Location = new System.Drawing.Point(231, 139); Undo_B.Name = "Undo_B"; Undo_B.Size = new System.Drawing.Size(168, 35); Undo_B.TabIndex = 12; Undo_B.Text = "UNDO"; Undo_B.Click += new System.EventHandler(Undo_B_Click); // // MAIN // AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); ClientSize = new System.Drawing.Size(404, 182); Controls.Add(Undo_B); Controls.Add(Save_B); Controls.Add(New_L); Controls.Add(New_TB); Controls.Add(Current_L); Controls.Add(Current_TB); Controls.Add(Generate_B); Controls.Add(Refresh_B); Controls.Add(Adapters_CB); Icon = ((System.Drawing.Icon)(resources.GetObject("$Icon"))); Image = global::MAChanger.Properties.Resources.Wifi; MaximizeBox = false; Name = "MAIN"; Sizable = false; StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; Text = "MAC Changer v1.5"; Load += new System.EventHandler(MAIN_Load); ResumeLayout(false); }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.DefaultValueLiteralChanged -= handler; }
public TweenHash OnWrap(System.EventHandler d) { if (d == null) return this; _onWrap += d; return this; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { lstBoxOperaciones = new System.Windows.Forms.ListBox(); label1 = new System.Windows.Forms.Label(); picGUI = new System.Windows.Forms.PictureBox(); picRESTA = new System.Windows.Forms.PictureBox(); picMULT = new System.Windows.Forms.PictureBox(); picDIV = new System.Windows.Forms.PictureBox(); picSUMA = new System.Windows.Forms.PictureBox(); statusStrip1 = new System.Windows.Forms.StatusStrip(); toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); lblNODO = new System.Windows.Forms.ToolStripStatusLabel(); statuslabel2 = new System.Windows.Forms.ToolStripStatusLabel(); lblPUERTO = new System.Windows.Forms.ToolStripStatusLabel(); toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); lblCELLID = new System.Windows.Forms.ToolStripStatusLabel(); lblTextoAcuses = new System.Windows.Forms.Label(); lblAcuses = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(picGUI)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(picRESTA)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(picMULT)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(picDIV)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(picSUMA)).BeginInit(); statusStrip1.SuspendLayout(); SuspendLayout(); // // lstBoxOperaciones // lstBoxOperaciones.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); lstBoxOperaciones.FormattingEnabled = true; lstBoxOperaciones.ItemHeight = 16; lstBoxOperaciones.Location = new System.Drawing.Point(1, 164); lstBoxOperaciones.Name = "lstBoxOperaciones"; lstBoxOperaciones.Size = new System.Drawing.Size(545, 180); lstBoxOperaciones.TabIndex = 0; // // label1 // label1.AutoSize = true; label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); label1.Location = new System.Drawing.Point(12, 9); label1.Name = "label1"; label1.Size = new System.Drawing.Size(161, 25); label1.TabIndex = 1; label1.Text = "Servicios Activos"; // // picGUI // picGUI.BackColor = System.Drawing.Color.Transparent; picGUI.Image = global::CELULA.Properties.Resources.calc; picGUI.Location = new System.Drawing.Point(128, 31); picGUI.Name = "picGUI"; picGUI.Size = new System.Drawing.Size(97, 124); picGUI.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; picGUI.TabIndex = 11; picGUI.TabStop = false; picGUI.Visible = false; // // picRESTA // picRESTA.Image = global::CELULA.Properties.Resources.minus; picRESTA.Location = new System.Drawing.Point(73, 37); picRESTA.Name = "picRESTA"; picRESTA.Size = new System.Drawing.Size(50, 50); picRESTA.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; picRESTA.TabIndex = 10; picRESTA.TabStop = false; picRESTA.Visible = false; // // picMULT // picMULT.Image = global::CELULA.Properties.Resources.mult; picMULT.Location = new System.Drawing.Point(17, 93); picMULT.Name = "picMULT"; picMULT.Size = new System.Drawing.Size(50, 50); picMULT.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; picMULT.TabIndex = 9; picMULT.TabStop = false; picMULT.Visible = false; // // picDIV // picDIV.Image = global::CELULA.Properties.Resources.div3; picDIV.Location = new System.Drawing.Point(73, 93); picDIV.Name = "picDIV"; picDIV.Size = new System.Drawing.Size(50, 50); picDIV.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; picDIV.TabIndex = 8; picDIV.TabStop = false; picDIV.Visible = false; // // picSUMA // picSUMA.Image = global::CELULA.Properties.Resources.plus2; picSUMA.Location = new System.Drawing.Point(17, 38); picSUMA.Name = "picSUMA"; picSUMA.Size = new System.Drawing.Size(50, 50); picSUMA.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; picSUMA.TabIndex = 7; picSUMA.TabStop = false; picSUMA.Visible = false; // // statusStrip1 // statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripStatusLabel1, lblNODO, statuslabel2, lblPUERTO, toolStripStatusLabel2, lblCELLID}); statusStrip1.Location = new System.Drawing.Point(0, 344); statusStrip1.Name = "statusStrip1"; statusStrip1.Size = new System.Drawing.Size(557, 22); statusStrip1.TabIndex = 14; statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // toolStripStatusLabel1.Name = "toolStripStatusLabel1"; toolStripStatusLabel1.Size = new System.Drawing.Size(76, 17); toolStripStatusLabel1.Text = "Nodo Padre: "; // // lblNODO // lblNODO.Name = "lblNODO"; lblNODO.Size = new System.Drawing.Size(0, 17); // // statuslabel2 // statuslabel2.Name = "statuslabel2"; statuslabel2.Size = new System.Drawing.Size(48, 17); statuslabel2.Text = "Puerto: "; // // lblPUERTO // lblPUERTO.Name = "lblPUERTO"; lblPUERTO.Size = new System.Drawing.Size(0, 17); // // toolStripStatusLabel2 // toolStripStatusLabel2.Name = "toolStripStatusLabel2"; toolStripStatusLabel2.Size = new System.Drawing.Size(57, 17); toolStripStatusLabel2.Text = "ID Célula:"; // // lblCELLID // lblCELLID.Name = "lblCELLID"; lblCELLID.Size = new System.Drawing.Size(0, 17); // // lblTextoAcuses // lblTextoAcuses.AutoSize = true; lblTextoAcuses.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); lblTextoAcuses.Location = new System.Drawing.Point(401, 27); lblTextoAcuses.Name = "lblTextoAcuses"; lblTextoAcuses.Size = new System.Drawing.Size(129, 39); lblTextoAcuses.TabIndex = 15; lblTextoAcuses.Text = "Acuses"; // // lblAcuses // lblAcuses.AutoSize = true; lblAcuses.Font = new System.Drawing.Font("Microsoft Sans Serif", 50F); lblAcuses.Location = new System.Drawing.Point(433, 66); lblAcuses.Name = "lblAcuses"; lblAcuses.Size = new System.Drawing.Size(70, 76); lblAcuses.TabIndex = 16; lblAcuses.Text = "0"; lblAcuses.Visible = false; // // FrmCelula // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; ClientSize = new System.Drawing.Size(557, 366); ControlBox = false; Controls.Add(lblAcuses); Controls.Add(lblTextoAcuses); Controls.Add(statusStrip1); Controls.Add(picGUI); Controls.Add(picRESTA); Controls.Add(picMULT); Controls.Add(picDIV); Controls.Add(picSUMA); Controls.Add(label1); Controls.Add(lstBoxOperaciones); MaximizeBox = false; MinimizeBox = false; Name = "FrmCelula"; Text = "Celula"; Shown += new System.EventHandler(FrmCelula_Shown); ((System.ComponentModel.ISupportInitialize)(picGUI)).EndInit(); ((System.ComponentModel.ISupportInitialize)(picRESTA)).EndInit(); ((System.ComponentModel.ISupportInitialize)(picMULT)).EndInit(); ((System.ComponentModel.ISupportInitialize)(picDIV)).EndInit(); ((System.ComponentModel.ISupportInitialize)(picSUMA)).EndInit(); statusStrip1.ResumeLayout(false); statusStrip1.PerformLayout(); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { chkAreaShowGroups = new System.Windows.Forms.CheckBox(); txtAreaId = new System.Windows.Forms.TextBox(); txtAreaUrl = new System.Windows.Forms.TextBox(); txtAreaIcon = new System.Windows.Forms.TextBox(); lblAreaId = new System.Windows.Forms.Label(); lblAreaUrl = new System.Windows.Forms.Label(); lblAreaShowGroups = new System.Windows.Forms.Label(); lblAreaIcon = new System.Windows.Forms.Label(); txtAreaResourceId = new System.Windows.Forms.TextBox(); txtAreaDescriptionResourceId = new System.Windows.Forms.TextBox(); lblAreaResourceId = new System.Windows.Forms.Label(); lblAreaDescriptionResourceId = new System.Windows.Forms.Label(); lblRequired = new System.Windows.Forms.Label(); btnBrowsIcon = new System.Windows.Forms.Button(); buttonBrowseUrl = new System.Windows.Forms.Button(); label1 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label(); txtAreaTitle = new System.Windows.Forms.TextBox(); txtAreaDescription = new System.Windows.Forms.TextBox(); panel1 = new System.Windows.Forms.Panel(); SuspendLayout(); // // chkAreaShowGroups // chkAreaShowGroups.AutoSize = true; chkAreaShowGroups.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); chkAreaShowGroups.Location = new System.Drawing.Point(211, 83); chkAreaShowGroups.Name = "chkAreaShowGroups"; chkAreaShowGroups.Size = new System.Drawing.Size(15, 14); chkAreaShowGroups.TabIndex = 15; chkAreaShowGroups.UseVisualStyleBackColor = true; // // txtAreaId // txtAreaId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaId.Location = new System.Drawing.Point(210, 3); txtAreaId.Name = "txtAreaId"; txtAreaId.Size = new System.Drawing.Size(280, 22); txtAreaId.TabIndex = 14; // // txtAreaUrl // txtAreaUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaUrl.Location = new System.Drawing.Point(210, 55); txtAreaUrl.Name = "txtAreaUrl"; txtAreaUrl.Size = new System.Drawing.Size(234, 22); txtAreaUrl.TabIndex = 13; // // txtAreaIcon // txtAreaIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaIcon.Location = new System.Drawing.Point(210, 29); txtAreaIcon.Name = "txtAreaIcon"; txtAreaIcon.Size = new System.Drawing.Size(234, 22); txtAreaIcon.TabIndex = 12; // // lblAreaId // lblAreaId.AutoSize = true; lblAreaId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaId.ForeColor = System.Drawing.Color.Black; lblAreaId.Location = new System.Drawing.Point(3, 6); lblAreaId.Name = "lblAreaId"; lblAreaId.Size = new System.Drawing.Size(17, 13); lblAreaId.TabIndex = 11; lblAreaId.Text = "Id"; // // lblAreaUrl // lblAreaUrl.AutoSize = true; lblAreaUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaUrl.Location = new System.Drawing.Point(3, 58); lblAreaUrl.Name = "lblAreaUrl"; lblAreaUrl.Size = new System.Drawing.Size(22, 13); lblAreaUrl.TabIndex = 10; lblAreaUrl.Text = "Url"; // // lblAreaShowGroups // lblAreaShowGroups.AutoSize = true; lblAreaShowGroups.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaShowGroups.Location = new System.Drawing.Point(3, 83); lblAreaShowGroups.Name = "lblAreaShowGroups"; lblAreaShowGroups.Size = new System.Drawing.Size(77, 13); lblAreaShowGroups.TabIndex = 9; lblAreaShowGroups.Text = "Show Groups"; // // lblAreaIcon // lblAreaIcon.AutoSize = true; lblAreaIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaIcon.Location = new System.Drawing.Point(3, 32); lblAreaIcon.Name = "lblAreaIcon"; lblAreaIcon.Size = new System.Drawing.Size(29, 13); lblAreaIcon.TabIndex = 8; lblAreaIcon.Text = "Icon"; // // txtAreaResourceId // txtAreaResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaResourceId.Location = new System.Drawing.Point(210, 102); txtAreaResourceId.Name = "txtAreaResourceId"; txtAreaResourceId.ReadOnly = true; txtAreaResourceId.Size = new System.Drawing.Size(280, 22); txtAreaResourceId.TabIndex = 21; // // txtAreaDescriptionResourceId // txtAreaDescriptionResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaDescriptionResourceId.Location = new System.Drawing.Point(210, 128); txtAreaDescriptionResourceId.Name = "txtAreaDescriptionResourceId"; txtAreaDescriptionResourceId.ReadOnly = true; txtAreaDescriptionResourceId.Size = new System.Drawing.Size(280, 22); txtAreaDescriptionResourceId.TabIndex = 20; // // lblAreaResourceId // lblAreaResourceId.AutoSize = true; lblAreaResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaResourceId.Location = new System.Drawing.Point(3, 105); lblAreaResourceId.Name = "lblAreaResourceId"; lblAreaResourceId.Size = new System.Drawing.Size(67, 13); lblAreaResourceId.TabIndex = 19; lblAreaResourceId.Text = "Resource Id"; // // lblAreaDescriptionResourceId // lblAreaDescriptionResourceId.AutoSize = true; lblAreaDescriptionResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblAreaDescriptionResourceId.Location = new System.Drawing.Point(3, 131); lblAreaDescriptionResourceId.Name = "lblAreaDescriptionResourceId"; lblAreaDescriptionResourceId.Size = new System.Drawing.Size(129, 13); lblAreaDescriptionResourceId.TabIndex = 18; lblAreaDescriptionResourceId.Text = "Description Resource Id"; // // lblRequired // lblRequired.AutoSize = true; lblRequired.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblRequired.ForeColor = System.Drawing.Color.Red; lblRequired.Location = new System.Drawing.Point(18, 6); lblRequired.Name = "lblRequired"; lblRequired.Size = new System.Drawing.Size(12, 13); lblRequired.TabIndex = 22; lblRequired.Text = "*"; // // btnBrowsIcon // btnBrowsIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnBrowsIcon.Location = new System.Drawing.Point(450, 29); btnBrowsIcon.Name = "btnBrowsIcon"; btnBrowsIcon.Size = new System.Drawing.Size(40, 23); btnBrowsIcon.TabIndex = 78; btnBrowsIcon.Text = "..."; btnBrowsIcon.UseVisualStyleBackColor = true; btnBrowsIcon.Click += new System.EventHandler(btnBrowsIcon_Click); // // buttonBrowseUrl // buttonBrowseUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); buttonBrowseUrl.Location = new System.Drawing.Point(450, 53); buttonBrowseUrl.Name = "buttonBrowseUrl"; buttonBrowseUrl.Size = new System.Drawing.Size(40, 23); buttonBrowseUrl.TabIndex = 79; buttonBrowseUrl.Text = "..."; buttonBrowseUrl.UseVisualStyleBackColor = true; buttonBrowseUrl.Click += new System.EventHandler(buttonBrowseUrl_Click); // // label1 // label1.AutoSize = true; label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label1.Location = new System.Drawing.Point(3, 159); label1.Name = "label1"; label1.Size = new System.Drawing.Size(119, 13); label1.TabIndex = 80; label1.Text = "Deprecated attributes"; // // label2 // label2.AutoSize = true; label2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label2.Location = new System.Drawing.Point(3, 185); label2.Name = "label2"; label2.Size = new System.Drawing.Size(28, 13); label2.TabIndex = 81; label2.Text = "Title"; // // label3 // label3.AutoSize = true; label3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label3.Location = new System.Drawing.Point(3, 211); label3.Name = "label3"; label3.Size = new System.Drawing.Size(66, 13); label3.TabIndex = 82; label3.Text = "Description"; // // txtAreaTitle // txtAreaTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaTitle.Location = new System.Drawing.Point(211, 182); txtAreaTitle.Name = "txtAreaTitle"; txtAreaTitle.Size = new System.Drawing.Size(279, 22); txtAreaTitle.TabIndex = 83; // // txtAreaDescription // txtAreaDescription.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); txtAreaDescription.Location = new System.Drawing.Point(210, 208); txtAreaDescription.Name = "txtAreaDescription"; txtAreaDescription.Size = new System.Drawing.Size(280, 22); txtAreaDescription.TabIndex = 84; // // panel1 // panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; panel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); panel1.Location = new System.Drawing.Point(6, 174); panel1.Name = "panel1"; panel1.Size = new System.Drawing.Size(490, 1); panel1.TabIndex = 85; // // AreaControl // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Controls.Add(panel1); Controls.Add(txtAreaDescription); Controls.Add(txtAreaTitle); Controls.Add(label3); Controls.Add(label2); Controls.Add(label1); Controls.Add(buttonBrowseUrl); Controls.Add(btnBrowsIcon); Controls.Add(lblRequired); Controls.Add(txtAreaResourceId); Controls.Add(txtAreaDescriptionResourceId); Controls.Add(lblAreaResourceId); Controls.Add(lblAreaDescriptionResourceId); Controls.Add(chkAreaShowGroups); Controls.Add(txtAreaId); Controls.Add(txtAreaUrl); Controls.Add(txtAreaIcon); Controls.Add(lblAreaId); Controls.Add(lblAreaUrl); Controls.Add(lblAreaShowGroups); Controls.Add(lblAreaIcon); Name = "AreaControl"; Size = new System.Drawing.Size(500, 400); Leave += new System.EventHandler(SiteMapControl_Leave); ResumeLayout(false); PerformLayout(); }
// Use this for initialization protected virtual void Start() { this.originalPosition = this.transform.position; destroyObj_Event += new System.EventHandler(ObjectsBeh_destroyObj_Event); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); Click += new System.EventHandler(this.FormsToolStripMenuItemView_Click); }
public DettachableControl() : base() { SizeChanged += new System.EventHandler(DettachableControl_SizeChanged); }
public MenuItem(string text, System.EventHandler onClick) { }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { txtDescriptionLCID = new System.Windows.Forms.TextBox(); txtDescriptionDescription = new System.Windows.Forms.TextBox(); lblDescriptionLCID = new System.Windows.Forms.Label(); lblDescriptionDescription = new System.Windows.Forms.Label(); lblRequired = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label(); SuspendLayout(); // // txtDescriptionLCID // txtDescriptionLCID.Location = new System.Drawing.Point(210, 3); txtDescriptionLCID.Name = "txtDescriptionLCID"; txtDescriptionLCID.Size = new System.Drawing.Size(280, 20); txtDescriptionLCID.TabIndex = 1; // // txtDescriptionDescription // txtDescriptionDescription.Location = new System.Drawing.Point(210, 29); txtDescriptionDescription.Name = "txtDescriptionDescription"; txtDescriptionDescription.Size = new System.Drawing.Size(280, 20); txtDescriptionDescription.TabIndex = 2; // // lblDescriptionLCID // lblDescriptionLCID.AutoSize = true; lblDescriptionLCID.Location = new System.Drawing.Point(3, 6); lblDescriptionLCID.Name = "lblDescriptionLCID"; lblDescriptionLCID.Size = new System.Drawing.Size(31, 13); lblDescriptionLCID.TabIndex = 8; lblDescriptionLCID.Text = "LCID"; // // lblDescriptionDescription // lblDescriptionDescription.AutoSize = true; lblDescriptionDescription.Location = new System.Drawing.Point(3, 32); lblDescriptionDescription.Name = "lblDescriptionDescription"; lblDescriptionDescription.Size = new System.Drawing.Size(60, 13); lblDescriptionDescription.TabIndex = 7; lblDescriptionDescription.Text = "Description"; // // lblRequired // lblRequired.AutoSize = true; lblRequired.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblRequired.ForeColor = System.Drawing.Color.Red; lblRequired.Location = new System.Drawing.Point(34, 6); lblRequired.Name = "lblRequired"; lblRequired.Size = new System.Drawing.Size(11, 13); lblRequired.TabIndex = 23; lblRequired.Text = "*"; // // label1 // label1.AutoSize = true; label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); label1.ForeColor = System.Drawing.Color.Red; label1.Location = new System.Drawing.Point(63, 32); label1.Name = "label1"; label1.Size = new System.Drawing.Size(11, 13); label1.TabIndex = 24; label1.Text = "*"; // // DescriptionControl // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Controls.Add(label1); Controls.Add(lblRequired); Controls.Add(txtDescriptionLCID); Controls.Add(txtDescriptionDescription); Controls.Add(lblDescriptionLCID); Controls.Add(lblDescriptionDescription); Name = "DescriptionControl"; Size = new System.Drawing.Size(500, 400); Leave += new System.EventHandler(SiteMapControl_Leave); ResumeLayout(false); PerformLayout(); }
public MenuItem(string text, System.EventHandler onClick, Shortcut shortcut) { }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.BooleanSymbolChanged -= handler; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { button1 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.dataSet1 = new System.Data.DataSet(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.textBox3 = new System.Windows.Forms.TextBox(); this.button4 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(508, 12); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(104, 36); this.button1.TabIndex = 0; this.button1.Text = "Просмотр"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(27, 12); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox1.Size = new System.Drawing.Size(230, 101); this.textBox1.TabIndex = 1; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(275, 12); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox2.Size = new System.Drawing.Size(212, 101); this.textBox2.TabIndex = 2; // // dataSet1 // this.dataSet1.DataSetName = "NewDataSet"; // // dataGridView1 // this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Location = new System.Drawing.Point(27, 132); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Size = new System.Drawing.Size(460, 207); this.dataGridView1.TabIndex = 3; // // button2 // this.button2.Location = new System.Drawing.Point(508, 75); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(101, 38); this.button2.TabIndex = 4; this.button2.Text = "Выбор дел"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Location = new System.Drawing.Point(508, 132); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(101, 37); this.button3.TabIndex = 5; this.button3.Text = "Дело из базаСудебки"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // textBox3 // this.textBox3.BackColor = System.Drawing.SystemColors.Menu; this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.textBox3.ForeColor = System.Drawing.SystemColors.InactiveCaption; this.textBox3.Location = new System.Drawing.Point(27, 345); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(460, 11); this.textBox3.TabIndex = 6; // // button4 // this.button4.Location = new System.Drawing.Point(508, 194); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(94, 32); this.button4.TabIndex = 7; this.button4.Text = "Дело из базаАвто"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // Form2 // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(624, 366); this.Controls.Add(this.button4); this.Controls.Add(this.textBox3); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(this.button1); Name = "Form2"; Text = "Form2"; Load += new System.EventHandler(this.Form2_Load); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public TweenHash OnFinish(System.EventHandler d) { if (d == null) return this; _onFinish += d; return this; }
/// <summary> /// Registers an event handler to subscribe specifically on the changed event for this property /// </summary> /// <param name="handler">The handler that should be unsubscribed from the property change event</param> protected override void UnregisterChangeEventHandler(System.EventHandler <NMF.Expressions.ValueChangedEventArgs> handler) { this.ModelElement.IsEncapsulatedByChanged -= handler; }
public TweenHash OnWrap(System.Action<Tweener> d) { if (d == null) return this; _onWrap += (s, e) => d(s as Tweener); return this; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); treeView = new TreeView(); timer = new Timer(components); chart = new ChartContrl(); splitContainer = new SplitContainer(); ((System.ComponentModel.ISupportInitialize)(splitContainer)).BeginInit(); splitContainer.Panel1.SuspendLayout(); splitContainer.Panel2.SuspendLayout(); splitContainer.SuspendLayout(); SuspendLayout(); // // treeView // treeView.Dock = DockStyle.Fill; treeView.Location = new Point(0, 0); treeView.Name = "treeView"; treeView.Size = new Size(175, 288); treeView.TabIndex = 12; treeView.MouseClick += new MouseEventHandler(treeView_MouseClick); // // timer // timer.Interval = 1000; timer.Tick += new System.EventHandler(timer_Tick); // // chart // chart.Dock = DockStyle.Fill; chart.Location = new Point(0, 0); chart.Name = "chart"; chart.Size = new Size(348, 288); chart.TabIndex = 11; // // splitContainer // splitContainer.Dock = DockStyle.Fill; splitContainer.Location = new Point(0, 0); splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // splitContainer.Panel1.Controls.Add(treeView); // // splitContainer.Panel2 // splitContainer.Panel2.Controls.Add(chart); splitContainer.Size = new Size(527, 288); splitContainer.SplitterDistance = 175; splitContainer.TabIndex = 13; // // ChartForm // AutoScaleDimensions = new SizeF(6F, 13F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(527, 288); Controls.Add(splitContainer); MaximizeBox = false; Name = "ChartForm"; Text = "Performance Counters"; Load += new System.EventHandler(ChartForm_Load); splitContainer.Panel1.ResumeLayout(false); splitContainer.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(splitContainer)).EndInit(); splitContainer.ResumeLayout(false); ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent () { components = new System.ComponentModel.Container (); TextChanged += new System.EventHandler ( this.OnTextChanged ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { chkGroupIsProfile = new System.Windows.Forms.CheckBox(); txtGroupId = new System.Windows.Forms.TextBox(); txtGroupUrl = new System.Windows.Forms.TextBox(); lblGroupId = new System.Windows.Forms.Label(); lblGroupUrl = new System.Windows.Forms.Label(); lblGroupIsProfile = new System.Windows.Forms.Label(); lblGroupDescriptionResourceId = new System.Windows.Forms.Label(); lblGroupResourceId = new System.Windows.Forms.Label(); txtGroupDescriptionResourceId = new System.Windows.Forms.TextBox(); txtGroupResourceId = new System.Windows.Forms.TextBox(); lblRequired = new System.Windows.Forms.Label(); panel1 = new System.Windows.Forms.Panel(); txtGroupDescription = new System.Windows.Forms.TextBox(); txtGroupTitle = new System.Windows.Forms.TextBox(); label3 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label(); SuspendLayout(); // // chkGroupIsProfile // chkGroupIsProfile.AutoSize = true; chkGroupIsProfile.Font = new System.Drawing.Font("Segoe UI", 8.25F); chkGroupIsProfile.Location = new System.Drawing.Point(210, 58); chkGroupIsProfile.Name = "chkGroupIsProfile"; chkGroupIsProfile.Size = new System.Drawing.Size(15, 14); chkGroupIsProfile.TabIndex = 3; chkGroupIsProfile.UseVisualStyleBackColor = true; // // txtGroupId // txtGroupId.Font = new System.Drawing.Font("Segoe UI", 8.25F); txtGroupId.Location = new System.Drawing.Point(210, 3); txtGroupId.Name = "txtGroupId"; txtGroupId.Size = new System.Drawing.Size(280, 22); txtGroupId.TabIndex = 1; // // txtGroupUrl // txtGroupUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F); txtGroupUrl.Location = new System.Drawing.Point(210, 31); txtGroupUrl.Name = "txtGroupUrl"; txtGroupUrl.Size = new System.Drawing.Size(280, 22); txtGroupUrl.TabIndex = 2; // // lblGroupId // lblGroupId.AutoSize = true; lblGroupId.Font = new System.Drawing.Font("Segoe UI", 8.25F); lblGroupId.Location = new System.Drawing.Point(3, 6); lblGroupId.Name = "lblGroupId"; lblGroupId.Size = new System.Drawing.Size(17, 13); lblGroupId.TabIndex = 10; lblGroupId.Text = "Id"; // // lblGroupUrl // lblGroupUrl.AutoSize = true; lblGroupUrl.Font = new System.Drawing.Font("Segoe UI", 8.25F); lblGroupUrl.Location = new System.Drawing.Point(3, 34); lblGroupUrl.Name = "lblGroupUrl"; lblGroupUrl.Size = new System.Drawing.Size(22, 13); lblGroupUrl.TabIndex = 9; lblGroupUrl.Text = "Url"; // // lblGroupIsProfile // lblGroupIsProfile.AutoSize = true; lblGroupIsProfile.Font = new System.Drawing.Font("Segoe UI", 8.25F); lblGroupIsProfile.Location = new System.Drawing.Point(3, 59); lblGroupIsProfile.Name = "lblGroupIsProfile"; lblGroupIsProfile.Size = new System.Drawing.Size(51, 13); lblGroupIsProfile.TabIndex = 8; lblGroupIsProfile.Text = "Is Profile"; // // lblGroupDescriptionResourceId // lblGroupDescriptionResourceId.AutoSize = true; lblGroupDescriptionResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F); lblGroupDescriptionResourceId.Location = new System.Drawing.Point(3, 107); lblGroupDescriptionResourceId.Name = "lblGroupDescriptionResourceId"; lblGroupDescriptionResourceId.Size = new System.Drawing.Size(129, 13); lblGroupDescriptionResourceId.TabIndex = 14; lblGroupDescriptionResourceId.Text = "Description Resource Id"; // // lblGroupResourceId // lblGroupResourceId.AutoSize = true; lblGroupResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F); lblGroupResourceId.Location = new System.Drawing.Point(3, 81); lblGroupResourceId.Name = "lblGroupResourceId"; lblGroupResourceId.Size = new System.Drawing.Size(67, 13); lblGroupResourceId.TabIndex = 15; lblGroupResourceId.Text = "Resource Id"; // // txtGroupDescriptionResourceId // txtGroupDescriptionResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F); txtGroupDescriptionResourceId.Location = new System.Drawing.Point(210, 104); txtGroupDescriptionResourceId.Name = "txtGroupDescriptionResourceId"; txtGroupDescriptionResourceId.ReadOnly = true; txtGroupDescriptionResourceId.Size = new System.Drawing.Size(280, 22); txtGroupDescriptionResourceId.TabIndex = 5; // // txtGroupResourceId // txtGroupResourceId.Font = new System.Drawing.Font("Segoe UI", 8.25F); txtGroupResourceId.Location = new System.Drawing.Point(210, 78); txtGroupResourceId.Name = "txtGroupResourceId"; txtGroupResourceId.ReadOnly = true; txtGroupResourceId.Size = new System.Drawing.Size(280, 22); txtGroupResourceId.TabIndex = 4; // // lblRequired // lblRequired.AutoSize = true; lblRequired.Font = new System.Drawing.Font("Segoe UI", 8.25F); lblRequired.ForeColor = System.Drawing.Color.Red; lblRequired.Location = new System.Drawing.Point(19, 6); lblRequired.Name = "lblRequired"; lblRequired.Size = new System.Drawing.Size(12, 13); lblRequired.TabIndex = 24; lblRequired.Text = "*"; // // panel1 // panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; panel1.Font = new System.Drawing.Font("Segoe UI", 8.25F); panel1.Location = new System.Drawing.Point(6, 147); panel1.Name = "panel1"; panel1.Size = new System.Drawing.Size(490, 1); panel1.TabIndex = 91; // // txtGroupDescription // txtGroupDescription.Font = new System.Drawing.Font("Segoe UI", 8.25F); txtGroupDescription.Location = new System.Drawing.Point(210, 180); txtGroupDescription.Name = "txtGroupDescription"; txtGroupDescription.Size = new System.Drawing.Size(280, 22); txtGroupDescription.TabIndex = 90; // // txtGroupTitle // txtGroupTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F); txtGroupTitle.Location = new System.Drawing.Point(211, 154); txtGroupTitle.Name = "txtGroupTitle"; txtGroupTitle.Size = new System.Drawing.Size(280, 22); txtGroupTitle.TabIndex = 89; // // label3 // label3.AutoSize = true; label3.Font = new System.Drawing.Font("Segoe UI", 8.25F); label3.Location = new System.Drawing.Point(3, 183); label3.Name = "label3"; label3.Size = new System.Drawing.Size(66, 13); label3.TabIndex = 88; label3.Text = "Description"; // // label2 // label2.AutoSize = true; label2.Font = new System.Drawing.Font("Segoe UI", 8.25F); label2.Location = new System.Drawing.Point(3, 157); label2.Name = "label2"; label2.Size = new System.Drawing.Size(28, 13); label2.TabIndex = 87; label2.Text = "Title"; // // label1 // label1.AutoSize = true; label1.Font = new System.Drawing.Font("Segoe UI", 8.25F); label1.Location = new System.Drawing.Point(3, 131); label1.Name = "label1"; label1.Size = new System.Drawing.Size(119, 13); label1.TabIndex = 86; label1.Text = "Deprecated attributes"; // // GroupControl // AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; Controls.Add(panel1); Controls.Add(txtGroupDescription); Controls.Add(txtGroupTitle); Controls.Add(label3); Controls.Add(label2); Controls.Add(label1); Controls.Add(lblRequired); Controls.Add(txtGroupResourceId); Controls.Add(txtGroupDescriptionResourceId); Controls.Add(lblGroupResourceId); Controls.Add(lblGroupDescriptionResourceId); Controls.Add(chkGroupIsProfile); Controls.Add(txtGroupId); Controls.Add(txtGroupUrl); Controls.Add(lblGroupId); Controls.Add(lblGroupUrl); Controls.Add(lblGroupIsProfile); Name = "GroupControl"; Size = new System.Drawing.Size(500, 400); Leave += new System.EventHandler(SiteMapControl_Leave); ResumeLayout(false); PerformLayout(); }