private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NotifyIconWrapper)); this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); this.ContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.VisibleMenu = new System.Windows.Forms.ToolStripMenuItem(); this.CollapsedMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ExitMenu = new System.Windows.Forms.ToolStripMenuItem(); this.Separator = new System.Windows.Forms.ToolStripSeparator(); this.ContextMenuStrip.SuspendLayout(); // // NotifyIcon // this.NotifyIcon.ContextMenuStrip = this.ContextMenuStrip; this.NotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("NotifyIcon.Icon"))); this.NotifyIcon.Text = "FluidLauncher"; this.NotifyIcon.Visible = true; // // ContextMenuStrip // this.ContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.VisibleMenu, this.CollapsedMenu, this.Separator, this.ExitMenu}); this.ContextMenuStrip.Name = "ContextMenuStrip"; this.ContextMenuStrip.Size = new System.Drawing.Size(111, 70); // // VisibleMenu // this.VisibleMenu.Name = "VisibleMenu"; this.VisibleMenu.Size = new System.Drawing.Size(110, 22); this.VisibleMenu.Text = "表示"; // // CollapsedMenu // this.CollapsedMenu.Name = "CollapsedMenu"; this.CollapsedMenu.Size = new System.Drawing.Size(110, 22); this.CollapsedMenu.Text = "非表示"; // // ExitMenu // this.ExitMenu.Name = "ExitMenu"; this.ExitMenu.Size = new System.Drawing.Size(110, 22); this.ExitMenu.Text = "終了"; // // Separator // this.Separator.Name = "Separator"; this.Separator.Size = new System.Drawing.Size(6, 6); this.ContextMenuStrip.ResumeLayout(false); }
/// <summary> /// Обязательный метод для поддержки конструктора - не изменяйте /// содержимое данного метода при помощи редактора кода. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.настройкаЕлементовToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip // this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.настройкаЕлементовToolStripMenuItem}); this.contextMenuStrip.Name = "contextMenuStrip"; this.contextMenuStrip.Size = new System.Drawing.Size(196, 48); // // настройкаЕлементовToolStripMenuItem // this.настройкаЕлементовToolStripMenuItem.Name = "настройкаЕлементовToolStripMenuItem"; this.настройкаЕлементовToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.настройкаЕлементовToolStripMenuItem.Text = "Настройка элементов"; this.настройкаЕлементовToolStripMenuItem.Click += new System.EventHandler(this.настройкаЕлементовToolStripMenuItem_Click); // // NumericTable // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ContextMenuStrip = this.contextMenuStrip; this.Name = "NumericTable"; this.Size = new System.Drawing.Size(384, 355); this.contextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.xmlContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.SuspendLayout(); // // xmlContextMenu // this.xmlContextMenu.Name = "XmlContextMenu"; this.xmlContextMenu.Size = new System.Drawing.Size(61, 4); // // ZTreeView // this.AllowDrop = true; this.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.HideSelection = false; this.Location = new System.Drawing.Point(4, 30); this.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.TreeViewEditor_AfterLabelEdit); this.DragDrop += new System.Windows.Forms.DragEventHandler(this.TreeViewEditor_DragDrop); this.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TreeViewEditor_AfterSelectNode); this.Leave += new System.EventHandler(this.TreeViewEditor_Leave); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.TreeViewEditor_MouseDown); this.DragEnter += new System.Windows.Forms.DragEventHandler(this.TreeViewEditor_DragEnter); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TreeViewEditor_KeyUp); this.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeViewEditor_NodeMouseClick); this.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.TreeViewEditor_BeforeLabelEdit); this.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.TreeViewEditor_ItemDrag); this.DragOver += new System.Windows.Forms.DragEventHandler(this.TreeViewEditor_DragOver); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.MenuItemStartRecord = new System.Windows.Forms.ToolStripMenuItem(); this.MenuItemStopRecord = new System.Windows.Forms.ToolStripMenuItem(); this.DVRCruise = new System.Windows.Forms.ToolStripMenuItem(); this.PreSetCruise = new System.Windows.Forms.ToolStripMenuItem(); this.Close = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.MenuItemStartRecord, this.MenuItemStopRecord, this.DVRCruise, this.PreSetCruise, this.Close}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(131, 114); // // MenuItemStartRecord // this.MenuItemStartRecord.Name = "MenuItemStartRecord"; this.MenuItemStartRecord.Size = new System.Drawing.Size(130, 22); this.MenuItemStartRecord.Text = "开始录像"; // // MenuItemStopRecord // this.MenuItemStopRecord.Enabled = false; this.MenuItemStopRecord.Name = "MenuItemStopRecord"; this.MenuItemStopRecord.Size = new System.Drawing.Size(130, 22); this.MenuItemStopRecord.Text = "停止录像"; // // DVRCruise // this.DVRCruise.Name = "DVRCruise"; this.DVRCruise.Size = new System.Drawing.Size(130, 22); this.DVRCruise.Text = "DVR轮询"; // // PreSetCruise // this.PreSetCruise.Name = "PreSetCruise"; this.PreSetCruise.Size = new System.Drawing.Size(130, 22); this.PreSetCruise.Text = "预置位轮询"; // // Close // this.Close.Name = "Close"; this.Close.Size = new System.Drawing.Size(130, 22); this.Close.Text = "关闭"; // // ViedoPanel // this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ViedoPanel_MouseMove); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SplitButton)); this.SplitButtonDropDown = new System.Windows.Forms.ContextMenuStrip(this.components); this.SplitButtonImages = new System.Windows.Forms.ImageList(this.components); this.SuspendLayout(); // // SplitButtonDropDown // this.SplitButtonDropDown.Name = "SplitButtonDropDown"; this.SplitButtonDropDown.Size = new System.Drawing.Size(61, 4); this.SplitButtonDropDown.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.SplitButtonDropDownClosed); this.SplitButtonDropDown.Opening += new System.ComponentModel.CancelEventHandler(this.SplitButtonDropDownOpening); this.SplitButtonDropDown.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.SplitButtonDropDownItemClicked); // // SplitButtonImages // this.SplitButtonImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("SplitButtonImages.ImageStream"))); this.SplitButtonImages.TransparentColor = System.Drawing.Color.Transparent; this.SplitButtonImages.Images.SetKeyName(0, "Normal"); this.SplitButtonImages.Images.SetKeyName(1, "Hover"); this.SplitButtonImages.Images.SetKeyName(2, "Clicked"); this.SplitButtonImages.Images.SetKeyName(3, "Disabled"); // // SplitButton // this.ContextMenuStrip = this.SplitButtonDropDown; this.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.ImageKey = "Normal"; this.ImageList = this.SplitButtonImages; this.ResumeLayout(false); }
//*************************************************************************** // Public Properties // #endregion #region Class Constructors //*************************************************************************** // Class Constructors // public SqlAutoComplete(System.ComponentModel.IContainer parent) { this._parent = parent; this._mnuStrip = new System.Windows.Forms.ContextMenuStrip(parent); this._mnuStrip.AutoClose = false; this._mnuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(_mnuStrip_ItemClicked); }
private void Initialize() { Models.Command.Instance.Initialize(@"dic.txt"); var menu = new System.Windows.Forms.ContextMenuStrip(); { var configItem = new System.Windows.Forms.ToolStripMenuItem(); configItem.Text = "設定"; configItem.Click += configItem_Click; menu.Items.Add(configItem); var exitItem = new System.Windows.Forms.ToolStripMenuItem(); exitItem.Text = "終了"; exitItem.Click += exitItem_Click; menu.Items.Add(exitItem); } _notifyIcon.ContextMenuStrip = menu; _notifyIcon.Icon = new System.Drawing.Icon(@"test.ico"); _keyHook.Hook += _keyHook_Hook; _mainWindow = new Views.MainWindow(); _notifyIcon.Visible = true; }
/// <summary>Form stuff...</summary> private void InitializeComponent( ) { this.mnuDuplicateTab = new System.Windows.Forms.ToolStripMenuItem( ); this.mnuCloseTab = new System.Windows.Forms.ToolStripMenuItem( ); this.tabContextMenu = new System.Windows.Forms.ContextMenuStrip( ); this.SuspendLayout( ); // // mnuDuplicateTab // this.mnuDuplicateTab.Image = global::MongoConsole.Properties.Resources.document_copy; this.mnuDuplicateTab.Name = "mnuDuplicateTab"; this.mnuDuplicateTab.Size = new System.Drawing.Size( 152, 22 ); this.mnuDuplicateTab.Text = "Duplicate"; // // mnuCloseTab // this.mnuCloseTab.Image = global::MongoConsole.Properties.Resources.cross_octagon; this.mnuCloseTab.Name = "mnuCloseTab"; this.mnuCloseTab.Size = new System.Drawing.Size( 152, 22 ); this.mnuCloseTab.Text = "Close"; this.ResumeLayout( false ); // // tabContextMenu // this.tabContextMenu.Items.AddRange( new System.Windows.Forms.ToolStripItem[] { this.mnuDuplicateTab, this.mnuCloseTab} ); this.tabContextMenu.Name = "tabContextMenu"; this.tabContextMenu.Size = new System.Drawing.Size( 153, 70 ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlProperties)); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listViewProperties = new System.Windows.Forms.ListView(); this.columnHeaderProperty = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.contextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip // this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyToolStripMenuItem}); this.contextMenuStrip.Name = "contextMenuStrip"; resources.ApplyResources(this.contextMenuStrip, "contextMenuStrip"); this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening); // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; resources.ApplyResources(this.copyToolStripMenuItem, "copyToolStripMenuItem"); this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // listViewProperties // this.listViewProperties.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeaderProperty, this.columnHeaderValue}); this.listViewProperties.ContextMenuStrip = this.contextMenuStrip; resources.ApplyResources(this.listViewProperties, "listViewProperties"); this.listViewProperties.FullRowSelect = true; this.listViewProperties.GridLines = true; this.listViewProperties.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.listViewProperties.MultiSelect = false; this.listViewProperties.Name = "listViewProperties"; this.listViewProperties.ShowItemToolTips = true; this.listViewProperties.UseCompatibleStateImageBehavior = false; this.listViewProperties.View = System.Windows.Forms.View.Details; // // columnHeaderProperty // resources.ApplyResources(this.columnHeaderProperty, "columnHeaderProperty"); // // columnHeaderValue // resources.ApplyResources(this.columnHeaderValue, "columnHeaderValue"); // // ControlProperties // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.listViewProperties); this.Name = "ControlProperties"; this.contextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlPartList)); this.contextMenuPart = new System.Windows.Forms.ContextMenuStrip(this.components); this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolTipNamespace = new System.Windows.Forms.ToolTip(this.components); this.labelDataSource = new System.Windows.Forms.Label(); this.comboBoxPartList = new System.Windows.Forms.ComboBox(); this.contextMenuPart.SuspendLayout(); this.SuspendLayout(); // // contextMenuPart // resources.ApplyResources(this.contextMenuPart, "contextMenuPart"); this.contextMenuPart.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.renameToolStripMenuItem, this.deleteToolStripMenuItem}); this.contextMenuPart.Name = "contextMenuPart"; this.contextMenuPart.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuPart_Opening); // // renameToolStripMenuItem // this.renameToolStripMenuItem.Name = "renameToolStripMenuItem"; resources.ApplyResources(this.renameToolStripMenuItem, "renameToolStripMenuItem"); this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; resources.ApplyResources(this.deleteToolStripMenuItem, "deleteToolStripMenuItem"); this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); // // labelDataSource // resources.ApplyResources(this.labelDataSource, "labelDataSource"); this.labelDataSource.Name = "labelDataSource"; // // comboBoxPartList // resources.ApplyResources(this.comboBoxPartList, "comboBoxPartList"); this.comboBoxPartList.ContextMenuStrip = this.contextMenuPart; this.comboBoxPartList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxPartList.FormattingEnabled = true; this.comboBoxPartList.Name = "comboBoxPartList"; this.comboBoxPartList.SelectedIndexChanged += new System.EventHandler(this.comboBoxPartList_SelectedIndexChanged); this.comboBoxPartList.MouseHover += new System.EventHandler(this.comboBoxPartList_MouseHover); // // ControlPartList // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.comboBoxPartList); this.Controls.Add(this.labelDataSource); this.Name = "ControlPartList"; this.contextMenuPart.ResumeLayout(false); this.ResumeLayout(false); }
public ChampionCollection(string name, string role) { _name = name; _role = role; _listOfChampions = new List<ChampionContainer>(); _controlPanel = null; _contextMenu = null; _mainForm = null; }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panel_face = new System.Windows.Forms.Panel(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.Tool_Ima = new System.Windows.Forms.ToolStripMenuItem(); this.Tool_File = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // panel_face // this.panel_face.ContextMenuStrip = this.contextMenuStrip1; this.panel_face.Dock = System.Windows.Forms.DockStyle.Fill; this.panel_face.Location = new System.Drawing.Point(0, 0); this.panel_face.Name = "panel_face"; this.panel_face.Size = new System.Drawing.Size(391, 238); this.panel_face.TabIndex = 0; this.panel_face.Visible = false; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.Tool_Ima, this.Tool_File}); this.contextMenuStrip1.Name = "contextMenuStrip2"; this.contextMenuStrip1.Size = new System.Drawing.Size(137, 48); // // Tool_Ima // this.Tool_Ima.Name = "Tool_Ima"; this.Tool_Ima.Size = new System.Drawing.Size(136, 22); this.Tool_Ima.Tag = "1"; this.Tool_Ima.Text = "拖放图片"; // // Tool_File // this.Tool_File.Name = "Tool_File"; this.Tool_File.Size = new System.Drawing.Size(136, 22); this.Tool_File.Tag = "2"; this.Tool_File.Text = "拖放文件夹"; // // Frm_Main // this.AccessibleRole = System.Windows.Forms.AccessibleRole.None; this.AllowDrop = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(391, 238); this.ContextMenuStrip = this.contextMenuStrip1; this.Controls.Add(this.panel_face); this.Name = "Frm_Main"; this.Text = "向窗体中拖放图片并显示"; this.DragEnter += new System.Windows.Forms.DragEventHandler(this.Frm_Main_DragEnter); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
public ChampionCollection(string name, string role, System.Windows.Forms.ContextMenuStrip contextMenu, System.Windows.Forms.Panel controlPanel, Form1 mainForm) { _name = name; _role = role; _listOfChampions = new List<ChampionContainer>(); _controlPanel = controlPanel; _contextMenu = contextMenu; _mainForm = mainForm; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LLFormDoc)); this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.miCLose = new System.Windows.Forms.ToolStripMenuItem(); this.miCloseAll = new System.Windows.Forms.ToolStripMenuItem(); this.miCloseAllButThis = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miCLose, this.miCloseAll, this.miCloseAllButThis}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(143, 70); // // miCLose // this.miCLose.Name = "miCLose"; this.miCLose.Size = new System.Drawing.Size(142, 22); this.miCLose.Text = "�ر�"; this.miCLose.ToolTipText = "�رյ�ǰ����"; this.miCLose.Click += new System.EventHandler(this.miCLose_Click); // // miCloseAll // this.miCloseAll.Name = "miCloseAll"; this.miCloseAll.Size = new System.Drawing.Size(142, 22); this.miCloseAll.Text = "�ر�����"; this.miCloseAll.ToolTipText = "�ر����д���"; this.miCloseAll.Click += new System.EventHandler(this.miCloseAll_Click); // // miCloseAllButThis // this.miCloseAllButThis.Name = "miCloseAllButThis"; this.miCloseAllButThis.Size = new System.Drawing.Size(142, 22); this.miCloseAllButThis.Text = "�رմ�������"; this.miCloseAllButThis.ToolTipText = "�رճ��˴���������д���"; this.miCloseAllButThis.Click += new System.EventHandler(this.miCloseAllButThis_Click); // // FormAJDoc // this.ClientSize = new System.Drawing.Size(448, 393); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FormAJDoc"; this.Padding = new System.Windows.Forms.Padding(0, 4, 0, 0); this.TabPageContextMenuStrip = this.contextMenuStrip1; this.Load += new System.EventHandler(this.LLFormDoc_Load); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
public Cell(Point location, int rotation, string id, int cellX, int cellY, int posX, int posY) : base(location, rotation, id, cellX, cellY) { var menu = new System.Windows.Forms.ContextMenuStrip(); menu.Items.Add("CreateFromHere", null, (object sender, EventArgs e) => FireCreateFromHereEvent(this)); PosX = posX; PosY = posY; PictureBox.ContextMenuStrip = menu; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShareWatcher)); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.monitoringEnabledMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenu.SuspendLayout(); this.SuspendLayout(); // // notifyIcon1 // this.notifyIcon1.ContextMenuStrip = this.contextMenu; this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); this.notifyIcon1.Text = "MyFilms Share Watcher"; this.notifyIcon1.Visible = true; // // contextMenu // this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.monitoringEnabledMenuItem, this.closeMenuItem}); this.contextMenu.Name = "contextMenuStrip1"; this.contextMenu.Size = new System.Drawing.Size(216, 70); // // monitoringEnabledMenuItem // this.monitoringEnabledMenuItem.Checked = true; this.monitoringEnabledMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.monitoringEnabledMenuItem.Name = "monitoringEnabledMenuItem"; this.monitoringEnabledMenuItem.Size = new System.Drawing.Size(215, 22); this.monitoringEnabledMenuItem.Text = "Monitoring Enabled"; this.monitoringEnabledMenuItem.Click += new System.EventHandler(this.monitoringEnabledMenuItem_Click); // // closeMenuItem // this.closeMenuItem.Name = "closeMenuItem"; this.closeMenuItem.Size = new System.Drawing.Size(215, 22); this.closeMenuItem.Text = "Close Music Share Watcher"; // // ShareWatcher // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(412, 178); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "ShareWatcher"; this.ShowInTaskbar = false; this.Text = "MyFilms Share Watcher"; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; this.Resize += new System.EventHandler(this.OnResize); this.contextMenu.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); // // contextMenuStrip1 // this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening); }
public MainWindow() { InitializeComponent(); //System.Windows.Point point = new Point(100, 100); //System.Windows.Automation.AutomationElement el = null; //el = System.Windows.Automation.AutomationElement.FromPoint(point); //System.Windows.Automation.AutomationElement el_top = TopElement(el); //Cpt(new Point(200, 300)); try { this.ShowInTaskbar = false; _notifyIcon = new System.Windows.Forms.NotifyIcon(); _notifyIcon.Text = "Capture"; _notifyIcon.Icon = new System.Drawing.Icon("icon.ico"); _notifyIcon.Visible = true; System.Windows.Forms.ContextMenuStrip menuStrip = new System.Windows.Forms.ContextMenuStrip(); System.Windows.Forms.ToolStripMenuItem openItem = new System.Windows.Forms.ToolStripMenuItem(); openItem.Text = "Capture を開く"; openItem.Click += new EventHandler(openItem_Click); menuStrip.Items.Add(openItem); System.Windows.Forms.ToolStripMenuItem exitItem = new System.Windows.Forms.ToolStripMenuItem(); exitItem.Text = "終了"; exitItem.Click += new EventHandler(exitItem_Click); menuStrip.Items.Add(exitItem); _notifyIcon.ContextMenuStrip = menuStrip; _notifyIcon.DoubleClick += new EventHandler(_notifyIcon_DoubleClick); this.Closing += new System.ComponentModel.CancelEventHandler(MainWindow_Closing); this.Closed += new EventHandler(MainWindow_Closed); this.btnStop.IsEnabled = false; // WindowのHandleを取得 WindowInteropHelper _host = new WindowInteropHelper(this); this._windowHandle = _host.Handle; // HotKeyを設定 //SetupHotKey(); ComponentDispatcher.ThreadPreprocessMessage += ComponentDispatcher_ThreadPreprocessMessage; //前面表示 this.Topmost = setting.Topmost; } catch (Exception ex) { MessageBox.Show(ex.Message + "\n" + ex.StackTrace); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.option1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.option2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.option3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.option1ToolStripMenuItem, this.option2ToolStripMenuItem, this.option3ToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(113, 70); // // option1ToolStripMenuItem // this.option1ToolStripMenuItem.Name = "option1ToolStripMenuItem"; this.option1ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.option1ToolStripMenuItem.Text = "Option&1"; // // option2ToolStripMenuItem // this.option2ToolStripMenuItem.Name = "option2ToolStripMenuItem"; this.option2ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.option2ToolStripMenuItem.Text = "Option&2"; // // option3ToolStripMenuItem // this.option3ToolStripMenuItem.Name = "option3ToolStripMenuItem"; this.option3ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.option3ToolStripMenuItem.Text = "Option&3"; // // ToolboxWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 266); this.DockAreas = ((FSoft.EVincaMapper.Common.DockingPanel.DockAreas)(((((FSoft.EVincaMapper.Common.DockingPanel.DockAreas.Float | FSoft.EVincaMapper.Common.DockingPanel.DockAreas.DockLeft) | FSoft.EVincaMapper.Common.DockingPanel.DockAreas.DockRight) | FSoft.EVincaMapper.Common.DockingPanel.DockAreas.DockTop) | FSoft.EVincaMapper.Common.DockingPanel.DockAreas.DockBottom))); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "ToolboxWindow"; this.TabPageContextMenuStrip = this.contextMenuStrip1; this.TabText = "ToolWindow"; this.Text = "Toolbox Window"; this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.DocumentContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.ToolWindowContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.hideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.DocumentContextMenu.SuspendLayout(); this.ToolWindowContextMenu.SuspendLayout(); this.SuspendLayout(); // // DocumentContextMenu // this.DocumentContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1}); this.DocumentContextMenu.Name = "contextMenuStrip1"; this.DocumentContextMenu.Size = new System.Drawing.Size(112, 26); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(111, 22); this.toolStripMenuItem1.Text = "Close"; this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click); // // ToolWindowContextMenu // this.ToolWindowContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.hideToolStripMenuItem}); this.ToolWindowContextMenu.Name = "ToolWindowContextMenu"; this.ToolWindowContextMenu.Size = new System.Drawing.Size(107, 26); // // hideToolStripMenuItem // this.hideToolStripMenuItem.Name = "hideToolStripMenuItem"; this.hideToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.hideToolStripMenuItem.Text = "Hide"; this.hideToolStripMenuItem.Click += new System.EventHandler(this.hideToolStripMenuItem_Click); // // ToolWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 266); this.Name = "ToolWindow"; this.TabPageContextMenuStrip = this.DocumentContextMenu; this.TabText = "ToolWindow"; this.Text = "ToolWindow"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ToolWindow_FormClosing); this.DockStateChanged += new System.EventHandler(this.ToolWindow_DockStateChanged); this.DocumentContextMenu.ResumeLayout(false); this.ToolWindowContextMenu.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.option1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.option2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.option3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.option1ToolStripMenuItem, this.option2ToolStripMenuItem, this.option3ToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(113, 70); // // option1ToolStripMenuItem // this.option1ToolStripMenuItem.Name = "option1ToolStripMenuItem"; this.option1ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.option1ToolStripMenuItem.Text = "Option&1"; // // option2ToolStripMenuItem // this.option2ToolStripMenuItem.Name = "option2ToolStripMenuItem"; this.option2ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.option2ToolStripMenuItem.Text = "Option&2"; // // option3ToolStripMenuItem // this.option3ToolStripMenuItem.Name = "option3ToolStripMenuItem"; this.option3ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.option3ToolStripMenuItem.Text = "Option&3"; // // ToolWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 266); this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)(((((WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft) | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight) | WeifenLuo.WinFormsUI.Docking.DockAreas.DockTop) | WeifenLuo.WinFormsUI.Docking.DockAreas.DockBottom))); this.Name = "ToolWindow"; this.TabPageContextMenuStrip = this.contextMenuStrip1; this.TabText = "ToolWindow"; this.Text = "ToolWindow"; this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolCopy = new System.Windows.Forms.ToolStripMenuItem(); this.toolCut = new System.Windows.Forms.ToolStripMenuItem(); this.toolPaste = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolCopy, this.toolCut, this.toolPaste}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(95, 103); this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening); this.contextMenuStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.contextMenuStrip1_ItemClicked); // // toolCopy // this.toolCopy.AutoSize = false; this.toolCopy.Name = "toolCopy"; this.toolCopy.Size = new System.Drawing.Size(94, 33); this.toolCopy.Text = "复制"; // // toolCut // this.toolCut.AutoSize = false; this.toolCut.Name = "toolCut"; this.toolCut.Size = new System.Drawing.Size(94, 33); this.toolCut.Text = "剪切"; // // toolPaste // this.toolPaste.AutoSize = false; this.toolPaste.Name = "toolPaste"; this.toolPaste.Size = new System.Drawing.Size(94, 33); this.toolPaste.Text = "粘贴"; // // TableRichTextBox // this.ContextMenuStrip = this.contextMenuStrip1; this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TableRichTextBox_MouseClick); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitialiseComponents() { this.CloseMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.CloseMenuItem.Text = "Close"; this.ShowMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ShowMenuItem.Text = "Show"; this.ShowSummaryMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ShowSummaryMenuItem.Text = "Summary"; this.SettingsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SettingsMenuItem.Text = "Settings"; this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox(); this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox(); this.IconContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(); this.NotificationIcon = new System.Windows.Forms.NotifyIcon(); // //notofication icon // this.NotificationIcon.Icon = ( (System.Drawing.Icon)( Resources.TaskBarIcon ) ); this.NotificationIcon.Text = "WorkReportReminder"; this.NotificationIcon.Visible = true; this.NotificationIcon.ContextMenuStrip = this.IconContextMenuStrip; this.NotificationIcon.DoubleClick += new System.EventHandler(this.OnNotificationIconDoubleClick); // // IconContextMenuStrip // this.IconContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ShowMenuItem, this.ShowSummaryMenuItem, this.SettingsMenuItem, this.CloseMenuItem }); this.IconContextMenuStrip.Name = "IconContextMenuStrip"; this.IconContextMenuStrip.Size = new System.Drawing.Size(182, 124); this.IconContextMenuStrip.ResumeLayout(false); this.IconContextMenuStrip.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.treeView1 = new System.Windows.Forms.TreeView(); this.button1 = new System.Windows.Forms.Button(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.SuspendLayout(); // // treeView1 // this.treeView1.Location = new System.Drawing.Point(13, 57); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(162, 472); this.treeView1.TabIndex = 0; this.treeView1.DoubleClick += new System.EventHandler(this.treeView1_DoubleClick); // // button1 // this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.Location = new System.Drawing.Point(13, 16); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(162, 35); this.button1.TabIndex = 1; this.button1.Text = "Save to XWiki"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.SaveToXwiki); // // contextMenuStrip1 // this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(153, 26); // // UserControl1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.button1); this.Controls.Add(this.treeView1); this.Name = "UserControl1"; this.Size = new System.Drawing.Size(198, 545); this.Load += new System.EventHandler(this.UserControl1_Load); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.ContextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.tsm隐藏 = new System.Windows.Forms.ToolStripMenuItem(); this.lblCaption = new Feng.Windows.Forms.MyLabel(); this.ContextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // ContextMenuStrip1 // this.ContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsm隐藏}); this.ContextMenuStrip1.Name = "tsm隐藏"; this.ContextMenuStrip1.Size = new System.Drawing.Size(101, 26); // // tsm隐藏 // this.tsm隐藏.Name = "tsm隐藏"; this.tsm隐藏.Size = new System.Drawing.Size(100, 22); this.tsm隐藏.Text = "隐藏"; this.tsm隐藏.Click += new System.EventHandler(this.tsm隐藏_Click); // // lblCaption // this.lblCaption.ContextMenuStrip = this.ContextMenuStrip1; this.lblCaption.Dock = System.Windows.Forms.DockStyle.Left; this.lblCaption.Location = new System.Drawing.Point(0, 0); this.lblCaption.Name = "lblCaption"; this.lblCaption.ReadOnly = true; this.lblCaption.Size = new System.Drawing.Size(60, 24); this.lblCaption.TabIndex = 4; this.lblCaption.Text = "状态"; // // CustomSearchControl // this.Controls.Add(this.lblCaption); this.Name = "CustomSearchControl"; this.Size = new System.Drawing.Size(172, 24); this.ContextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.ExitContext = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ExitContext}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(101, 26); // // ExitContext // this.ExitContext.Name = "ExitContext"; this.ExitContext.Size = new System.Drawing.Size(100, 22); this.ExitContext.Text = "退出"; this.ExitContext.Click += new System.EventHandler(this.ExitContext_Click); // // Frm_Main // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = global::DragNoFrameForm.Properties.Resources._04; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(320, 228); this.ContextMenuStrip = this.contextMenuStrip1; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Frm_Main"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "拖动无边框窗体"; this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Frm_Main_MouseDown); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.pictureBox = new System.Windows.Forms.PictureBox(); this.pictureBoxContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit(); this.SuspendLayout(); // // pictureBox // this.pictureBox.Cursor = System.Windows.Forms.Cursors.Default; this.pictureBox.Location = new System.Drawing.Point(13, 12); this.pictureBox.Name = "pictureBox"; this.pictureBox.Size = new System.Drawing.Size(249, 138); this.pictureBox.TabIndex = 0; this.pictureBox.TabStop = false; this.pictureBox.LocationChanged += new System.EventHandler(this.pictureBox_LocationChanged); this.pictureBox.Click += new System.EventHandler(this.pictureBox_Click); this.pictureBox.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox_Paint); // // pictureBoxContextMenuStrip // this.pictureBoxContextMenuStrip.Name = "pictureBoxContextMenuStrip"; this.pictureBoxContextMenuStrip.Size = new System.Drawing.Size(61, 4); // // ScalablePictureBox // this.AutoScroll = true; this.BackColor = System.Drawing.SystemColors.Control; this.ContextMenuStrip = this.pictureBoxContextMenuStrip; this.Controls.Add(this.pictureBox); this.Name = "ScalablePictureBox"; this.Size = new System.Drawing.Size(299, 199); this.Resize += new System.EventHandler(this.OnResize); ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit(); this.ResumeLayout(false); }
public MainWindow() { InitializeComponent(); notifier = new System.Windows.Forms.NotifyIcon(); this.contextMenu1 = new System.Windows.Forms.ContextMenuStrip(); refreshItem = new System.Windows.Forms.ToolStripMenuItem("Refresh"); correctItem = new System.Windows.Forms.ToolStripMenuItem("Correct Position"); currentPositionItem = new System.Windows.Forms.ToolStripMenuItem("Current Position"); exitItem = new System.Windows.Forms.ToolStripMenuItem("Exit"); this.contextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] { refreshItem, correctItem, currentPositionItem, exitItem }); refreshItem.Click += new System.EventHandler(this.refreshItem_Click); correctItem.Click += new System.EventHandler(this.correcPositiontItem_Click); exitItem.Click += new System.EventHandler(this.exitItem_Click); notifier.Icon = MaraudersMap.Properties.Resources.TaskbarIconHigh; notifier.Visible = true; notifier.Click += new EventHandler(notifyIcon1_Click); contextMenu1.LostFocus += (object sender, EventArgs a) => { contextMenu1.Hide(); }; refreshTimer = new Timer(checkPosition, null, TimeSpan.Zero, TimeSpan.FromMinutes(1)); InitializeWireless(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Views"); System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Procedures"); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveScriptCurrentTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printHTMLReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.connectionManagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertMultisetToAccessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertMultisetToSQLiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sendResultsToStoredConnectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.xMLDataEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadFromXMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.openScriptLogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tabsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.renameTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusMain = new System.Windows.Forms.StatusStrip(); this.txtCurrentDatabase = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); this.txtStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.btnRefreshDatabase = new System.Windows.Forms.ToolStripButton(); this.cboDatabaseConnection = new System.Windows.Forms.ToolStripComboBox(); this.btnRunQuery = new System.Windows.Forms.ToolStripButton(); this.btnRunAction = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.btnOpenScript = new System.Windows.Forms.ToolStripButton(); this.btnSaveResultsAs = new System.Windows.Forms.ToolStripButton(); this.cboExportFormat = new System.Windows.Forms.ToolStripComboBox(); this.btnAboutHelp = new System.Windows.Forms.ToolStripButton(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.tabDatabaseObjects = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tvTablesList = new System.Windows.Forms.TreeView(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.tabPage2 = new System.Windows.Forms.TabPage(); this.tvViewsList = new System.Windows.Forms.TreeView(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.tvProceduresList = new System.Windows.Forms.TreeView(); this.tabQueries = new System.Windows.Forms.TabControl(); this.mnuQueryTabs = new System.Windows.Forms.ContextMenuStrip(this.components); this.mnuQTabsNew = new System.Windows.Forms.ToolStripMenuItem(); this.mnuQTabsClose = new System.Windows.Forms.ToolStripMenuItem(); this.mnuQTabsRename = new System.Windows.Forms.ToolStripMenuItem(); this.mnuTableOptions = new System.Windows.Forms.ContextMenuStrip(this.components); this.mnuTableDrop = new System.Windows.Forms.ToolStripMenuItem(); this.mnuTableViewCreate = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.statusMain.SuspendLayout(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.tabDatabaseObjects.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.mnuQueryTabs.SuspendLayout(); this.mnuTableOptions.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.toolsToolStripMenuItem, this.tabsToolStripMenuItem, this.helpToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2); this.menuStrip1.Size = new System.Drawing.Size(900, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openScriptToolStripMenuItem, this.saveScriptCurrentTabToolStripMenuItem, this.printHTMLReportToolStripMenuItem, this.toolStripSeparator1, this.connectionManagerToolStripMenuItem, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "&File"; // // openScriptToolStripMenuItem // this.openScriptToolStripMenuItem.Name = "openScriptToolStripMenuItem"; this.openScriptToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl-O"; this.openScriptToolStripMenuItem.Size = new System.Drawing.Size(186, 22); this.openScriptToolStripMenuItem.Text = "&Open Script"; // // saveScriptCurrentTabToolStripMenuItem // this.saveScriptCurrentTabToolStripMenuItem.Name = "saveScriptCurrentTabToolStripMenuItem"; this.saveScriptCurrentTabToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl-S"; this.saveScriptCurrentTabToolStripMenuItem.Size = new System.Drawing.Size(186, 22); this.saveScriptCurrentTabToolStripMenuItem.Text = "Save Script"; // // printHTMLReportToolStripMenuItem // this.printHTMLReportToolStripMenuItem.Name = "printHTMLReportToolStripMenuItem"; this.printHTMLReportToolStripMenuItem.Size = new System.Drawing.Size(186, 22); this.printHTMLReportToolStripMenuItem.Text = "Print HTML Report"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(183, 6); // // connectionManagerToolStripMenuItem // this.connectionManagerToolStripMenuItem.Name = "connectionManagerToolStripMenuItem"; this.connectionManagerToolStripMenuItem.Size = new System.Drawing.Size(186, 22); this.connectionManagerToolStripMenuItem.Text = "&Connection Manager"; this.connectionManagerToolStripMenuItem.Click += new System.EventHandler(this.ConnectionManagerToolStripMenuItemClick); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(186, 22); this.exitToolStripMenuItem.Text = "&Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.undoToolStripMenuItem, this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.selectAllToolStripMenuItem }); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "&Edit"; // // undoToolStripMenuItem // this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.undoToolStripMenuItem.Text = "Undo"; // // cutToolStripMenuItem // this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.cutToolStripMenuItem.Text = "Cut"; // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.copyToolStripMenuItem.Text = "Copy"; // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.pasteToolStripMenuItem.Text = "Paste"; // // selectAllToolStripMenuItem // this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.selectAllToolStripMenuItem.Text = "Select All"; // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.convertMultisetToAccessToolStripMenuItem, this.convertMultisetToSQLiteToolStripMenuItem, this.sendResultsToStoredConnectionToolStripMenuItem, this.toolStripSeparator2, this.xMLDataEditorToolStripMenuItem, this.loadFromXMLToolStripMenuItem, this.toolStripSeparator3, this.openScriptLogToolStripMenuItem }); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Size = new System.Drawing.Size(46, 20); this.toolsToolStripMenuItem.Text = "&Tools"; // // convertMultisetToAccessToolStripMenuItem // this.convertMultisetToAccessToolStripMenuItem.Name = "convertMultisetToAccessToolStripMenuItem"; this.convertMultisetToAccessToolStripMenuItem.Size = new System.Drawing.Size(256, 22); this.convertMultisetToAccessToolStripMenuItem.Text = "Convert Multiset to Access"; // // convertMultisetToSQLiteToolStripMenuItem // this.convertMultisetToSQLiteToolStripMenuItem.Name = "convertMultisetToSQLiteToolStripMenuItem"; this.convertMultisetToSQLiteToolStripMenuItem.Size = new System.Drawing.Size(256, 22); this.convertMultisetToSQLiteToolStripMenuItem.Text = "Convert Multiset to SQLite"; // // sendResultsToStoredConnectionToolStripMenuItem // this.sendResultsToStoredConnectionToolStripMenuItem.Name = "sendResultsToStoredConnectionToolStripMenuItem"; this.sendResultsToStoredConnectionToolStripMenuItem.Size = new System.Drawing.Size(256, 22); this.sendResultsToStoredConnectionToolStripMenuItem.Text = "Send Results to Stored Connection"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(253, 6); // // xMLDataEditorToolStripMenuItem // this.xMLDataEditorToolStripMenuItem.Name = "xMLDataEditorToolStripMenuItem"; this.xMLDataEditorToolStripMenuItem.Size = new System.Drawing.Size(256, 22); this.xMLDataEditorToolStripMenuItem.Text = "XML Data Editor"; // // loadFromXMLToolStripMenuItem // this.loadFromXMLToolStripMenuItem.Name = "loadFromXMLToolStripMenuItem"; this.loadFromXMLToolStripMenuItem.Size = new System.Drawing.Size(256, 22); this.loadFromXMLToolStripMenuItem.Text = "Load From XML"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(253, 6); // // openScriptLogToolStripMenuItem // this.openScriptLogToolStripMenuItem.Name = "openScriptLogToolStripMenuItem"; this.openScriptLogToolStripMenuItem.Size = new System.Drawing.Size(256, 22); this.openScriptLogToolStripMenuItem.Text = "Open Script Log"; this.openScriptLogToolStripMenuItem.Click += new System.EventHandler(this.openScriptLogToolStripMenuItem_Click); // // tabsToolStripMenuItem // this.tabsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newTabToolStripMenuItem, this.closeTabToolStripMenuItem, this.renameTabToolStripMenuItem }); this.tabsToolStripMenuItem.Name = "tabsToolStripMenuItem"; this.tabsToolStripMenuItem.Size = new System.Drawing.Size(42, 20); this.tabsToolStripMenuItem.Text = "&Tabs"; // // newTabToolStripMenuItem // this.newTabToolStripMenuItem.Name = "newTabToolStripMenuItem"; this.newTabToolStripMenuItem.Size = new System.Drawing.Size(138, 22); this.newTabToolStripMenuItem.Text = "New Tab"; this.newTabToolStripMenuItem.Click += new System.EventHandler(this.NewTabToolStripMenuItemClick); // // closeTabToolStripMenuItem // this.closeTabToolStripMenuItem.Name = "closeTabToolStripMenuItem"; this.closeTabToolStripMenuItem.Size = new System.Drawing.Size(138, 22); this.closeTabToolStripMenuItem.Text = "Close Tab"; this.closeTabToolStripMenuItem.Click += new System.EventHandler(this.CloseTabToolStripMenuItemClick); // // renameTabToolStripMenuItem // this.renameTabToolStripMenuItem.Name = "renameTabToolStripMenuItem"; this.renameTabToolStripMenuItem.Size = new System.Drawing.Size(138, 22); this.renameTabToolStripMenuItem.Text = "Rename Tab"; this.renameTabToolStripMenuItem.Click += new System.EventHandler(this.RenameTabToolStripMenuItemClick); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutToolStripMenuItem }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.helpToolStripMenuItem.Text = "&Help"; // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.aboutToolStripMenuItem.Text = "About"; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItemClick); // // statusMain // this.statusMain.ImageScalingSize = new System.Drawing.Size(20, 20); this.statusMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.txtCurrentDatabase, this.toolStripStatusLabel2, this.txtStatus }); this.statusMain.Location = new System.Drawing.Point(0, 464); this.statusMain.Name = "statusMain"; this.statusMain.Size = new System.Drawing.Size(900, 22); this.statusMain.TabIndex = 1; this.statusMain.Text = "statusStrip1"; // // txtCurrentDatabase // this.txtCurrentDatabase.Name = "txtCurrentDatabase"; this.txtCurrentDatabase.Size = new System.Drawing.Size(133, 17); this.txtCurrentDatabase.Text = "Current Database: None"; // // toolStripStatusLabel2 // this.toolStripStatusLabel2.Name = "toolStripStatusLabel2"; this.toolStripStatusLabel2.Size = new System.Drawing.Size(10, 17); this.toolStripStatusLabel2.Text = "|"; // // txtStatus // this.txtStatus.Name = "txtStatus"; this.txtStatus.Size = new System.Drawing.Size(74, 17); this.txtStatus.Text = "Status: None"; // // toolStrip1 // this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnRefreshDatabase, this.cboDatabaseConnection, this.btnRunQuery, this.btnRunAction, this.toolStripSeparator4, this.btnOpenScript, this.btnSaveResultsAs, this.cboExportFormat, this.btnAboutHelp }); this.toolStrip1.Location = new System.Drawing.Point(0, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(900, 27); this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // btnRefreshDatabase // this.btnRefreshDatabase.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnRefreshDatabase.Image = ((System.Drawing.Image)(resources.GetObject("btnRefreshDatabase.Image"))); this.btnRefreshDatabase.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnRefreshDatabase.Name = "btnRefreshDatabase"; this.btnRefreshDatabase.Size = new System.Drawing.Size(24, 24); this.btnRefreshDatabase.Text = "Refresh"; this.btnRefreshDatabase.Click += new System.EventHandler(this.BtnRefreshDatabaseClick); // // cboDatabaseConnection // this.cboDatabaseConnection.DropDownWidth = 200; this.cboDatabaseConnection.Name = "cboDatabaseConnection"; this.cboDatabaseConnection.Size = new System.Drawing.Size(150, 27); this.cboDatabaseConnection.Text = "(No DB Selected)"; // // btnRunQuery // this.btnRunQuery.Image = ((System.Drawing.Image)(resources.GetObject("btnRunQuery.Image"))); this.btnRunQuery.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnRunQuery.Name = "btnRunQuery"; this.btnRunQuery.Size = new System.Drawing.Size(87, 24); this.btnRunQuery.Text = "Run Query"; this.btnRunQuery.Click += new System.EventHandler(this.BtnRunQueryClick); // // btnRunAction // this.btnRunAction.Image = ((System.Drawing.Image)(resources.GetObject("btnRunAction.Image"))); this.btnRunAction.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnRunAction.Name = "btnRunAction"; this.btnRunAction.Size = new System.Drawing.Size(125, 24); this.btnRunAction.Text = "Run Action Query"; this.btnRunAction.Click += new System.EventHandler(this.BtnRunActionClick); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 27); // // btnOpenScript // this.btnOpenScript.Image = ((System.Drawing.Image)(resources.GetObject("btnOpenScript.Image"))); this.btnOpenScript.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnOpenScript.Name = "btnOpenScript"; this.btnOpenScript.Size = new System.Drawing.Size(93, 24); this.btnOpenScript.Text = "Open Script"; this.btnOpenScript.Click += new System.EventHandler(this.BtnOpenScriptClick); // // btnSaveResultsAs // this.btnSaveResultsAs.Image = ((System.Drawing.Image)(resources.GetObject("btnSaveResultsAs.Image"))); this.btnSaveResultsAs.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnSaveResultsAs.Name = "btnSaveResultsAs"; this.btnSaveResultsAs.Size = new System.Drawing.Size(114, 24); this.btnSaveResultsAs.Text = "Save Results As:"; this.btnSaveResultsAs.Click += new System.EventHandler(this.btnSaveResultsAs_Click); // // cboExportFormat // this.cboExportFormat.Items.AddRange(new object[] { "Excel (.xlsx)", "CSV", "Tab Delimited", "Choose Delimiter", "XML", "Multiset" }); this.cboExportFormat.Name = "cboExportFormat"; this.cboExportFormat.Size = new System.Drawing.Size(114, 27); this.cboExportFormat.Text = "Excel (.xlsx)"; // // btnAboutHelp // this.btnAboutHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnAboutHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnAboutHelp.Image"))); this.btnAboutHelp.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnAboutHelp.Name = "btnAboutHelp"; this.btnAboutHelp.Size = new System.Drawing.Size(24, 24); this.btnAboutHelp.Text = "Help"; this.btnAboutHelp.Click += new System.EventHandler(this.BtnAboutHelpClick); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 51); this.splitContainer1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.tabDatabaseObjects); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.tabQueries); this.splitContainer1.Size = new System.Drawing.Size(900, 413); this.splitContainer1.SplitterDistance = 201; this.splitContainer1.SplitterWidth = 3; this.splitContainer1.TabIndex = 3; // // tabDatabaseObjects // this.tabDatabaseObjects.Controls.Add(this.tabPage1); this.tabDatabaseObjects.Controls.Add(this.tabPage2); this.tabDatabaseObjects.Controls.Add(this.tabPage3); this.tabDatabaseObjects.Dock = System.Windows.Forms.DockStyle.Fill; this.tabDatabaseObjects.Location = new System.Drawing.Point(0, 0); this.tabDatabaseObjects.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabDatabaseObjects.Name = "tabDatabaseObjects"; this.tabDatabaseObjects.SelectedIndex = 0; this.tabDatabaseObjects.Size = new System.Drawing.Size(201, 413); this.tabDatabaseObjects.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.tvTablesList); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage1.Size = new System.Drawing.Size(193, 387); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Tables"; this.tabPage1.UseVisualStyleBackColor = true; // // tvTablesList // this.tvTablesList.Dock = System.Windows.Forms.DockStyle.Fill; this.tvTablesList.ImageIndex = 0; this.tvTablesList.ImageList = this.imageList1; this.tvTablesList.Location = new System.Drawing.Point(2, 2); this.tvTablesList.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tvTablesList.Name = "tvTablesList"; this.tvTablesList.SelectedImageIndex = 0; this.tvTablesList.ShowLines = false; this.tvTablesList.ShowRootLines = false; this.tvTablesList.Size = new System.Drawing.Size(189, 383); this.tvTablesList.TabIndex = 0; this.tvTablesList.DoubleClick += new System.EventHandler(this.TvTablesListDoubleClick); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "table.png"); // // tabPage2 // this.tabPage2.Controls.Add(this.tvViewsList); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage2.Size = new System.Drawing.Size(193, 393); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Views"; this.tabPage2.UseVisualStyleBackColor = true; // // tvViewsList // this.tvViewsList.Dock = System.Windows.Forms.DockStyle.Fill; this.tvViewsList.Location = new System.Drawing.Point(2, 2); this.tvViewsList.Name = "tvViewsList"; treeNode1.Name = "Views"; treeNode1.Text = "Views"; this.tvViewsList.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode1 }); this.tvViewsList.Size = new System.Drawing.Size(189, 389); this.tvViewsList.TabIndex = 0; // // tabPage3 // this.tabPage3.Controls.Add(this.tvProceduresList); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage3.Size = new System.Drawing.Size(193, 393); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Procedures"; this.tabPage3.UseVisualStyleBackColor = true; // // tvProceduresList // this.tvProceduresList.Dock = System.Windows.Forms.DockStyle.Fill; this.tvProceduresList.Location = new System.Drawing.Point(2, 2); this.tvProceduresList.Name = "tvProceduresList"; treeNode2.Name = "Procedures"; treeNode2.Text = "Procedures"; this.tvProceduresList.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode2 }); this.tvProceduresList.Size = new System.Drawing.Size(189, 389); this.tvProceduresList.TabIndex = 0; // // tabQueries // this.tabQueries.Dock = System.Windows.Forms.DockStyle.Fill; this.tabQueries.Location = new System.Drawing.Point(0, 0); this.tabQueries.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabQueries.Name = "tabQueries"; this.tabQueries.SelectedIndex = 0; this.tabQueries.Size = new System.Drawing.Size(696, 413); this.tabQueries.TabIndex = 0; this.tabQueries.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TabQueriesMouseClick); // // mnuQueryTabs // this.mnuQueryTabs.ImageScalingSize = new System.Drawing.Size(20, 20); this.mnuQueryTabs.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuQTabsNew, this.mnuQTabsClose, this.mnuQTabsRename }); this.mnuQueryTabs.Name = "mnuQueryTabs"; this.mnuQueryTabs.Size = new System.Drawing.Size(139, 70); // // mnuQTabsNew // this.mnuQTabsNew.Name = "mnuQTabsNew"; this.mnuQTabsNew.Size = new System.Drawing.Size(138, 22); this.mnuQTabsNew.Text = "New Tab"; this.mnuQTabsNew.Click += new System.EventHandler(this.MnuQTabsNewClick); // // mnuQTabsClose // this.mnuQTabsClose.Name = "mnuQTabsClose"; this.mnuQTabsClose.Size = new System.Drawing.Size(138, 22); this.mnuQTabsClose.Text = "Close Tab"; this.mnuQTabsClose.Click += new System.EventHandler(this.MnuQTabsCloseClick); // // mnuQTabsRename // this.mnuQTabsRename.Name = "mnuQTabsRename"; this.mnuQTabsRename.Size = new System.Drawing.Size(138, 22); this.mnuQTabsRename.Text = "Rename Tab"; this.mnuQTabsRename.Click += new System.EventHandler(this.MnuQTabsRenameClick); // // mnuTableOptions // this.mnuTableOptions.ImageScalingSize = new System.Drawing.Size(20, 20); this.mnuTableOptions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuTableDrop, this.mnuTableViewCreate }); this.mnuTableOptions.Name = "mnuTableOptions"; this.mnuTableOptions.Size = new System.Drawing.Size(172, 48); // // mnuTableDrop // this.mnuTableDrop.Name = "mnuTableDrop"; this.mnuTableDrop.Size = new System.Drawing.Size(171, 22); this.mnuTableDrop.Text = "Drop"; // // mnuTableViewCreate // this.mnuTableViewCreate.Name = "mnuTableViewCreate"; this.mnuTableViewCreate.Size = new System.Drawing.Size(171, 22); this.mnuTableViewCreate.Text = "View Create Query"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(900, 486); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.statusMain); this.Controls.Add(this.menuStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.Name = "MainForm"; this.Text = "SQLRunner2"; this.Load += new System.EventHandler(this.MainFormLoad); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.statusMain.ResumeLayout(false); this.statusMain.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.tabDatabaseObjects.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.mnuQueryTabs.ResumeLayout(false); this.mnuTableOptions.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.取消结算ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.comboBoxProjectCompany = new System.Windows.Forms.ComboBox(); this.comboBoxProject = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.buttonCX = new System.Windows.Forms.Button(); this.buttonPrint = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1; this.dataGridView1.Location = new System.Drawing.Point(7, 38); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(809, 198); this.dataGridView1.TabIndex = 11; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.取消结算ToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(153, 48); // // 取消结算ToolStripMenuItem // this.取消结算ToolStripMenuItem.Name = "取消结算ToolStripMenuItem"; this.取消结算ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.取消结算ToolStripMenuItem.Text = "取消结算"; this.取消结算ToolStripMenuItem.Click += new System.EventHandler(this.取消结算ToolStripMenuItemClick); // // comboBoxProjectCompany // this.comboBoxProjectCompany.FormattingEnabled = true; this.comboBoxProjectCompany.Location = new System.Drawing.Point(293, 12); this.comboBoxProjectCompany.Name = "comboBoxProjectCompany"; this.comboBoxProjectCompany.Size = new System.Drawing.Size(233, 20); this.comboBoxProjectCompany.TabIndex = 9; this.comboBoxProjectCompany.SelectedIndexChanged += new System.EventHandler(this.ComboBoxProjectCompanySelectedIndexChanged); // // comboBoxProject // this.comboBoxProject.FormattingEnabled = true; this.comboBoxProject.Location = new System.Drawing.Point(50, 12); this.comboBoxProject.Name = "comboBoxProject"; this.comboBoxProject.Size = new System.Drawing.Size(168, 20); this.comboBoxProject.TabIndex = 5; this.comboBoxProject.SelectedIndexChanged += new System.EventHandler(this.ComboBoxProjectSelectedIndexChanged); // // label2 // this.label2.Location = new System.Drawing.Point(245, 11); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 23); this.label2.TabIndex = 6; this.label2.Text = "单位:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label1 // this.label1.Location = new System.Drawing.Point(7, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(85, 23); this.label1.TabIndex = 8; this.label1.Text = "项目:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // buttonCX // this.buttonCX.Location = new System.Drawing.Point(546, 11); this.buttonCX.Name = "buttonCX"; this.buttonCX.Size = new System.Drawing.Size(106, 23); this.buttonCX.TabIndex = 12; this.buttonCX.Text = "查询结算单"; this.buttonCX.UseVisualStyleBackColor = true; this.buttonCX.Click += new System.EventHandler(this.ButtonCXClick); // // buttonPrint // this.buttonPrint.Location = new System.Drawing.Point(658, 12); this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.Size = new System.Drawing.Size(75, 23); this.buttonPrint.TabIndex = 13; this.buttonPrint.Text = "预览结算单"; this.buttonPrint.UseVisualStyleBackColor = true; this.buttonPrint.Click += new System.EventHandler(this.ButtonPrintClick); // // FormHisJSD // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(828, 248); this.Controls.Add(this.buttonPrint); this.Controls.Add(this.buttonCX); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.comboBoxProjectCompany); this.Controls.Add(this.comboBoxProject); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Name = "FormHisJSD"; this.Text = "历史结算单"; this.Load += new System.EventHandler(this.FormHisJSDLoad); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HiddenMain)); this.msTrayIcon = new System.Windows.Forms.ContextMenuStrip(this.components); this.accountsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.setSecretKeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.creditToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components); this.timer1 = new System.Windows.Forms.Timer(this.components); this.msTrayIcon.SuspendLayout(); this.SuspendLayout(); // // msTrayIcon // resources.ApplyResources(this.msTrayIcon, "msTrayIcon"); this.msTrayIcon.ImageScalingSize = new System.Drawing.Size(20, 20); this.msTrayIcon.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.accountsToolStripMenuItem, this.toolStripSeparator2, this.setSecretKeyToolStripMenuItem, this.toolStripSeparator1, this.creditToolStripMenuItem, this.exitToolStripMenuItem }); this.msTrayIcon.Name = "msTrayIcon"; // // accountsToolStripMenuItem // resources.ApplyResources(this.accountsToolStripMenuItem, "accountsToolStripMenuItem"); this.accountsToolStripMenuItem.Name = "accountsToolStripMenuItem"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2"); // // setSecretKeyToolStripMenuItem // this.setSecretKeyToolStripMenuItem.ForeColor = System.Drawing.SystemColors.ControlText; this.setSecretKeyToolStripMenuItem.Name = "setSecretKeyToolStripMenuItem"; resources.ApplyResources(this.setSecretKeyToolStripMenuItem, "setSecretKeyToolStripMenuItem"); this.setSecretKeyToolStripMenuItem.Click += new System.EventHandler(this.AddNewAcct); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1"); // // creditToolStripMenuItem // this.creditToolStripMenuItem.Name = "creditToolStripMenuItem"; resources.ApplyResources(this.creditToolStripMenuItem, "creditToolStripMenuItem"); this.creditToolStripMenuItem.Click += new System.EventHandler(this.CreditToolStripMenuItemClick); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem"); this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick); // // trayIcon // this.trayIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info; resources.ApplyResources(this.trayIcon, "trayIcon"); this.trayIcon.ContextMenuStrip = this.msTrayIcon; // // timer1 // this.timer1.Tick += new System.EventHandler(this.Timer1Tick); // // HiddenMain // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "HiddenMain"; this.ShowIcon = false; this.ShowInTaskbar = false; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; this.msTrayIcon.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(POCETNA)); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.medicinskiRadnikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.izlazToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.informacijeOAplikacijiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.iToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.hijerarhijaProgramaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pomoćZaTutoraToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.kakoKoristitiAplikacijuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.textBox1 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.izlazToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.medicinskiRadnikToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.izlazToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.menuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.helpToolStripMenuItem, this.pomoćZaTutoraToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(584, 24); this.menuStrip1.TabIndex = 6; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exitToolStripMenuItem, this.medicinskiRadnikToolStripMenuItem, this.izlazToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(46, 20); this.fileToolStripMenuItem.Text = "Meni"; // // exitToolStripMenuItem // this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image"))); this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.exitToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.exitToolStripMenuItem.Text = "Pacijent"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // medicinskiRadnikToolStripMenuItem // this.medicinskiRadnikToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("medicinskiRadnikToolStripMenuItem.Image"))); this.medicinskiRadnikToolStripMenuItem.Name = "medicinskiRadnikToolStripMenuItem"; this.medicinskiRadnikToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.medicinskiRadnikToolStripMenuItem.Text = "Medicinski radnik"; this.medicinskiRadnikToolStripMenuItem.Click += new System.EventHandler(this.medicinskiRadnikToolStripMenuItem_Click); // // izlazToolStripMenuItem // this.izlazToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("izlazToolStripMenuItem.Image"))); this.izlazToolStripMenuItem.Name = "izlazToolStripMenuItem"; this.izlazToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.izlazToolStripMenuItem.Text = "Izlaz"; this.izlazToolStripMenuItem.Click += new System.EventHandler(this.izlazToolStripMenuItem_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.informacijeOAplikacijiToolStripMenuItem, this.iToolStripMenuItem, this.hijerarhijaProgramaToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(79, 20); this.helpToolStripMenuItem.Text = "Informacije"; // // informacijeOAplikacijiToolStripMenuItem // this.informacijeOAplikacijiToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("informacijeOAplikacijiToolStripMenuItem.Image"))); this.informacijeOAplikacijiToolStripMenuItem.Name = "informacijeOAplikacijiToolStripMenuItem"; this.informacijeOAplikacijiToolStripMenuItem.Size = new System.Drawing.Size(208, 22); this.informacijeOAplikacijiToolStripMenuItem.Text = "Informacije o aplikaciji"; this.informacijeOAplikacijiToolStripMenuItem.Click += new System.EventHandler(this.informacijeOAplikacijiToolStripMenuItem_Click); // // iToolStripMenuItem // this.iToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("iToolStripMenuItem.Image"))); this.iToolStripMenuItem.Name = "iToolStripMenuItem"; this.iToolStripMenuItem.Size = new System.Drawing.Size(208, 22); this.iToolStripMenuItem.Text = "Informacije o developerki"; this.iToolStripMenuItem.Click += new System.EventHandler(this.iToolStripMenuItem_Click); // // hijerarhijaProgramaToolStripMenuItem // this.hijerarhijaProgramaToolStripMenuItem.Name = "hijerarhijaProgramaToolStripMenuItem"; this.hijerarhijaProgramaToolStripMenuItem.Size = new System.Drawing.Size(208, 22); this.hijerarhijaProgramaToolStripMenuItem.Text = "Hijerarhija programa"; this.hijerarhijaProgramaToolStripMenuItem.Click += new System.EventHandler(this.hijerarhijaProgramaToolStripMenuItem_Click); // // pomoćZaTutoraToolStripMenuItem // this.pomoćZaTutoraToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.kakoKoristitiAplikacijuToolStripMenuItem}); this.pomoćZaTutoraToolStripMenuItem.Name = "pomoćZaTutoraToolStripMenuItem"; this.pomoćZaTutoraToolStripMenuItem.Size = new System.Drawing.Size(106, 20); this.pomoćZaTutoraToolStripMenuItem.Text = "Pomoć za tutora"; // // kakoKoristitiAplikacijuToolStripMenuItem // this.kakoKoristitiAplikacijuToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("kakoKoristitiAplikacijuToolStripMenuItem.Image"))); this.kakoKoristitiAplikacijuToolStripMenuItem.Name = "kakoKoristitiAplikacijuToolStripMenuItem"; this.kakoKoristitiAplikacijuToolStripMenuItem.Size = new System.Drawing.Size(200, 22); this.kakoKoristitiAplikacijuToolStripMenuItem.Text = "Kako koristiti aplikaciju?"; this.kakoKoristitiAplikacijuToolStripMenuItem.Click += new System.EventHandler(this.kakoKoristitiAplikacijuToolStripMenuItem_Click); // // textBox1 // this.textBox1.Enabled = false; this.textBox1.Font = new System.Drawing.Font("Microsoft YaHei UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox1.ForeColor = System.Drawing.SystemColors.MenuHighlight; this.textBox1.Location = new System.Drawing.Point(134, 70); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(273, 34); this.textBox1.TabIndex = 7; this.textBox1.Text = "DOBRO DOŠLI!"; this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // button1 // this.button1.BackColor = System.Drawing.SystemColors.InactiveCaption; this.button1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.Location = new System.Drawing.Point(299, 157); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(170, 52); this.button1.TabIndex = 8; this.button1.Text = "Medicinski radnik"; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.BackColor = System.Drawing.SystemColors.InactiveCaption; this.button2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button2.Location = new System.Drawing.Point(89, 157); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(170, 52); this.button2.TabIndex = 9; this.button2.Text = "Pacijent"; this.button2.UseVisualStyleBackColor = false; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Location = new System.Drawing.Point(497, 276); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 14; this.button3.Text = "Izlaz"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.izlazToolStripMenuItem1, this.medicinskiRadnikToolStripMenuItem1, this.izlazToolStripMenuItem2}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(168, 70); // // izlazToolStripMenuItem1 // this.izlazToolStripMenuItem1.Name = "izlazToolStripMenuItem1"; this.izlazToolStripMenuItem1.Size = new System.Drawing.Size(167, 22); this.izlazToolStripMenuItem1.Text = "Pacijent"; this.izlazToolStripMenuItem1.Click += new System.EventHandler(this.izlazToolStripMenuItem1_Click); // // medicinskiRadnikToolStripMenuItem1 // this.medicinskiRadnikToolStripMenuItem1.Name = "medicinskiRadnikToolStripMenuItem1"; this.medicinskiRadnikToolStripMenuItem1.Size = new System.Drawing.Size(167, 22); this.medicinskiRadnikToolStripMenuItem1.Text = "Medicinski radnik"; this.medicinskiRadnikToolStripMenuItem1.Click += new System.EventHandler(this.medicinskiRadnikToolStripMenuItem1_Click); // // izlazToolStripMenuItem2 // this.izlazToolStripMenuItem2.Name = "izlazToolStripMenuItem2"; this.izlazToolStripMenuItem2.Size = new System.Drawing.Size(167, 22); this.izlazToolStripMenuItem2.Text = "Izlaz"; this.izlazToolStripMenuItem2.Click += new System.EventHandler(this.izlazToolStripMenuItem2_Click); // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(149, 27); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(35, 30); this.pictureBox1.TabIndex = 15; this.pictureBox1.TabStop = false; // // POCETNA // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(584, 311); this.ContextMenuStrip = this.contextMenuStrip1; this.Controls.Add(this.pictureBox1); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.textBox1); this.Controls.Add(this.menuStrip1); this.MainMenuStrip = this.menuStrip1; this.MaximumSize = new System.Drawing.Size(600, 350); this.MinimumSize = new System.Drawing.Size(600, 350); this.Name = "POCETNA"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "KLINIKA"; this.Load += new System.EventHandler(this.POCETNA_Load); this.Paint += new System.Windows.Forms.PaintEventHandler(this.POCETNA_Paint_1); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void CreateContextualMenu(LayoutNode node) { ThreadHelper.ThrowIfNotOnUIThread(); System.Windows.Forms.ContextMenuStrip contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(); bool hasFieldLocation = node.FieldLocation != null; bool hasTypeLocation = node.TypeLocation != null; bool hasParent = node.Parent != null; bool hasChildren = node.Children.Count > 0; bool hasName = node.Name.Length > 0; bool hasType = node.Type.Length > 0; //Open Location if (hasFieldLocation) { contextMenuStrip.Items.Add(CreateContextMenu("Open Field Location", (sender, e) => OpenLocation(node.FieldLocation))); } if (hasTypeLocation) { contextMenuStrip.Items.Add(CreateContextMenu("Open Type Location", (sender, e) => OpenLocation(node.TypeLocation))); } //Separator if (contextMenuStrip.Items.Count > 0 && (hasParent || hasChildren)) { contextMenuStrip.Items.Add(new System.Windows.Forms.ToolStripSeparator()); } //Expand/Collapse if (hasParent) { contextMenuStrip.Items.Add(CreateContextMenu("Collapse Parent", (sender, e) => ToggleCollapse(node.Parent))); } if (hasChildren) { contextMenuStrip.Items.Add(CreateContextMenu(node.IsExpanded ? "Collapse" : "Expand", (sender, e) => ToggleCollapse(node))); } //Separator if (contextMenuStrip.Items.Count > 0 && (hasFieldLocation || hasTypeLocation || hasName || hasType)) { contextMenuStrip.Items.Add(new System.Windows.Forms.ToolStripSeparator()); } //Clipboard if (hasName) { contextMenuStrip.Items.Add(CreateContextMenu("Copy Field Name", (sender, e) => Clipboard.SetText(node.Name))); } if (hasFieldLocation) { contextMenuStrip.Items.Add(CreateContextMenu("Copy Field Filename", (sender, e) => Clipboard.SetText(node.FieldLocation.Filename))); } if (hasType) { contextMenuStrip.Items.Add(CreateContextMenu("Copy Type Name", (sender, e) => Clipboard.SetText(node.Type))); } if (hasTypeLocation) { contextMenuStrip.Items.Add(CreateContextMenu("Copy Type Filename", (sender, e) => Clipboard.SetText(node.TypeLocation.Filename))); } contextMenuStrip.Show(System.Windows.Forms.Control.MousePosition); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.tSeat = new System.Windows.Forms.ToolStripTextBox(); this.payTool = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.orderTool = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); this.toolTech = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); this.btnRoom = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel8 = new System.Windows.Forms.ToolStripLabel(); this.toolAllOrder = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); this.btnCashierTable = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); this.btnDeposit = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); this.toolMember = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.toolPreprint = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel9 = new System.Windows.Forms.ToolStripLabel(); this.toolPwd = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel10 = new System.Windows.Forms.ToolStripLabel(); this.toolWarn = new System.Windows.Forms.ToolStripButton(); this.toolStripLabel11 = new System.Windows.Forms.ToolStripLabel(); this.toolExit = new System.Windows.Forms.ToolStripButton(); this.seatContext = new System.Windows.Forms.ContextMenuStrip(this.components); this.CtxAddNote = new System.Windows.Forms.ToolStripMenuItem(); this.CtxLock = new System.Windows.Forms.ToolStripMenuItem(); this.CtxSop = new System.Windows.Forms.ToolStripMenuItem(); this.CtxRepay = new System.Windows.Forms.ToolStripMenuItem(); this.CtxReprint = new System.Windows.Forms.ToolStripMenuItem(); this.unWarnTool = new System.Windows.Forms.ToolStripMenuItem(); this.undoTransferTool = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.currentUser = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel(); this.statusTip = new System.Windows.Forms.ToolStripStatusLabel(); this.aviTip = new System.Windows.Forms.ToolStripStatusLabel(); this.useTip = new System.Windows.Forms.ToolStripStatusLabel(); this.payTip = new System.Windows.Forms.ToolStripStatusLabel(); this.lockTip = new System.Windows.Forms.ToolStripStatusLabel(); this.stopTip = new System.Windows.Forms.ToolStripStatusLabel(); this.warnTip = new System.Windows.Forms.ToolStripStatusLabel(); this.depositTip = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); this.statusStrip2 = new System.Windows.Forms.StatusStrip(); this.LseatTotal = new System.Windows.Forms.ToolStripStatusLabel(); this.seatTotal = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel20 = new System.Windows.Forms.ToolStripStatusLabel(); this.LseatAvi = new System.Windows.Forms.ToolStripStatusLabel(); this.seatAvi = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel21 = new System.Windows.Forms.ToolStripStatusLabel(); this.LmoneyTotal = new System.Windows.Forms.ToolStripStatusLabel(); this.moneyTotal = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel22 = new System.Windows.Forms.ToolStripStatusLabel(); this.LseatPaid = new System.Windows.Forms.ToolStripStatusLabel(); this.seatPaid = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel23 = new System.Windows.Forms.ToolStripStatusLabel(); this.LmoneyPaid = new System.Windows.Forms.ToolStripStatusLabel(); this.moneyPaid = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel24 = new System.Windows.Forms.ToolStripStatusLabel(); this.LseatUnpaid = new System.Windows.Forms.ToolStripStatusLabel(); this.seatUnpaid = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel25 = new System.Windows.Forms.ToolStripStatusLabel(); this.LmoneyUnpaid = new System.Windows.Forms.ToolStripStatusLabel(); this.moneyUnpaid = new System.Windows.Forms.ToolStripStatusLabel(); this.seatPanel = new System.Windows.Forms.Panel(); this.toolStrip1.SuspendLayout(); this.seatContext.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.statusStrip2.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.ImageScalingSize = new System.Drawing.Size(64, 64); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tSeat, this.payTool, this.toolStripLabel2, this.orderTool, this.toolStripLabel5, this.toolTech, this.toolStripLabel3, this.btnRoom, this.toolStripLabel8, this.toolAllOrder, this.toolStripLabel4, this.btnCashierTable, this.toolStripLabel6, this.btnDeposit, this.toolStripLabel7, this.toolMember, this.toolStripLabel1, this.toolPreprint, this.toolStripLabel9, this.toolPwd, this.toolStripLabel10, this.toolWarn, this.toolStripLabel11, this.toolExit}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(1370, 91); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // tSeat // this.tSeat.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tSeat.Font = new System.Drawing.Font("微软雅黑", 28F); this.tSeat.Name = "tSeat"; this.tSeat.Size = new System.Drawing.Size(100, 91); this.tSeat.Enter += new System.EventHandler(this.tSeat_Enter); // // payTool // this.payTool.Font = new System.Drawing.Font("微软雅黑", 11F); this.payTool.Image = ((System.Drawing.Image)(resources.GetObject("payTool.Image"))); this.payTool.ImageTransparentColor = System.Drawing.Color.Magenta; this.payTool.Name = "payTool"; this.payTool.Size = new System.Drawing.Size(70, 88); this.payTool.Text = "结账(F3)"; this.payTool.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.payTool.Click += new System.EventHandler(this.payTool_Click); // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Size = new System.Drawing.Size(12, 88); this.toolStripLabel2.Text = " "; // // orderTool // this.orderTool.Font = new System.Drawing.Font("微软雅黑", 11F); this.orderTool.Image = ((System.Drawing.Image)(resources.GetObject("orderTool.Image"))); this.orderTool.ImageTransparentColor = System.Drawing.Color.Magenta; this.orderTool.Name = "orderTool"; this.orderTool.Size = new System.Drawing.Size(100, 88); this.orderTool.Text = "消费录入(F2)"; this.orderTool.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.orderTool.Click += new System.EventHandler(this.orderTool_Click); // // toolStripLabel5 // this.toolStripLabel5.Name = "toolStripLabel5"; this.toolStripLabel5.Size = new System.Drawing.Size(12, 88); this.toolStripLabel5.Text = " "; // // toolTech // this.toolTech.Font = new System.Drawing.Font("微软雅黑", 11F); this.toolTech.Image = ((System.Drawing.Image)(resources.GetObject("toolTech.Image"))); this.toolTech.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolTech.Name = "toolTech"; this.toolTech.Size = new System.Drawing.Size(70, 88); this.toolTech.Text = "技师(F1)"; this.toolTech.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolTech.Click += new System.EventHandler(this.toolTech_Click); // // toolStripLabel3 // this.toolStripLabel3.Name = "toolStripLabel3"; this.toolStripLabel3.Size = new System.Drawing.Size(12, 88); this.toolStripLabel3.Text = " "; // // btnRoom // this.btnRoom.Font = new System.Drawing.Font("微软雅黑", 11F); this.btnRoom.Image = ((System.Drawing.Image)(resources.GetObject("btnRoom.Image"))); this.btnRoom.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnRoom.Name = "btnRoom"; this.btnRoom.Size = new System.Drawing.Size(70, 88); this.btnRoom.Text = "包房(F4)"; this.btnRoom.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnRoom.Click += new System.EventHandler(this.btnRoom_Click); // // toolStripLabel8 // this.toolStripLabel8.Name = "toolStripLabel8"; this.toolStripLabel8.Size = new System.Drawing.Size(12, 88); this.toolStripLabel8.Text = " "; // // toolAllOrder // this.toolAllOrder.Font = new System.Drawing.Font("微软雅黑", 11F); this.toolAllOrder.Image = ((System.Drawing.Image)(resources.GetObject("toolAllOrder.Image"))); this.toolAllOrder.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolAllOrder.Name = "toolAllOrder"; this.toolAllOrder.Size = new System.Drawing.Size(100, 88); this.toolAllOrder.Text = "录单汇总(F9)"; this.toolAllOrder.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolAllOrder.Click += new System.EventHandler(this.toolAllOrder_Click); // // toolStripLabel4 // this.toolStripLabel4.Name = "toolStripLabel4"; this.toolStripLabel4.Size = new System.Drawing.Size(12, 88); this.toolStripLabel4.Text = " "; // // btnCashierTable // this.btnCashierTable.Font = new System.Drawing.Font("微软雅黑", 11F); this.btnCashierTable.Image = ((System.Drawing.Image)(resources.GetObject("btnCashierTable.Image"))); this.btnCashierTable.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnCashierTable.Name = "btnCashierTable"; this.btnCashierTable.Size = new System.Drawing.Size(100, 88); this.btnCashierTable.Text = "收银报表(F5)"; this.btnCashierTable.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnCashierTable.Click += new System.EventHandler(this.btnCashierTable_Click); // // toolStripLabel6 // this.toolStripLabel6.Name = "toolStripLabel6"; this.toolStripLabel6.Size = new System.Drawing.Size(12, 88); this.toolStripLabel6.Text = " "; // // btnDeposit // this.btnDeposit.Font = new System.Drawing.Font("微软雅黑", 11F); this.btnDeposit.Image = ((System.Drawing.Image)(resources.GetObject("btnDeposit.Image"))); this.btnDeposit.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDeposit.Name = "btnDeposit"; this.btnDeposit.Size = new System.Drawing.Size(100, 88); this.btnDeposit.Text = "押金离场(F6)"; this.btnDeposit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnDeposit.Click += new System.EventHandler(this.btnDeposit_Click); // // toolStripLabel7 // this.toolStripLabel7.Name = "toolStripLabel7"; this.toolStripLabel7.Size = new System.Drawing.Size(12, 88); this.toolStripLabel7.Text = " "; // // toolMember // this.toolMember.Font = new System.Drawing.Font("微软雅黑", 11F); this.toolMember.Image = ((System.Drawing.Image)(resources.GetObject("toolMember.Image"))); this.toolMember.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolMember.Name = "toolMember"; this.toolMember.Size = new System.Drawing.Size(100, 88); this.toolMember.Text = "会员管理(F7)"; this.toolMember.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolMember.Click += new System.EventHandler(this.toolMember_Click); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(16, 88); this.toolStripLabel1.Text = " "; // // toolPreprint // this.toolPreprint.Font = new System.Drawing.Font("微软雅黑", 11F); this.toolPreprint.Image = ((System.Drawing.Image)(resources.GetObject("toolPreprint.Image"))); this.toolPreprint.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolPreprint.Name = "toolPreprint"; this.toolPreprint.Size = new System.Drawing.Size(100, 88); this.toolPreprint.Text = "预打账单(F8)"; this.toolPreprint.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolPreprint.Click += new System.EventHandler(this.toolPreprint_Click); // // toolStripLabel9 // this.toolStripLabel9.Name = "toolStripLabel9"; this.toolStripLabel9.Size = new System.Drawing.Size(12, 88); this.toolStripLabel9.Text = " "; // // toolPwd // this.toolPwd.Font = new System.Drawing.Font("微软雅黑", 11F); this.toolPwd.Image = ((System.Drawing.Image)(resources.GetObject("toolPwd.Image"))); this.toolPwd.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolPwd.Name = "toolPwd"; this.toolPwd.Size = new System.Drawing.Size(100, 88); this.toolPwd.Text = "修改密码(F9)"; this.toolPwd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolPwd.Click += new System.EventHandler(this.toolPwd_Click); // // toolStripLabel10 // this.toolStripLabel10.Name = "toolStripLabel10"; this.toolStripLabel10.Size = new System.Drawing.Size(12, 88); this.toolStripLabel10.Text = " "; // // toolWarn // this.toolWarn.Font = new System.Drawing.Font("微软雅黑", 11F); this.toolWarn.Image = ((System.Drawing.Image)(resources.GetObject("toolWarn.Image"))); this.toolWarn.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolWarn.Name = "toolWarn"; this.toolWarn.Size = new System.Drawing.Size(70, 88); this.toolWarn.Text = "预定(F5)"; this.toolWarn.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolWarn.Click += new System.EventHandler(this.toolWarn_Click); // // toolStripLabel11 // this.toolStripLabel11.Name = "toolStripLabel11"; this.toolStripLabel11.Size = new System.Drawing.Size(16, 88); this.toolStripLabel11.Text = " "; // // toolExit // this.toolExit.Font = new System.Drawing.Font("微软雅黑", 11F); this.toolExit.Image = ((System.Drawing.Image)(resources.GetObject("toolExit.Image"))); this.toolExit.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolExit.Name = "toolExit"; this.toolExit.Size = new System.Drawing.Size(96, 88); this.toolExit.Text = "退 出(ESC)"; this.toolExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolExit.Click += new System.EventHandler(this.toolExit_Click); // // seatContext // this.seatContext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.CtxAddNote, this.CtxLock, this.CtxSop, this.CtxRepay, this.CtxReprint, this.unWarnTool, this.undoTransferTool}); this.seatContext.Name = "contextMenuStrip1"; this.seatContext.Size = new System.Drawing.Size(130, 158); // // CtxAddNote // this.CtxAddNote.Name = "CtxAddNote"; this.CtxAddNote.Size = new System.Drawing.Size(129, 22); this.CtxAddNote.Text = "添加备注"; this.CtxAddNote.Click += new System.EventHandler(this.CtxAddNote_Click); // // CtxLock // this.CtxLock.Name = "CtxLock"; this.CtxLock.Size = new System.Drawing.Size(129, 22); this.CtxLock.Text = "锁定/解锁"; this.CtxLock.Click += new System.EventHandler(this.CtxLock_Click); // // CtxSop // this.CtxSop.Name = "CtxSop"; this.CtxSop.Size = new System.Drawing.Size(129, 22); this.CtxSop.Text = "停用/启用"; this.CtxSop.Click += new System.EventHandler(this.CtxSop_Click); // // CtxRepay // this.CtxRepay.Name = "CtxRepay"; this.CtxRepay.Size = new System.Drawing.Size(129, 22); this.CtxRepay.Text = "重新结账"; this.CtxRepay.Click += new System.EventHandler(this.CtxRepay_Click); // // CtxReprint // this.CtxReprint.Name = "CtxReprint"; this.CtxReprint.Size = new System.Drawing.Size(129, 22); this.CtxReprint.Text = "重打账单"; this.CtxReprint.Click += new System.EventHandler(this.CtxReprint_Click); // // unWarnTool // this.unWarnTool.Name = "unWarnTool"; this.unWarnTool.Size = new System.Drawing.Size(129, 22); this.unWarnTool.Text = "解除警告"; this.unWarnTool.Click += new System.EventHandler(this.unWarnTool_Click); // // undoTransferTool // this.undoTransferTool.Name = "undoTransferTool"; this.undoTransferTool.Size = new System.Drawing.Size(129, 22); this.undoTransferTool.Text = "恢复转账"; this.undoTransferTool.Click += new System.EventHandler(this.undoTransferTool_Click); // // statusStrip1 // this.statusStrip1.Font = new System.Drawing.Font("微软雅黑", 12F); this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1, this.currentUser, this.toolStripStatusLabel3, this.statusTip, this.aviTip, this.useTip, this.payTip, this.lockTip, this.stopTip, this.warnTip, this.depositTip, this.toolStripStatusLabel2}); this.statusStrip1.Location = new System.Drawing.Point(0, 716); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(1370, 26); this.statusStrip1.TabIndex = 6; this.statusStrip1.TabStop = true; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 21); // // currentUser // this.currentUser.Name = "currentUser"; this.currentUser.Size = new System.Drawing.Size(171, 21); this.currentUser.Text = "toolStripStatusLabel2"; // // toolStripStatusLabel3 // this.toolStripStatusLabel3.Name = "toolStripStatusLabel3"; this.toolStripStatusLabel3.Size = new System.Drawing.Size(20, 21); this.toolStripStatusLabel3.Text = " "; // // statusTip // this.statusTip.Font = new System.Drawing.Font("宋体", 10F); this.statusTip.Name = "statusTip"; this.statusTip.Size = new System.Drawing.Size(77, 21); this.statusTip.Text = "状态说明:"; // // aviTip // this.aviTip.BackColor = System.Drawing.Color.White; this.aviTip.Font = new System.Drawing.Font("宋体", 10F); this.aviTip.Name = "aviTip"; this.aviTip.Size = new System.Drawing.Size(84, 21); this.aviTip.Text = " 可用 "; // // useTip // this.useTip.BackColor = System.Drawing.Color.Cyan; this.useTip.Font = new System.Drawing.Font("宋体", 10F); this.useTip.Name = "useTip"; this.useTip.Size = new System.Drawing.Size(63, 21); this.useTip.Text = "正在使用"; // // payTip // this.payTip.BackColor = System.Drawing.Color.Gray; this.payTip.Font = new System.Drawing.Font("宋体", 10F); this.payTip.Name = "payTip"; this.payTip.Size = new System.Drawing.Size(91, 21); this.payTip.Text = " 结账 "; // // lockTip // this.lockTip.BackColor = System.Drawing.Color.Orange; this.lockTip.Font = new System.Drawing.Font("宋体", 10F); this.lockTip.Name = "lockTip"; this.lockTip.Size = new System.Drawing.Size(91, 21); this.lockTip.Text = " 锁定 "; // // stopTip // this.stopTip.BackColor = System.Drawing.Color.Red; this.stopTip.Name = "stopTip"; this.stopTip.Size = new System.Drawing.Size(82, 21); this.stopTip.Text = " 停用 "; // // warnTip // this.warnTip.BackColor = System.Drawing.Color.Yellow; this.warnTip.Name = "warnTip"; this.warnTip.Size = new System.Drawing.Size(74, 21); this.warnTip.Text = " 警告 "; // // depositTip // this.depositTip.BackColor = System.Drawing.Color.Violet; this.depositTip.Name = "depositTip"; this.depositTip.Size = new System.Drawing.Size(74, 21); this.depositTip.Text = "押金离场"; // // toolStripStatusLabel2 // this.toolStripStatusLabel2.BackColor = System.Drawing.Color.CornflowerBlue; this.toolStripStatusLabel2.Name = "toolStripStatusLabel2"; this.toolStripStatusLabel2.Size = new System.Drawing.Size(74, 21); this.toolStripStatusLabel2.Text = "重新结账"; // // statusStrip2 // this.statusStrip2.Font = new System.Drawing.Font("微软雅黑", 12F); this.statusStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.LseatTotal, this.seatTotal, this.toolStripStatusLabel20, this.LseatAvi, this.seatAvi, this.toolStripStatusLabel21, this.LmoneyTotal, this.moneyTotal, this.toolStripStatusLabel22, this.LseatPaid, this.seatPaid, this.toolStripStatusLabel23, this.LmoneyPaid, this.moneyPaid, this.toolStripStatusLabel24, this.LseatUnpaid, this.seatUnpaid, this.toolStripStatusLabel25, this.LmoneyUnpaid, this.moneyUnpaid}); this.statusStrip2.Location = new System.Drawing.Point(0, 690); this.statusStrip2.Name = "statusStrip2"; this.statusStrip2.Size = new System.Drawing.Size(1370, 26); this.statusStrip2.TabIndex = 7; this.statusStrip2.Text = "statusStrip2"; // // LseatTotal // this.LseatTotal.Font = new System.Drawing.Font("宋体", 12F); this.LseatTotal.Name = "LseatTotal"; this.LseatTotal.Size = new System.Drawing.Size(80, 21); this.LseatTotal.Text = "总台位数:"; // // seatTotal // this.seatTotal.Font = new System.Drawing.Font("宋体", 12F); this.seatTotal.Name = "seatTotal"; this.seatTotal.Size = new System.Drawing.Size(40, 21); this.seatTotal.Text = "7000"; // // toolStripStatusLabel20 // this.toolStripStatusLabel20.Name = "toolStripStatusLabel20"; this.toolStripStatusLabel20.Size = new System.Drawing.Size(20, 21); this.toolStripStatusLabel20.Text = " "; // // LseatAvi // this.LseatAvi.Font = new System.Drawing.Font("宋体", 12F); this.LseatAvi.Name = "LseatAvi"; this.LseatAvi.Size = new System.Drawing.Size(96, 21); this.LseatAvi.Text = "空闲台位数:"; // // seatAvi // this.seatAvi.Font = new System.Drawing.Font("宋体", 12F); this.seatAvi.Name = "seatAvi"; this.seatAvi.Size = new System.Drawing.Size(32, 21); this.seatAvi.Text = "100"; // // toolStripStatusLabel21 // this.toolStripStatusLabel21.Name = "toolStripStatusLabel21"; this.toolStripStatusLabel21.Size = new System.Drawing.Size(60, 21); this.toolStripStatusLabel21.Text = " "; // // LmoneyTotal // this.LmoneyTotal.Font = new System.Drawing.Font("宋体", 12F); this.LmoneyTotal.Name = "LmoneyTotal"; this.LmoneyTotal.Size = new System.Drawing.Size(80, 21); this.LmoneyTotal.Text = "合计消费:"; // // moneyTotal // this.moneyTotal.Font = new System.Drawing.Font("宋体", 12F); this.moneyTotal.Name = "moneyTotal"; this.moneyTotal.Size = new System.Drawing.Size(40, 21); this.moneyTotal.Text = "7000"; // // toolStripStatusLabel22 // this.toolStripStatusLabel22.Name = "toolStripStatusLabel22"; this.toolStripStatusLabel22.Size = new System.Drawing.Size(25, 21); this.toolStripStatusLabel22.Text = " "; // // LseatPaid // this.LseatPaid.Font = new System.Drawing.Font("宋体", 12F); this.LseatPaid.Name = "LseatPaid"; this.LseatPaid.Size = new System.Drawing.Size(64, 21); this.LseatPaid.Text = "已结账:"; // // seatPaid // this.seatPaid.Font = new System.Drawing.Font("宋体", 12F); this.seatPaid.Name = "seatPaid"; this.seatPaid.Size = new System.Drawing.Size(24, 21); this.seatPaid.Text = "10"; // // toolStripStatusLabel23 // this.toolStripStatusLabel23.Name = "toolStripStatusLabel23"; this.toolStripStatusLabel23.Size = new System.Drawing.Size(15, 21); this.toolStripStatusLabel23.Text = " "; // // LmoneyPaid // this.LmoneyPaid.Font = new System.Drawing.Font("宋体", 12F); this.LmoneyPaid.Name = "LmoneyPaid"; this.LmoneyPaid.Size = new System.Drawing.Size(48, 21); this.LmoneyPaid.Text = "金额:"; // // moneyPaid // this.moneyPaid.Font = new System.Drawing.Font("宋体", 12F); this.moneyPaid.Name = "moneyPaid"; this.moneyPaid.Size = new System.Drawing.Size(40, 21); this.moneyPaid.Text = "7000"; // // toolStripStatusLabel24 // this.toolStripStatusLabel24.Name = "toolStripStatusLabel24"; this.toolStripStatusLabel24.Size = new System.Drawing.Size(30, 21); this.toolStripStatusLabel24.Text = " "; // // LseatUnpaid // this.LseatUnpaid.Font = new System.Drawing.Font("宋体", 12F); this.LseatUnpaid.Name = "LseatUnpaid"; this.LseatUnpaid.Size = new System.Drawing.Size(64, 21); this.LseatUnpaid.Text = "未结账:"; // // seatUnpaid // this.seatUnpaid.Font = new System.Drawing.Font("宋体", 12F); this.seatUnpaid.Name = "seatUnpaid"; this.seatUnpaid.Size = new System.Drawing.Size(40, 21); this.seatUnpaid.Text = "7000"; // // toolStripStatusLabel25 // this.toolStripStatusLabel25.Name = "toolStripStatusLabel25"; this.toolStripStatusLabel25.Size = new System.Drawing.Size(15, 21); this.toolStripStatusLabel25.Text = " "; // // LmoneyUnpaid // this.LmoneyUnpaid.Font = new System.Drawing.Font("宋体", 12F); this.LmoneyUnpaid.Name = "LmoneyUnpaid"; this.LmoneyUnpaid.Size = new System.Drawing.Size(48, 21); this.LmoneyUnpaid.Text = "金额:"; // // moneyUnpaid // this.moneyUnpaid.Font = new System.Drawing.Font("宋体", 12F); this.moneyUnpaid.Name = "moneyUnpaid"; this.moneyUnpaid.Size = new System.Drawing.Size(40, 21); this.moneyUnpaid.Text = "7000"; // // seatPanel // this.seatPanel.AutoScroll = true; this.seatPanel.BackColor = System.Drawing.Color.White; this.seatPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.seatPanel.Location = new System.Drawing.Point(0, 91); this.seatPanel.Name = "seatPanel"; this.seatPanel.Size = new System.Drawing.Size(1370, 599); this.seatPanel.TabIndex = 9; // // MainWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1370, 742); this.Controls.Add(this.seatPanel); this.Controls.Add(this.statusStrip2); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.toolStrip1); this.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.Margin = new System.Windows.Forms.Padding(4); this.Name = "MainWindow"; this.Text = "前台"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.ReceptionSeatForm_Load); this.SizeChanged += new System.EventHandler(this.MainWindow_SizeChanged); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form_KeyDown); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.seatContext.ResumeLayout(false); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.statusStrip2.ResumeLayout(false); this.statusStrip2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public TrayIconBuilder WithContextMenuStrip(ContextMenuStrip contextMenuStrip) { _contextMenuStrip = contextMenuStrip; return(this); }
internal DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex, System.Windows.Forms.ContextMenuStrip contextMenuStrip) : this(rowIndex) { this.contextMenuStrip = contextMenuStrip; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; System.Windows.Forms.Label label1; System.Windows.Forms.Label label2; System.Windows.Forms.ContextMenuStrip contextMenuStrip1; System.Windows.Forms.ContextMenuStrip contextMenuStrip2; this.AktivListe = new BrightIdeasSoftware.ObjectListView(); this.ZimmerAktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.VornameAktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.NachnameAktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.RufnameAktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.HinzufügenKnopf = new System.Windows.Forms.Button(); this.InaktivListe = new BrightIdeasSoftware.ObjectListView(); this.ZimmerInaktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.VornameInaktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.NachnameInaktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.RufnameInaktiv = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.AktivierenKnopf = new System.Windows.Forms.Button(); this.DeaktivierenKnopf = new System.Windows.Forms.Button(); this.AnzeigenOptionAktiv = new System.Windows.Forms.ToolStripMenuItem(); this.AnzeigenOptionInaktiv = new System.Windows.Forms.ToolStripMenuItem(); tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); label1 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label(); contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components); tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.AktivListe)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.InaktivListe)).BeginInit(); contextMenuStrip1.SuspendLayout(); contextMenuStrip2.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // tableLayoutPanel1.ColumnCount = 3; tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 25F)); tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); tableLayoutPanel1.Controls.Add(this.AktivListe, 0, 1); tableLayoutPanel1.Controls.Add(this.HinzufügenKnopf, 1, 3); tableLayoutPanel1.Controls.Add(this.InaktivListe, 2, 1); tableLayoutPanel1.Controls.Add(label1, 0, 0); tableLayoutPanel1.Controls.Add(label2, 2, 0); tableLayoutPanel1.Controls.Add(this.AktivierenKnopf, 1, 2); tableLayoutPanel1.Controls.Add(this.DeaktivierenKnopf, 1, 4); tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(10); tableLayoutPanel1.RowCount = 6; tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 31F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 31F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 31F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); tableLayoutPanel1.Size = new System.Drawing.Size(684, 561); tableLayoutPanel1.TabIndex = 0; // // AktivListe // this.AktivListe.AllColumns.Add(this.ZimmerAktiv); this.AktivListe.AllColumns.Add(this.VornameAktiv); this.AktivListe.AllColumns.Add(this.NachnameAktiv); this.AktivListe.AllColumns.Add(this.RufnameAktiv); this.AktivListe.AlternateRowBackColor = System.Drawing.SystemColors.ButtonFace; this.AktivListe.CellEditActivation = BrightIdeasSoftware.ObjectListView.CellEditActivateMode.DoubleClick; this.AktivListe.CellEditUseWholeCell = false; this.AktivListe.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ZimmerAktiv, this.VornameAktiv, this.NachnameAktiv, this.RufnameAktiv }); this.AktivListe.ContextMenuStrip = contextMenuStrip1; this.AktivListe.Cursor = System.Windows.Forms.Cursors.Default; this.AktivListe.Dock = System.Windows.Forms.DockStyle.Fill; this.AktivListe.FullRowSelect = true; this.AktivListe.Location = new System.Drawing.Point(13, 33); this.AktivListe.Name = "AktivListe"; tableLayoutPanel1.SetRowSpan(this.AktivListe, 5); this.AktivListe.SelectColumnsOnRightClick = false; this.AktivListe.SelectColumnsOnRightClickBehaviour = BrightIdeasSoftware.ObjectListView.ColumnSelectBehaviour.None; this.AktivListe.ShowGroups = false; this.AktivListe.ShowSortIndicators = false; this.AktivListe.Size = new System.Drawing.Size(313, 515); this.AktivListe.TabIndex = 6; this.AktivListe.UseAlternatingBackColors = true; this.AktivListe.UseCompatibleStateImageBehavior = false; this.AktivListe.UseFiltering = true; this.AktivListe.View = System.Windows.Forms.View.Details; this.AktivListe.CellEditFinished += new BrightIdeasSoftware.CellEditEventHandler(this.AktivListe_CellEditFinished); // // ZimmerAktiv // this.ZimmerAktiv.AspectName = "Zimmernummer"; this.ZimmerAktiv.AspectToStringFormat = "{0}"; this.ZimmerAktiv.CellEditUseWholeCell = true; this.ZimmerAktiv.Text = "Zimmer"; this.ZimmerAktiv.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ZimmerAktiv.Width = 50; // // VornameAktiv // this.VornameAktiv.AspectName = "Vorname"; this.VornameAktiv.AspectToStringFormat = "{0}"; this.VornameAktiv.CellEditUseWholeCell = true; this.VornameAktiv.Text = "Vorname"; this.VornameAktiv.Width = 80; // // NachnameAktiv // this.NachnameAktiv.AspectName = "Nachname"; this.NachnameAktiv.AspectToStringFormat = "{0}"; this.NachnameAktiv.CellEditUseWholeCell = true; this.NachnameAktiv.FillsFreeSpace = true; this.NachnameAktiv.Text = "Nachname"; this.NachnameAktiv.Width = 100; // // RufnameAktiv // this.RufnameAktiv.AspectName = "Rufname"; this.RufnameAktiv.AspectToStringFormat = "{0}"; this.RufnameAktiv.CellEditUseWholeCell = true; this.RufnameAktiv.Text = "Rufname"; this.RufnameAktiv.Width = 100; // // HinzufügenKnopf // this.HinzufügenKnopf.Dock = System.Windows.Forms.DockStyle.Fill; this.HinzufügenKnopf.Location = new System.Drawing.Point(329, 275); this.HinzufügenKnopf.Margin = new System.Windows.Forms.Padding(0); this.HinzufügenKnopf.Name = "HinzufügenKnopf"; this.HinzufügenKnopf.Size = new System.Drawing.Size(25, 31); this.HinzufügenKnopf.TabIndex = 2; this.HinzufügenKnopf.Text = "+"; this.HinzufügenKnopf.UseVisualStyleBackColor = true; this.HinzufügenKnopf.Click += new System.EventHandler(this.HinzufügenKnopf_Click); // // InaktivListe // this.InaktivListe.AllColumns.Add(this.ZimmerInaktiv); this.InaktivListe.AllColumns.Add(this.VornameInaktiv); this.InaktivListe.AllColumns.Add(this.NachnameInaktiv); this.InaktivListe.AllColumns.Add(this.RufnameInaktiv); this.InaktivListe.AlternateRowBackColor = System.Drawing.SystemColors.ButtonFace; this.InaktivListe.CellEditActivation = BrightIdeasSoftware.ObjectListView.CellEditActivateMode.DoubleClick; this.InaktivListe.CellEditUseWholeCell = false; this.InaktivListe.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ZimmerInaktiv, this.VornameInaktiv, this.NachnameInaktiv, this.RufnameInaktiv }); this.InaktivListe.ContextMenuStrip = contextMenuStrip2; this.InaktivListe.Cursor = System.Windows.Forms.Cursors.Default; this.InaktivListe.Dock = System.Windows.Forms.DockStyle.Fill; this.InaktivListe.FullRowSelect = true; this.InaktivListe.Location = new System.Drawing.Point(357, 33); this.InaktivListe.Name = "InaktivListe"; tableLayoutPanel1.SetRowSpan(this.InaktivListe, 5); this.InaktivListe.SelectColumnsOnRightClick = false; this.InaktivListe.SelectColumnsOnRightClickBehaviour = BrightIdeasSoftware.ObjectListView.ColumnSelectBehaviour.None; this.InaktivListe.ShowGroups = false; this.InaktivListe.ShowSortIndicators = false; this.InaktivListe.Size = new System.Drawing.Size(314, 515); this.InaktivListe.TabIndex = 3; this.InaktivListe.UseAlternatingBackColors = true; this.InaktivListe.UseCompatibleStateImageBehavior = false; this.InaktivListe.UseFiltering = true; this.InaktivListe.View = System.Windows.Forms.View.Details; this.InaktivListe.CellEditFinished += new BrightIdeasSoftware.CellEditEventHandler(this.InaktivListe_CellEditFinished); // // ZimmerInaktiv // this.ZimmerInaktiv.AspectName = "Zimmernummer"; this.ZimmerInaktiv.AspectToStringFormat = "{0}"; this.ZimmerInaktiv.CellEditUseWholeCell = true; this.ZimmerInaktiv.Text = "Zimmer"; this.ZimmerInaktiv.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ZimmerInaktiv.Width = 50; // // VornameInaktiv // this.VornameInaktiv.AspectName = "Vorname"; this.VornameInaktiv.AspectToStringFormat = "{0}"; this.VornameInaktiv.CellEditUseWholeCell = true; this.VornameInaktiv.Text = "Vorname"; this.VornameInaktiv.Width = 80; // // NachnameInaktiv // this.NachnameInaktiv.AspectName = "Nachname"; this.NachnameInaktiv.AspectToStringFormat = "{0}"; this.NachnameInaktiv.CellEditUseWholeCell = true; this.NachnameInaktiv.FillsFreeSpace = true; this.NachnameInaktiv.Text = "Nachname"; this.NachnameInaktiv.Width = 100; // // RufnameInaktiv // this.RufnameInaktiv.AspectName = "Rufname"; this.RufnameInaktiv.AspectToStringFormat = "{0}"; this.RufnameInaktiv.CellEditUseWholeCell = true; this.RufnameInaktiv.Text = "Rufname"; this.RufnameInaktiv.Width = 100; // // label1 // label1.AutoSize = true; label1.Dock = System.Windows.Forms.DockStyle.Fill; label1.Location = new System.Drawing.Point(13, 10); label1.Name = "label1"; label1.Size = new System.Drawing.Size(313, 20); label1.TabIndex = 4; label1.Text = "Aktive Benutzer"; label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // label2 // label2.AutoSize = true; label2.Dock = System.Windows.Forms.DockStyle.Fill; label2.Location = new System.Drawing.Point(357, 10); label2.Name = "label2"; label2.Size = new System.Drawing.Size(314, 20); label2.TabIndex = 5; label2.Text = "Inaktive Benutzer"; label2.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // AktivierenKnopf // this.AktivierenKnopf.Dock = System.Windows.Forms.DockStyle.Fill; this.AktivierenKnopf.Location = new System.Drawing.Point(329, 244); this.AktivierenKnopf.Margin = new System.Windows.Forms.Padding(0); this.AktivierenKnopf.Name = "AktivierenKnopf"; this.AktivierenKnopf.Size = new System.Drawing.Size(25, 31); this.AktivierenKnopf.TabIndex = 7; this.AktivierenKnopf.Text = "<-"; this.AktivierenKnopf.UseVisualStyleBackColor = true; this.AktivierenKnopf.Click += new System.EventHandler(this.AktivierenKnopf_Click); // // DeaktivierenKnopf // this.DeaktivierenKnopf.Dock = System.Windows.Forms.DockStyle.Fill; this.DeaktivierenKnopf.Location = new System.Drawing.Point(329, 306); this.DeaktivierenKnopf.Margin = new System.Windows.Forms.Padding(0); this.DeaktivierenKnopf.Name = "DeaktivierenKnopf"; this.DeaktivierenKnopf.Size = new System.Drawing.Size(25, 31); this.DeaktivierenKnopf.TabIndex = 8; this.DeaktivierenKnopf.Text = "->"; this.DeaktivierenKnopf.UseVisualStyleBackColor = true; this.DeaktivierenKnopf.Click += new System.EventHandler(this.DeaktivierenKnopf_Click); // // contextMenuStrip1 // contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.AnzeigenOptionAktiv }); contextMenuStrip1.Name = "contextMenuStrip1"; contextMenuStrip1.ShowImageMargin = false; contextMenuStrip1.Size = new System.Drawing.Size(108, 26); // // AnzeigenOptionAktiv // this.AnzeigenOptionAktiv.Name = "AnzeigenOptionAktiv"; this.AnzeigenOptionAktiv.Size = new System.Drawing.Size(127, 22); this.AnzeigenOptionAktiv.Text = "Anzeigen..."; this.AnzeigenOptionAktiv.Click += new System.EventHandler(this.AnzeigenOptionAktiv_Click); // // contextMenuStrip2 // contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.AnzeigenOptionInaktiv }); contextMenuStrip2.Name = "contextMenuStrip1"; contextMenuStrip2.ShowImageMargin = false; contextMenuStrip2.Size = new System.Drawing.Size(128, 48); // // AnzeigenOptionInaktiv // this.AnzeigenOptionInaktiv.Name = "AnzeigenOptionInaktiv"; this.AnzeigenOptionInaktiv.Size = new System.Drawing.Size(127, 22); this.AnzeigenOptionInaktiv.Text = "Anzeigen..."; this.AnzeigenOptionInaktiv.Click += new System.EventHandler(this.AnzeigenOptionInaktiv_Click); // // BenutzerListefenster // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(684, 561); this.Controls.Add(tableLayoutPanel1); this.Name = "BenutzerListefenster"; this.Text = "Benutzer Verwalten"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BenutzerListefenster_FormClosing); this.Load += new System.EventHandler(this.BenutzerListefenster_Load); tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.AktivListe)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.InaktivListe)).EndInit(); contextMenuStrip1.ResumeLayout(false); contextMenuStrip2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.gMapControl = new GMap.NET.WindowsForms.GMapControl(); this.addOnlyContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.addBankBranchBtn = new System.Windows.Forms.ToolStripMenuItem(); this.removeAddContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.addBankBranchBtn2 = new System.Windows.Forms.ToolStripMenuItem(); this.removeBankBranchBtn = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.файлToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addServiceName = new System.Windows.Forms.ToolStripMenuItem(); this.addNewBankBtn = new System.Windows.Forms.ToolStripMenuItem(); this.label1 = new System.Windows.Forms.Label(); this.comboBoxCur = new System.Windows.Forms.ComboBox(); this.bestSellBtn = new System.Windows.Forms.Button(); this.showAllBtn = new System.Windows.Forms.Button(); this.bestBuyBtn = new System.Windows.Forms.Button(); this.nearestBranchBtn = new System.Windows.Forms.Button(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripAddBank = new System.Windows.Forms.ToolStripButton(); this.toolStripAddService = new System.Windows.Forms.ToolStripButton(); this.toolStripRefreshMap = new System.Windows.Forms.ToolStripButton(); this.toolStripRefreshRates = new System.Windows.Forms.ToolStripButton(); this.toolStripZoomIn = new System.Windows.Forms.ToolStripButton(); this.toolStripZoomOut = new System.Windows.Forms.ToolStripButton(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.filterMenu = new System.Windows.Forms.ToolStripMenuItem(); this.bankFilterMenu = new System.Windows.Forms.ToolStripMenuItem(); this.serviceFilterMenu = new System.Windows.Forms.ToolStripMenuItem(); this.addOnlyContextMenu.SuspendLayout(); this.removeAddContextMenu.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // gMapControl // this.gMapControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gMapControl.Bearing = 0F; this.gMapControl.CanDragMap = true; this.gMapControl.EmptyTileColor = System.Drawing.Color.Navy; this.gMapControl.GrayScaleMode = false; this.gMapControl.HelperLineOption = GMap.NET.WindowsForms.HelperLineOptions.DontShow; this.gMapControl.LevelsKeepInMemmory = 5; this.gMapControl.Location = new System.Drawing.Point(303, 61); this.gMapControl.MarkersEnabled = true; this.gMapControl.MaxZoom = 2; this.gMapControl.MinZoom = 2; this.gMapControl.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; this.gMapControl.Name = "gMapControl"; this.gMapControl.NegativeMode = false; this.gMapControl.PolygonsEnabled = true; this.gMapControl.RetryLoadTile = 0; this.gMapControl.RoutesEnabled = true; this.gMapControl.ScaleMode = GMap.NET.WindowsForms.ScaleModes.Integer; this.gMapControl.SelectedAreaFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(65)))), ((int)(((byte)(105)))), ((int)(((byte)(225))))); this.gMapControl.ShowTileGridLines = false; this.gMapControl.Size = new System.Drawing.Size(772, 542); this.gMapControl.TabIndex = 0; this.gMapControl.Zoom = 0D; this.gMapControl.OnMarkerClick += new GMap.NET.WindowsForms.MarkerClick(this.gMapControl_OnMarkerClick); this.gMapControl.MouseClick += new System.Windows.Forms.MouseEventHandler(this.gMapControl_MouseClick); // // addOnlyContextMenu // this.addOnlyContextMenu.ImageScalingSize = new System.Drawing.Size(24, 24); this.addOnlyContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addBankBranchBtn}); this.addOnlyContextMenu.Name = "addOnlyContextMenu"; this.addOnlyContextMenu.Size = new System.Drawing.Size(265, 34); // // addBankBranchBtn // this.addBankBranchBtn.Name = "addBankBranchBtn"; this.addBankBranchBtn.Size = new System.Drawing.Size(264, 30); this.addBankBranchBtn.Text = "Добавить отделение"; // // removeAddContextMenu // this.removeAddContextMenu.ImageScalingSize = new System.Drawing.Size(24, 24); this.removeAddContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addBankBranchBtn2, this.removeBankBranchBtn}); this.removeAddContextMenu.Name = "addOnlyContextMenu"; this.removeAddContextMenu.Size = new System.Drawing.Size(265, 64); // // addBankBranchBtn2 // this.addBankBranchBtn2.Name = "addBankBranchBtn2"; this.addBankBranchBtn2.Size = new System.Drawing.Size(264, 30); this.addBankBranchBtn2.Text = "Добавить отделение"; // // removeBankBranchBtn // this.removeBankBranchBtn.Name = "removeBankBranchBtn"; this.removeBankBranchBtn.Size = new System.Drawing.Size(264, 30); this.removeBankBranchBtn.Text = "Удалить отделение"; // // menuStrip1 // this.menuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.файлToolStripMenuItem, this.filterMenu}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(1087, 33); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // // файлToolStripMenuItem // this.файлToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addServiceName, this.addNewBankBtn}); this.файлToolStripMenuItem.Name = "файлToolStripMenuItem"; this.файлToolStripMenuItem.Size = new System.Drawing.Size(102, 29); this.файлToolStripMenuItem.Text = "Добавить"; // // addServiceName // this.addServiceName.Name = "addServiceName"; this.addServiceName.Size = new System.Drawing.Size(346, 30); this.addServiceName.Text = "Добавить название вида услуг"; this.addServiceName.Click += new System.EventHandler(this.addServiceName_Click); // // addNewBankBtn // this.addNewBankBtn.Name = "addNewBankBtn"; this.addNewBankBtn.Size = new System.Drawing.Size(346, 30); this.addNewBankBtn.Text = "Добавить название банка"; this.addNewBankBtn.Click += new System.EventHandler(this.addNewBankBtn_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(25, 134); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(149, 20); this.label1.TabIndex = 3; this.label1.Text = "Выберите валюту:"; // // comboBoxCur // this.comboBoxCur.FormattingEnabled = true; this.comboBoxCur.Location = new System.Drawing.Point(29, 158); this.comboBoxCur.Name = "comboBoxCur"; this.comboBoxCur.Size = new System.Drawing.Size(103, 28); this.comboBoxCur.TabIndex = 4; // // bestSellBtn // this.bestSellBtn.Location = new System.Drawing.Point(29, 204); this.bestSellBtn.Name = "bestSellBtn"; this.bestSellBtn.Size = new System.Drawing.Size(233, 33); this.bestSellBtn.TabIndex = 5; this.bestSellBtn.Text = "Лучший курс (продажа)"; this.bestSellBtn.UseVisualStyleBackColor = true; this.bestSellBtn.Click += new System.EventHandler(this.bestSellBtn_Click); // // showAllBtn // this.showAllBtn.Location = new System.Drawing.Point(29, 91); this.showAllBtn.Name = "showAllBtn"; this.showAllBtn.Size = new System.Drawing.Size(233, 33); this.showAllBtn.TabIndex = 6; this.showAllBtn.Text = "Показать все отделения"; this.showAllBtn.UseVisualStyleBackColor = true; this.showAllBtn.Click += new System.EventHandler(this.showAllBtn_Click); // // bestBuyBtn // this.bestBuyBtn.Location = new System.Drawing.Point(29, 243); this.bestBuyBtn.Name = "bestBuyBtn"; this.bestBuyBtn.Size = new System.Drawing.Size(233, 33); this.bestBuyBtn.TabIndex = 7; this.bestBuyBtn.Text = "Лучший курс (покупка)"; this.bestBuyBtn.UseVisualStyleBackColor = true; this.bestBuyBtn.Click += new System.EventHandler(this.bestBuyBtn_Click); // // nearestBranchBtn // this.nearestBranchBtn.Location = new System.Drawing.Point(29, 322); this.nearestBranchBtn.Name = "nearestBranchBtn"; this.nearestBranchBtn.Size = new System.Drawing.Size(233, 61); this.nearestBranchBtn.TabIndex = 8; this.nearestBranchBtn.Text = "Самое близкое к маркеру отделение"; this.nearestBranchBtn.UseVisualStyleBackColor = true; this.nearestBranchBtn.Click += new System.EventHandler(this.nearestBranchBtn_Click); // // toolStrip1 // this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripAddBank, this.toolStripAddService, this.toolStripRefreshMap, this.toolStripRefreshRates, this.toolStripZoomIn, this.toolStripZoomOut}); this.toolStrip1.Location = new System.Drawing.Point(0, 33); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.toolStrip1.Size = new System.Drawing.Size(1087, 31); this.toolStrip1.TabIndex = 10; this.toolStrip1.Text = "toolStrip1"; // // toolStripAddBank // this.toolStripAddBank.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripAddBank.Image = global::BankMap.Properties.Resources.add121; this.toolStripAddBank.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripAddBank.Margin = new System.Windows.Forms.Padding(10, 1, 0, 2); this.toolStripAddBank.Name = "toolStripAddBank"; this.toolStripAddBank.Size = new System.Drawing.Size(28, 28); this.toolStripAddBank.Text = "Добавить банк"; this.toolStripAddBank.Click += new System.EventHandler(this.toolStripAddBank_Click); // // toolStripAddService // this.toolStripAddService.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripAddService.Image = global::BankMap.Properties.Resources.add1211; this.toolStripAddService.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripAddService.Margin = new System.Windows.Forms.Padding(10, 1, 0, 2); this.toolStripAddService.Name = "toolStripAddService"; this.toolStripAddService.Size = new System.Drawing.Size(28, 28); this.toolStripAddService.Text = "Добавить вид услуг"; this.toolStripAddService.Click += new System.EventHandler(this.toolStripAddService_Click); // // toolStripRefreshMap // this.toolStripRefreshMap.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripRefreshMap.Image = global::BankMap.Properties.Resources.update3; this.toolStripRefreshMap.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripRefreshMap.Margin = new System.Windows.Forms.Padding(10, 1, 0, 2); this.toolStripRefreshMap.Name = "toolStripRefreshMap"; this.toolStripRefreshMap.Size = new System.Drawing.Size(28, 28); this.toolStripRefreshMap.Text = "Обновить карту"; this.toolStripRefreshMap.Click += new System.EventHandler(this.toolStripRefreshMap_Click); // // toolStripRefreshRates // this.toolStripRefreshRates.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripRefreshRates.Image = global::BankMap.Properties.Resources.dollars61; this.toolStripRefreshRates.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripRefreshRates.Margin = new System.Windows.Forms.Padding(10, 1, 0, 2); this.toolStripRefreshRates.Name = "toolStripRefreshRates"; this.toolStripRefreshRates.Size = new System.Drawing.Size(28, 28); this.toolStripRefreshRates.Text = "Обновить курсы валют"; this.toolStripRefreshRates.Click += new System.EventHandler(this.toolStripRefreshRates_Click); // // toolStripZoomIn // this.toolStripZoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripZoomIn.Image = global::BankMap.Properties.Resources.plus79; this.toolStripZoomIn.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.toolStripZoomIn.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripZoomIn.Margin = new System.Windows.Forms.Padding(20, 1, 0, 2); this.toolStripZoomIn.Name = "toolStripZoomIn"; this.toolStripZoomIn.Size = new System.Drawing.Size(28, 28); this.toolStripZoomIn.Text = "Приблизить"; this.toolStripZoomIn.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.toolStripZoomIn.Click += new System.EventHandler(this.toolStripZoomIn_Click); // // toolStripZoomOut // this.toolStripZoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripZoomOut.Image = global::BankMap.Properties.Resources.minus104; this.toolStripZoomOut.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.toolStripZoomOut.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripZoomOut.Margin = new System.Windows.Forms.Padding(10, 1, 0, 2); this.toolStripZoomOut.Name = "toolStripZoomOut"; this.toolStripZoomOut.Size = new System.Drawing.Size(28, 28); this.toolStripZoomOut.Text = "Отдалить"; this.toolStripZoomOut.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.toolStripZoomOut.Click += new System.EventHandler(this.toolStripZoomOut_Click); // // pictureBox1 // this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.pictureBox1.Image = global::BankMap.Properties.Resources.currency_symbol; this.pictureBox1.Location = new System.Drawing.Point(29, 413); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(256, 256); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox1.TabIndex = 9; this.pictureBox1.TabStop = false; // // filterMenu // this.filterMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bankFilterMenu, this.serviceFilterMenu}); this.filterMenu.Name = "filterMenu"; this.filterMenu.Size = new System.Drawing.Size(83, 29); this.filterMenu.Text = "Фильтр"; // // bankFilterMenu // this.bankFilterMenu.Name = "bankFilterMenu"; this.bankFilterMenu.Size = new System.Drawing.Size(211, 30); this.bankFilterMenu.Text = "По банку"; // // serviceFilterMenu // this.serviceFilterMenu.Name = "serviceFilterMenu"; this.serviceFilterMenu.Size = new System.Drawing.Size(211, 30); this.serviceFilterMenu.Text = "По услуге"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1087, 615); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.nearestBranchBtn); this.Controls.Add(this.bestBuyBtn); this.Controls.Add(this.showAllBtn); this.Controls.Add(this.bestSellBtn); this.Controls.Add(this.comboBoxCur); this.Controls.Add(this.label1); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.gMapControl); this.MainMenuStrip = this.menuStrip1; this.MinimumSize = new System.Drawing.Size(1109, 671); this.Name = "MainForm"; this.Text = "Карта отделений банков г. Минска"; this.Load += new System.EventHandler(this.MainForm_Load); this.addOnlyContextMenu.ResumeLayout(false); this.removeAddContextMenu.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemsPanel)); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.text_TotalItemCount = new System.Windows.Forms.TextBox(); this.label31 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.num_MaxTopRevives = new System.Windows.Forms.NumericUpDown(); this.num_MaxTopPotions = new System.Windows.Forms.NumericUpDown(); this.label20 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.num_MaxRazzBerrys = new System.Windows.Forms.NumericUpDown(); this.num_MaxHyperPotions = new System.Windows.Forms.NumericUpDown(); this.num_MaxSuperPotions = new System.Windows.Forms.NumericUpDown(); this.num_MaxPotions = new System.Windows.Forms.NumericUpDown(); this.num_MaxRevives = new System.Windows.Forms.NumericUpDown(); this.label15 = new System.Windows.Forms.Label(); this.num_MaxUltraBalls = new System.Windows.Forms.NumericUpDown(); this.num_MaxGreatBalls = new System.Windows.Forms.NumericUpDown(); this.label14 = new System.Windows.Forms.Label(); this.num_MaxPokeballs = new System.Windows.Forms.NumericUpDown(); this.label13 = new System.Windows.Forms.Label(); this.btnRealoadItems = new System.Windows.Forms.Button(); this.ItemsListView = new System.Windows.Forms.ListView(); this.chItem = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.chUnseen = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.contextMenuStripItems = new System.Windows.Forms.ContextMenuStrip(this.components); this.recycleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.imageListItems = new System.Windows.Forms.ImageList(this.components); this.label1 = new System.Windows.Forms.Label(); this.lblCount = new System.Windows.Forms.Label(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxTopRevives)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxTopPotions)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxRazzBerrys)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxHyperPotions)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxSuperPotions)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxPotions)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxRevives)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxUltraBalls)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxGreatBalls)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxPokeballs)).BeginInit(); this.contextMenuStripItems.SuspendLayout(); this.SuspendLayout(); // // groupBox4 // this.groupBox4.Controls.Add(this.text_TotalItemCount); this.groupBox4.Controls.Add(this.label31); this.groupBox4.Controls.Add(this.label27); this.groupBox4.Controls.Add(this.label25); this.groupBox4.Controls.Add(this.num_MaxTopRevives); this.groupBox4.Controls.Add(this.num_MaxTopPotions); this.groupBox4.Controls.Add(this.label20); this.groupBox4.Controls.Add(this.label19); this.groupBox4.Controls.Add(this.label18); this.groupBox4.Controls.Add(this.label17); this.groupBox4.Controls.Add(this.label16); this.groupBox4.Controls.Add(this.num_MaxRazzBerrys); this.groupBox4.Controls.Add(this.num_MaxHyperPotions); this.groupBox4.Controls.Add(this.num_MaxSuperPotions); this.groupBox4.Controls.Add(this.num_MaxPotions); this.groupBox4.Controls.Add(this.num_MaxRevives); this.groupBox4.Controls.Add(this.label15); this.groupBox4.Controls.Add(this.num_MaxUltraBalls); this.groupBox4.Controls.Add(this.num_MaxGreatBalls); this.groupBox4.Controls.Add(this.label14); this.groupBox4.Controls.Add(this.num_MaxPokeballs); this.groupBox4.Controls.Add(this.label13); this.groupBox4.Location = new System.Drawing.Point(5, 5); this.groupBox4.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.groupBox4.Name = "groupBox4"; this.groupBox4.Padding = new System.Windows.Forms.Padding(5, 5, 5, 5); this.groupBox4.Size = new System.Drawing.Size(211, 460); this.groupBox4.TabIndex = 80; this.groupBox4.TabStop = false; this.groupBox4.Text = "Pokemon Items"; // // text_TotalItemCount // this.text_TotalItemCount.Location = new System.Drawing.Point(137, 409); this.text_TotalItemCount.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.text_TotalItemCount.Name = "text_TotalItemCount"; this.text_TotalItemCount.ReadOnly = true; this.text_TotalItemCount.Size = new System.Drawing.Size(63, 22); this.text_TotalItemCount.TabIndex = 23; this.text_TotalItemCount.TabStop = false; // // label31 // this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point(42, 412); this.label31.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(85, 17); this.label31.TabIndex = 22; this.label31.Text = "Total Count:"; // // label27 // this.label27.AutoSize = true; this.label27.Location = new System.Drawing.Point(12, 180); this.label27.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(120, 17); this.label27.TabIndex = 21; this.label27.Text = "Max. TopRevives:"; // // label25 // this.label25.AutoSize = true; this.label25.Location = new System.Drawing.Point(12, 329); this.label25.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(117, 17); this.label25.TabIndex = 17; this.label25.Text = "Max. TopPotions:"; // // num_MaxTopRevives // this.num_MaxTopRevives.Location = new System.Drawing.Point(138, 180); this.num_MaxTopRevives.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxTopRevives.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxTopRevives.Name = "num_MaxTopRevives"; this.num_MaxTopRevives.Size = new System.Drawing.Size(64, 22); this.num_MaxTopRevives.TabIndex = 20; this.num_MaxTopRevives.ValueChanged += new System.EventHandler(this.num_Max); // // num_MaxTopPotions // this.num_MaxTopPotions.Location = new System.Drawing.Point(138, 329); this.num_MaxTopPotions.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxTopPotions.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxTopPotions.Name = "num_MaxTopPotions"; this.num_MaxTopPotions.Size = new System.Drawing.Size(64, 22); this.num_MaxTopPotions.TabIndex = 24; this.num_MaxTopPotions.ValueChanged += new System.EventHandler(this.num_Max); // // label20 // this.label20.AutoSize = true; this.label20.Location = new System.Drawing.Point(12, 366); this.label20.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(118, 17); this.label20.TabIndex = 15; this.label20.Text = "Max. RazzBerrys:"; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(12, 292); this.label19.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(130, 17); this.label19.TabIndex = 14; this.label19.Text = "Max. HyperPotions:"; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(12, 255); this.label18.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(130, 17); this.label18.TabIndex = 13; this.label18.Text = "Max. SuperPotions:"; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(12, 218); this.label17.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(92, 17); this.label17.TabIndex = 12; this.label17.Text = "Max. Potions:"; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(12, 142); this.label16.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(95, 17); this.label16.TabIndex = 11; this.label16.Text = "Max. Revives:"; // // num_MaxRazzBerrys // this.num_MaxRazzBerrys.Location = new System.Drawing.Point(138, 366); this.num_MaxRazzBerrys.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxRazzBerrys.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxRazzBerrys.Name = "num_MaxRazzBerrys"; this.num_MaxRazzBerrys.Size = new System.Drawing.Size(64, 22); this.num_MaxRazzBerrys.TabIndex = 25; this.num_MaxRazzBerrys.ValueChanged += new System.EventHandler(this.num_Max); // // num_MaxHyperPotions // this.num_MaxHyperPotions.Location = new System.Drawing.Point(138, 292); this.num_MaxHyperPotions.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxHyperPotions.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxHyperPotions.Name = "num_MaxHyperPotions"; this.num_MaxHyperPotions.Size = new System.Drawing.Size(64, 22); this.num_MaxHyperPotions.TabIndex = 23; this.num_MaxHyperPotions.ValueChanged += new System.EventHandler(this.num_Max); // // num_MaxSuperPotions // this.num_MaxSuperPotions.Location = new System.Drawing.Point(138, 255); this.num_MaxSuperPotions.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxSuperPotions.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxSuperPotions.Name = "num_MaxSuperPotions"; this.num_MaxSuperPotions.Size = new System.Drawing.Size(64, 22); this.num_MaxSuperPotions.TabIndex = 22; this.num_MaxSuperPotions.ValueChanged += new System.EventHandler(this.num_Max); // // num_MaxPotions // this.num_MaxPotions.Location = new System.Drawing.Point(138, 218); this.num_MaxPotions.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxPotions.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxPotions.Name = "num_MaxPotions"; this.num_MaxPotions.Size = new System.Drawing.Size(64, 22); this.num_MaxPotions.TabIndex = 21; this.num_MaxPotions.ValueChanged += new System.EventHandler(this.num_Max); // // num_MaxRevives // this.num_MaxRevives.Location = new System.Drawing.Point(138, 142); this.num_MaxRevives.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxRevives.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxRevives.Name = "num_MaxRevives"; this.num_MaxRevives.Size = new System.Drawing.Size(64, 22); this.num_MaxRevives.TabIndex = 19; this.num_MaxRevives.ValueChanged += new System.EventHandler(this.num_Max); // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(12, 105); this.label15.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(105, 17); this.label15.TabIndex = 5; this.label15.Text = "Max. UltraBalls:"; // // num_MaxUltraBalls // this.num_MaxUltraBalls.Location = new System.Drawing.Point(138, 105); this.num_MaxUltraBalls.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxUltraBalls.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxUltraBalls.Name = "num_MaxUltraBalls"; this.num_MaxUltraBalls.Size = new System.Drawing.Size(64, 22); this.num_MaxUltraBalls.TabIndex = 17; this.num_MaxUltraBalls.ValueChanged += new System.EventHandler(this.num_Max); // // num_MaxGreatBalls // this.num_MaxGreatBalls.Location = new System.Drawing.Point(138, 68); this.num_MaxGreatBalls.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxGreatBalls.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxGreatBalls.Name = "num_MaxGreatBalls"; this.num_MaxGreatBalls.Size = new System.Drawing.Size(64, 22); this.num_MaxGreatBalls.TabIndex = 16; this.num_MaxGreatBalls.ValueChanged += new System.EventHandler(this.num_Max); // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(12, 68); this.label14.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(111, 17); this.label14.TabIndex = 2; this.label14.Text = "Max. GreatBalls:"; // // num_MaxPokeballs // this.num_MaxPokeballs.Location = new System.Drawing.Point(138, 30); this.num_MaxPokeballs.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.num_MaxPokeballs.Maximum = new decimal(new int[] { 2000, 0, 0, 0 }); this.num_MaxPokeballs.Name = "num_MaxPokeballs"; this.num_MaxPokeballs.Size = new System.Drawing.Size(64, 22); this.num_MaxPokeballs.TabIndex = 15; this.num_MaxPokeballs.ValueChanged += new System.EventHandler(this.num_Max); // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(12, 30); this.label13.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(106, 17); this.label13.TabIndex = 0; this.label13.Text = "Max. Pokeballs:"; // // btnRealoadItems // this.btnRealoadItems.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnRealoadItems.Location = new System.Drawing.Point(225, 435); this.btnRealoadItems.Margin = new System.Windows.Forms.Padding(2); this.btnRealoadItems.Name = "btnRealoadItems"; this.btnRealoadItems.Size = new System.Drawing.Size(69, 29); this.btnRealoadItems.TabIndex = 79; this.btnRealoadItems.Text = "Reload"; this.btnRealoadItems.UseVisualStyleBackColor = true; this.btnRealoadItems.Click += new System.EventHandler(this.BtnRealoadItemsClick); // // ItemsListView // this.ItemsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ItemsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.chItem, this.chCount, this.chUnseen }); this.ItemsListView.ContextMenuStrip = this.contextMenuStripItems; this.ItemsListView.FullRowSelect = true; this.ItemsListView.GridLines = true; this.ItemsListView.LargeImageList = this.imageListItems; this.ItemsListView.Location = new System.Drawing.Point(225, 14); this.ItemsListView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.ItemsListView.Name = "ItemsListView"; this.ItemsListView.Size = new System.Drawing.Size(422, 415); this.ItemsListView.SmallImageList = this.imageListItems; this.ItemsListView.TabIndex = 78; this.ItemsListView.UseCompatibleStateImageBehavior = false; this.ItemsListView.View = System.Windows.Forms.View.Details; // // chItem // this.chItem.Text = "Item"; this.chItem.Width = 160; // // chCount // this.chCount.Text = "Count"; // // chUnseen // this.chUnseen.Text = "Unseen"; // // contextMenuStripItems // this.contextMenuStripItems.ImageScalingSize = new System.Drawing.Size(20, 20); this.contextMenuStripItems.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.recycleToolStripMenuItem }); this.contextMenuStripItems.Name = "contextMenuStrip1"; this.contextMenuStripItems.Size = new System.Drawing.Size(135, 30); // // recycleToolStripMenuItem // this.recycleToolStripMenuItem.Name = "recycleToolStripMenuItem"; this.recycleToolStripMenuItem.Size = new System.Drawing.Size(134, 26); this.recycleToolStripMenuItem.Text = "Recycle"; this.recycleToolStripMenuItem.Click += new System.EventHandler(this.RecycleToolStripMenuItemClick); // // imageListItems // this.imageListItems.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListItems.ImageStream"))); this.imageListItems.TransparentColor = System.Drawing.Color.Transparent; this.imageListItems.Images.SetKeyName(0, "incenseOrdinary"); this.imageListItems.Images.SetKeyName(1, "hyperpotion"); this.imageListItems.Images.SetKeyName(2, "pokeball"); this.imageListItems.Images.SetKeyName(3, "potion"); this.imageListItems.Images.SetKeyName(4, "revive"); this.imageListItems.Images.SetKeyName(5, "greatball"); this.imageListItems.Images.SetKeyName(6, "superpotion"); this.imageListItems.Images.SetKeyName(7, "ultraball"); this.imageListItems.Images.SetKeyName(8, "incubatorbasic"); this.imageListItems.Images.SetKeyName(9, "incubatorbasicunlimited"); this.imageListItems.Images.SetKeyName(10, "razzberry"); this.imageListItems.Images.SetKeyName(11, "troydisk"); this.imageListItems.Images.SetKeyName(12, "luckyegg"); this.imageListItems.Images.SetKeyName(13, "maxrevive"); this.imageListItems.Images.SetKeyName(14, "maxpotion"); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(301, 441); this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(85, 17); this.label1.TabIndex = 81; this.label1.Text = "Total Count:"; // // lblCount // this.lblCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblCount.AutoSize = true; this.lblCount.Location = new System.Drawing.Point(381, 441); this.lblCount.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.lblCount.Name = "lblCount"; this.lblCount.Size = new System.Drawing.Size(16, 17); this.lblCount.TabIndex = 82; this.lblCount.Text = "0"; // // ItemsPanel // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.Controls.Add(this.lblCount); this.Controls.Add(this.label1); this.Controls.Add(this.groupBox4); this.Controls.Add(this.btnRealoadItems); this.Controls.Add(this.ItemsListView); this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "ItemsPanel"; this.Size = new System.Drawing.Size(662, 472); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxTopRevives)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxTopPotions)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxRazzBerrys)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxHyperPotions)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxSuperPotions)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxPotions)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxRevives)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxUltraBalls)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxGreatBalls)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.num_MaxPokeballs)).EndInit(); this.contextMenuStripItems.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.popupMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.Grid = new System.Windows.Forms.DataGridView(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.popupMenu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Grid)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // popupMenu // this.popupMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.deleteToolStripMenuItem }); this.popupMenu.Name = "contextMenuStrip1"; this.popupMenu.Size = new System.Drawing.Size(165, 76); // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyToolStripMenuItem.Size = new System.Drawing.Size(164, 24); this.copyToolStripMenuItem.Text = "Copy"; this.copyToolStripMenuItem.Click += new System.EventHandler(this.OnCopyToClipboard); // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); this.pasteToolStripMenuItem.Size = new System.Drawing.Size(164, 24); this.pasteToolStripMenuItem.Text = "Paste"; this.pasteToolStripMenuItem.Click += new System.EventHandler(this.OnPasteFromClipboard); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(164, 24); this.deleteToolStripMenuItem.Text = "Delete"; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.OnDeleteClick); // // Grid // this.Grid.AllowUserToAddRows = false; this.Grid.AllowUserToDeleteRows = false; this.Grid.BackgroundColor = System.Drawing.SystemColors.Window; this.Grid.BorderStyle = System.Windows.Forms.BorderStyle.None; this.Grid.ColumnHeadersHeight = 54; this.Grid.ContextMenuStrip = this.popupMenu; this.Grid.Dock = System.Windows.Forms.DockStyle.Fill; this.Grid.Location = new System.Drawing.Point(0, 0); this.Grid.Margin = new System.Windows.Forms.Padding(4); this.Grid.Name = "Grid"; this.Grid.RowHeadersVisible = false; this.Grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.Grid.ShowRowErrors = false; this.Grid.Size = new System.Drawing.Size(472, 425); this.Grid.TabIndex = 1; this.Grid.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.OnCellBeginEdit); this.Grid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.OnCellContentClick); this.Grid.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.OnCellMouseDown); this.Grid.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.OnGridCellValidating); this.Grid.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.OnDataError); this.Grid.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.OnEditingControlShowing); // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.SystemColors.Control; this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Right; this.pictureBox1.Location = new System.Drawing.Point(160, 0); this.pictureBox1.Margin = new System.Windows.Forms.Padding(4); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(312, 425); this.pictureBox1.TabIndex = 2; this.pictureBox1.TabStop = false; this.pictureBox1.Visible = false; // // GridView // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.pictureBox1); this.Controls.Add(this.Grid); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "GridView"; this.Size = new System.Drawing.Size(472, 425); this.Resize += new System.EventHandler(this.GridView_Resize); this.popupMenu.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Grid)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.cbProperties = new System.Windows.Forms.ComboBox(); this.cbOperations = new System.Windows.Forms.ComboBox(); this.cbConector = new System.Windows.Forms.ComboBox(); this.btnAdd = new System.Windows.Forms.Button(); this.cmAddRightClick = new System.Windows.Forms.ContextMenuStrip(this.components); this.miAddGroup = new System.Windows.Forms.ToolStripMenuItem(); this.btnRemove = new System.Windows.Forms.Button(); this.valuesContainer = new System.Windows.Forms.FlowLayoutPanel(); this.cbMatchTypes = new System.Windows.Forms.ComboBox(); this.cmAddRightClick.SuspendLayout(); this.SuspendLayout(); // // cbProperties // this.cbProperties.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbProperties.FormattingEnabled = true; this.cbProperties.Location = new System.Drawing.Point(4, 4); this.cbProperties.MaximumSize = new System.Drawing.Size(164, 0); this.cbProperties.Name = "cbProperties"; this.cbProperties.Size = new System.Drawing.Size(164, 21); this.cbProperties.TabIndex = 0; // // cbOperations // this.cbOperations.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbOperations.FormattingEnabled = true; this.cbOperations.Location = new System.Drawing.Point(170, 4); this.cbOperations.MaximumSize = new System.Drawing.Size(145, 0); this.cbOperations.Name = "cbOperations"; this.cbOperations.Size = new System.Drawing.Size(145, 21); this.cbOperations.TabIndex = 1; this.cbOperations.SelectedIndexChanged += new System.EventHandler(this.cbOperations_SelectedIndexChanged); // // cbConector // this.cbConector.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbConector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbConector.FormattingEnabled = true; this.cbConector.Items.AddRange(new object[] { "And", "Or" }); this.cbConector.Location = new System.Drawing.Point(779, 3); this.cbConector.Name = "cbConector"; this.cbConector.Size = new System.Drawing.Size(40, 21); this.cbConector.TabIndex = 3; // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.ContextMenuStrip = this.cmAddRightClick; this.btnAdd.Location = new System.Drawing.Point(825, 3); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(25, 20); this.btnAdd.TabIndex = 4; this.btnAdd.Text = "+"; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.BtnAddClick); // // cmAddRightClick // this.cmAddRightClick.BackColor = System.Drawing.Color.Transparent; this.cmAddRightClick.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miAddGroup }); this.cmAddRightClick.Name = "Add Group"; this.cmAddRightClick.Size = new System.Drawing.Size(133, 26); // // miAddGroup // this.miAddGroup.Name = "miAddGroup"; this.miAddGroup.Size = new System.Drawing.Size(132, 22); this.miAddGroup.Text = "Add Group"; this.miAddGroup.Click += new System.EventHandler(this.MiAddGroup_Click); // // btnRemove // this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRemove.Location = new System.Drawing.Point(856, 3); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(25, 20); this.btnRemove.TabIndex = 5; this.btnRemove.Text = "-"; this.btnRemove.UseVisualStyleBackColor = true; this.btnRemove.Click += new System.EventHandler(this.BtnRemoveClick); // // valuesContainer // this.valuesContainer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.valuesContainer.AutoSize = true; this.valuesContainer.Location = new System.Drawing.Point(321, 4); this.valuesContainer.MinimumSize = new System.Drawing.Size(389, 21); this.valuesContainer.Name = "valuesContainer"; this.valuesContainer.Size = new System.Drawing.Size(389, 21); this.valuesContainer.TabIndex = 0; // // cbMatchTypes // this.cbMatchTypes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbMatchTypes.BackColor = System.Drawing.SystemColors.Window; this.cbMatchTypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbMatchTypes.FormattingEnabled = true; this.cbMatchTypes.Location = new System.Drawing.Point(716, 3); this.cbMatchTypes.Name = "cbMatchTypes"; this.cbMatchTypes.Size = new System.Drawing.Size(57, 21); this.cbMatchTypes.TabIndex = 6; // // UcFilter // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.cbMatchTypes); this.Controls.Add(this.valuesContainer); this.Controls.Add(this.btnRemove); this.Controls.Add(this.btnAdd); this.Controls.Add(this.cbConector); this.Controls.Add(this.cbOperations); this.Controls.Add(this.cbProperties); this.MinimumSize = new System.Drawing.Size(884, 29); this.Name = "UcFilter"; this.Size = new System.Drawing.Size(884, 29); this.Load += new System.EventHandler(this.UcFilterLoad); this.cmAddRightClick.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ColumnHeader columnHeader1; System.Windows.Forms.ColumnHeader columnHeader2; System.Windows.Forms.ContextMenuStrip resultColumnsContextMenuStrip; System.Windows.Forms.ToolStripSeparator toolStripSeparator3; System.Windows.Forms.ToolStripSeparator toolStripSeparator2; System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; System.Windows.Forms.ColumnHeader columnHeader3; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TableInsertForm)); this.resultColumnAddToCondition = new System.Windows.Forms.ToolStripMenuItem(); this.resultColumnsSelectAllMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resultColumnsSelectInverseMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resultColumnSortNoneMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resultColumnSortAscMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resultColumnSortDescMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.resultColumnRemoveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cmdRefresh = new System.Windows.Forms.Button(); this.cmdClose = new System.Windows.Forms.Button(); this.tableTree = new TecWare.PPSn.Controls.PpsTreeView(); this.filterGrid = new TecWare.PPSn.Controls.PpsFilterEditor(); this.currentColumnsListView = new System.Windows.Forms.ListView(); this.currentContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.currentColumnAddToResultMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.currentColumnAddToCondition = new System.Windows.Forms.ToolStripMenuItem(); this.currentColumnsSelectAllMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.currentColumnsSelectInverseMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resultColumnsListView = new System.Windows.Forms.ListView(); this.imageListSort = new System.Windows.Forms.ImageList(this.components); columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); resultColumnsContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); resultColumnsContextMenuStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.filterGrid)).BeginInit(); this.currentContextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // columnHeader1 // columnHeader1.Text = "Spalte"; columnHeader1.Width = 220; // // columnHeader2 // columnHeader2.Text = "Spalte"; columnHeader2.Width = 200; // // resultColumnsContextMenuStrip // resultColumnsContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.resultColumnAddToCondition, toolStripSeparator3, this.resultColumnsSelectAllMenuItem, this.resultColumnsSelectInverseMenuItem, toolStripSeparator2, this.resultColumnSortNoneMenuItem, this.resultColumnSortAscMenuItem, this.resultColumnSortDescMenuItem, this.toolStripSeparator1, this.resultColumnRemoveMenuItem }); resultColumnsContextMenuStrip.Name = "resultColumnsContextMenuStrip"; resultColumnsContextMenuStrip.Size = new System.Drawing.Size(200, 176); resultColumnsContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.resultColumnsContextMenuStrip_Opening); // // resultColumnAddToCondition // this.resultColumnAddToCondition.Name = "resultColumnAddToCondition"; this.resultColumnAddToCondition.Size = new System.Drawing.Size(199, 22); this.resultColumnAddToCondition.Text = "Als Bedingung"; this.resultColumnAddToCondition.Click += new System.EventHandler(this.CommandExec); // // toolStripSeparator3 // toolStripSeparator3.Name = "toolStripSeparator3"; toolStripSeparator3.Size = new System.Drawing.Size(196, 6); // // resultColumnsSelectAllMenuItem // this.resultColumnsSelectAllMenuItem.Name = "resultColumnsSelectAllMenuItem"; this.resultColumnsSelectAllMenuItem.ShortcutKeyDisplayString = "Strg+A"; this.resultColumnsSelectAllMenuItem.Size = new System.Drawing.Size(199, 22); this.resultColumnsSelectAllMenuItem.Text = "Alles markieren"; this.resultColumnsSelectAllMenuItem.Click += new System.EventHandler(this.CommandExec); // // resultColumnsSelectInverseMenuItem // this.resultColumnsSelectInverseMenuItem.Name = "resultColumnsSelectInverseMenuItem"; this.resultColumnsSelectInverseMenuItem.Size = new System.Drawing.Size(199, 22); this.resultColumnsSelectInverseMenuItem.Text = "Markierung umkehren"; this.resultColumnsSelectInverseMenuItem.Click += new System.EventHandler(this.CommandExec); // // toolStripSeparator2 // toolStripSeparator2.Name = "toolStripSeparator2"; toolStripSeparator2.Size = new System.Drawing.Size(196, 6); // // resultColumnSortNoneMenuItem // this.resultColumnSortNoneMenuItem.Name = "resultColumnSortNoneMenuItem"; this.resultColumnSortNoneMenuItem.Size = new System.Drawing.Size(199, 22); this.resultColumnSortNoneMenuItem.Text = "Keine Sortierung"; this.resultColumnSortNoneMenuItem.Click += new System.EventHandler(this.CommandExec); // // resultColumnSortAscMenuItem // this.resultColumnSortAscMenuItem.Image = global::TecWare.PPSn.Properties.Resources.SortAscendingImage; this.resultColumnSortAscMenuItem.Name = "resultColumnSortAscMenuItem"; this.resultColumnSortAscMenuItem.Size = new System.Drawing.Size(199, 22); this.resultColumnSortAscMenuItem.Text = "Aufsteigend sortieren"; this.resultColumnSortAscMenuItem.Click += new System.EventHandler(this.CommandExec); // // resultColumnSortDescMenuItem // this.resultColumnSortDescMenuItem.Image = global::TecWare.PPSn.Properties.Resources.SortDescendingImage; this.resultColumnSortDescMenuItem.Name = "resultColumnSortDescMenuItem"; this.resultColumnSortDescMenuItem.Size = new System.Drawing.Size(199, 22); this.resultColumnSortDescMenuItem.Text = "Absteigend sortieren"; this.resultColumnSortDescMenuItem.Click += new System.EventHandler(this.CommandExec); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(196, 6); // // resultColumnRemoveMenuItem // this.resultColumnRemoveMenuItem.Name = "resultColumnRemoveMenuItem"; this.resultColumnRemoveMenuItem.ShortcutKeyDisplayString = "Entf"; this.resultColumnRemoveMenuItem.Size = new System.Drawing.Size(199, 22); this.resultColumnRemoveMenuItem.Text = "&Entfernen"; this.resultColumnRemoveMenuItem.Click += new System.EventHandler(this.CommandExec); // // toolStripMenuItem1 // toolStripMenuItem1.Name = "toolStripMenuItem1"; toolStripMenuItem1.Size = new System.Drawing.Size(196, 6); // // columnHeader3 // columnHeader3.Text = "Quelle"; columnHeader3.Width = 140; // // cmdRefresh // this.cmdRefresh.Location = new System.Drawing.Point(707, 540); this.cmdRefresh.Name = "cmdRefresh"; this.cmdRefresh.Size = new System.Drawing.Size(100, 23); this.cmdRefresh.TabIndex = 4; this.cmdRefresh.Text = "Einfügen"; this.cmdRefresh.UseVisualStyleBackColor = true; this.cmdRefresh.Click += new System.EventHandler(this.cmdInsert_Click); // // cmdClose // this.cmdClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdClose.Location = new System.Drawing.Point(813, 540); this.cmdClose.Name = "cmdClose"; this.cmdClose.Size = new System.Drawing.Size(100, 23); this.cmdClose.TabIndex = 5; this.cmdClose.Text = "Schließen"; this.cmdClose.UseVisualStyleBackColor = true; // // tableTree // this.tableTree.CheckBoxes = true; this.tableTree.HideSelection = false; this.tableTree.Location = new System.Drawing.Point(16, 16); this.tableTree.Name = "tableTree"; this.tableTree.ShowPlusMinus = false; this.tableTree.ShowRootLines = false; this.tableTree.Size = new System.Drawing.Size(269, 355); this.tableTree.TabIndex = 0; this.tableTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tableTree_AfterCheck); this.tableTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tableTree_AfterSelect); // // filterGrid // this.filterGrid.AllowDrop = true; this.filterGrid.AllowUserToAddRows = false; this.filterGrid.AllowUserToDeleteRows = false; this.filterGrid.AllowUserToOrderColumns = true; this.filterGrid.AllowUserToResizeRows = false; this.filterGrid.BackgroundColor = System.Drawing.SystemColors.Window; this.filterGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.filterGrid.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.filterGrid.GridColor = System.Drawing.SystemColors.Window; this.filterGrid.Location = new System.Drawing.Point(16, 377); this.filterGrid.Name = "filterGrid"; this.filterGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.filterGrid.Size = new System.Drawing.Size(897, 157); this.filterGrid.TabIndex = 3; this.filterGrid.DragDrop += new System.Windows.Forms.DragEventHandler(this.filterGrid_DragDrop); this.filterGrid.DragEnter += new System.Windows.Forms.DragEventHandler(this.filterGrid_DragEnter); this.filterGrid.DragOver += new System.Windows.Forms.DragEventHandler(this.filterGrid_DragOver); // // currentColumnsListView // this.currentColumnsListView.AllowDrop = true; this.currentColumnsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { columnHeader1 }); this.currentColumnsListView.ContextMenuStrip = this.currentContextMenuStrip; this.currentColumnsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.currentColumnsListView.HideSelection = false; this.currentColumnsListView.Location = new System.Drawing.Point(291, 16); this.currentColumnsListView.Name = "currentColumnsListView"; this.currentColumnsListView.ShowGroups = false; this.currentColumnsListView.Size = new System.Drawing.Size(243, 355); this.currentColumnsListView.TabIndex = 1; this.currentColumnsListView.UseCompatibleStateImageBehavior = false; this.currentColumnsListView.View = System.Windows.Forms.View.Details; this.currentColumnsListView.DragDrop += new System.Windows.Forms.DragEventHandler(this.currentColumnsListView_DragDrop); this.currentColumnsListView.DragEnter += new System.Windows.Forms.DragEventHandler(this.currentColumnsListView_DragEnter); this.currentColumnsListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.currentColumnsListView_KeyUp); this.currentColumnsListView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listView_MouseDown); this.currentColumnsListView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.listView_MouseMove); // // currentContextMenuStrip // this.currentContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.currentColumnAddToResultMenuItem, this.currentColumnAddToCondition, toolStripMenuItem1, this.currentColumnsSelectAllMenuItem, this.currentColumnsSelectInverseMenuItem }); this.currentContextMenuStrip.Name = "currentContextMenuStrip"; this.currentContextMenuStrip.Size = new System.Drawing.Size(200, 98); this.currentContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.currentContextMenuStrip_Opening); // // currentColumnAddToResultMenuItem // this.currentColumnAddToResultMenuItem.Name = "currentColumnAddToResultMenuItem"; this.currentColumnAddToResultMenuItem.Size = new System.Drawing.Size(199, 22); this.currentColumnAddToResultMenuItem.Text = "Hinzufügen"; this.currentColumnAddToResultMenuItem.Click += new System.EventHandler(this.CommandExec); // // currentColumnAddToCondition // this.currentColumnAddToCondition.Name = "currentColumnAddToCondition"; this.currentColumnAddToCondition.Size = new System.Drawing.Size(199, 22); this.currentColumnAddToCondition.Text = "Als Bedingung"; this.currentColumnAddToCondition.Click += new System.EventHandler(this.CommandExec); // // currentColumnsSelectAllMenuItem // this.currentColumnsSelectAllMenuItem.Name = "currentColumnsSelectAllMenuItem"; this.currentColumnsSelectAllMenuItem.ShortcutKeyDisplayString = "Strg+A"; this.currentColumnsSelectAllMenuItem.Size = new System.Drawing.Size(199, 22); this.currentColumnsSelectAllMenuItem.Text = "Alles markieren"; this.currentColumnsSelectAllMenuItem.Click += new System.EventHandler(this.CommandExec); // // currentColumnsSelectInverseMenuItem // this.currentColumnsSelectInverseMenuItem.Name = "currentColumnsSelectInverseMenuItem"; this.currentColumnsSelectInverseMenuItem.Size = new System.Drawing.Size(199, 22); this.currentColumnsSelectInverseMenuItem.Text = "Markierung umkehren"; this.currentColumnsSelectInverseMenuItem.Click += new System.EventHandler(this.CommandExec); // // resultColumnsListView // this.resultColumnsListView.AllowDrop = true; this.resultColumnsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { columnHeader2, columnHeader3 }); this.resultColumnsListView.ContextMenuStrip = resultColumnsContextMenuStrip; this.resultColumnsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.resultColumnsListView.HideSelection = false; this.resultColumnsListView.LabelEdit = true; this.resultColumnsListView.Location = new System.Drawing.Point(540, 16); this.resultColumnsListView.Name = "resultColumnsListView"; this.resultColumnsListView.ShowGroups = false; this.resultColumnsListView.ShowItemToolTips = true; this.resultColumnsListView.Size = new System.Drawing.Size(373, 355); this.resultColumnsListView.SmallImageList = this.imageListSort; this.resultColumnsListView.TabIndex = 2; this.resultColumnsListView.UseCompatibleStateImageBehavior = false; this.resultColumnsListView.View = System.Windows.Forms.View.Details; this.resultColumnsListView.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.resultColumnsListView_AfterLabelEdit); this.resultColumnsListView.DragDrop += new System.Windows.Forms.DragEventHandler(this.resultColumnsListView_DragDrop); this.resultColumnsListView.DragEnter += new System.Windows.Forms.DragEventHandler(this.resultColumnsListView_DragEnter); this.resultColumnsListView.DragOver += new System.Windows.Forms.DragEventHandler(this.resultColumnsListView_DragOver); this.resultColumnsListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.resultColumnsListView_KeyUp); this.resultColumnsListView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listView_MouseDown); this.resultColumnsListView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.listView_MouseMove); // // imageListSort // this.imageListSort.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListSort.ImageStream"))); this.imageListSort.TransparentColor = System.Drawing.Color.Transparent; this.imageListSort.Images.SetKeyName(0, "sort_ascending.png"); this.imageListSort.Images.SetKeyName(1, "sort_descending.png"); // // TableInsertForm // this.AcceptButton = this.cmdRefresh; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(934, 575); this.Controls.Add(this.resultColumnsListView); this.Controls.Add(this.currentColumnsListView); this.Controls.Add(this.filterGrid); this.Controls.Add(this.tableTree); this.Controls.Add(this.cmdClose); this.Controls.Add(this.cmdRefresh); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "TableInsertForm"; this.Padding = new System.Windows.Forms.Padding(13); this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Tabelle insert/edit"; resultColumnsContextMenuStrip.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.filterGrid)).EndInit(); this.currentContextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.buttonCancel = new System.Windows.Forms.Button(); this.buttonSave = new System.Windows.Forms.Button(); this.textBoxWyName = new System.Windows.Forms.TextBox(); this.textBoxUNIT_No = new System.Windows.Forms.TextBox(); this.textBoxTNArea = new System.Windows.Forms.TextBox(); this.textBoxROOM_No = new System.Windows.Forms.TextBox(); this.textBoxOwnerDetail = new System.Windows.Forms.TextBox(); this.textBoxGTArea = new System.Windows.Forms.TextBox(); this.textBoxFLOOR_No = new System.Windows.Forms.TextBox(); this.textBoxJZArea = new System.Windows.Forms.TextBox(); this.textBoxOwnerName = new System.Windows.Forms.TextBox(); this.textBoxWyID = new System.Windows.Forms.TextBox(); this.comboBoxCustomerID = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.dataGridView2 = new System.Windows.Forms.DataGridView(); this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components); this.除收费项ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.buttonClose = new System.Windows.Forms.Button(); this.buttonImport = new System.Windows.Forms.Button(); this.buttonDel = new System.Windows.Forms.Button(); this.buttonModify = new System.Windows.Forms.Button(); this.buttonNew = new System.Windows.Forms.Button(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.新增物业ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.修改物业ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.除物业ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.增加收费项ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); this.contextMenuStrip2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(47, 50); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 23); this.label1.TabIndex = 0; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.buttonCancel); this.panel1.Controls.Add(this.buttonSave); this.panel1.Controls.Add(this.textBoxWyName); this.panel1.Controls.Add(this.textBoxUNIT_No); this.panel1.Controls.Add(this.textBoxTNArea); this.panel1.Controls.Add(this.textBoxROOM_No); this.panel1.Controls.Add(this.textBoxOwnerDetail); this.panel1.Controls.Add(this.textBoxGTArea); this.panel1.Controls.Add(this.textBoxFLOOR_No); this.panel1.Controls.Add(this.textBoxJZArea); this.panel1.Controls.Add(this.textBoxOwnerName); this.panel1.Controls.Add(this.textBoxWyID); this.panel1.Controls.Add(this.comboBoxCustomerID); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.label11); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label12); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Location = new System.Drawing.Point(547, 50); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(429, 308); this.panel1.TabIndex = 1; // // buttonCancel // this.buttonCancel.Enabled = false; this.buttonCancel.Location = new System.Drawing.Point(338, 315); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.TabIndex = 12; this.buttonCancel.Text = "取消"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // // buttonSave // this.buttonSave.Enabled = false; this.buttonSave.Location = new System.Drawing.Point(257, 315); this.buttonSave.Name = "buttonSave"; this.buttonSave.Size = new System.Drawing.Size(75, 23); this.buttonSave.TabIndex = 11; this.buttonSave.Text = "保存"; this.buttonSave.UseVisualStyleBackColor = true; this.buttonSave.Click += new System.EventHandler(this.ButtonSaveClick); // // textBoxWyName // this.textBoxWyName.Location = new System.Drawing.Point(265, 16); this.textBoxWyName.Name = "textBoxWyName"; this.textBoxWyName.Size = new System.Drawing.Size(146, 21); this.textBoxWyName.TabIndex = 1; // // textBoxUNIT_No // this.textBoxUNIT_No.Location = new System.Drawing.Point(265, 133); this.textBoxUNIT_No.Name = "textBoxUNIT_No"; this.textBoxUNIT_No.Size = new System.Drawing.Size(100, 21); this.textBoxUNIT_No.TabIndex = 7; this.textBoxUNIT_No.TextChanged += new System.EventHandler(this.TextBoxUNIT_NoTextChanged); // // textBoxTNArea // this.textBoxTNArea.Location = new System.Drawing.Point(265, 94); this.textBoxTNArea.Name = "textBoxTNArea"; this.textBoxTNArea.Size = new System.Drawing.Size(100, 21); this.textBoxTNArea.TabIndex = 5; this.textBoxTNArea.TextChanged += new System.EventHandler(this.TextBoxTNAreaTextChanged); // // textBoxROOM_No // this.textBoxROOM_No.Location = new System.Drawing.Point(265, 172); this.textBoxROOM_No.Name = "textBoxROOM_No"; this.textBoxROOM_No.Size = new System.Drawing.Size(100, 21); this.textBoxROOM_No.TabIndex = 9; this.textBoxROOM_No.TextChanged += new System.EventHandler(this.TextBoxROOM_NoTextChanged); // // textBoxOwnerDetail // this.textBoxOwnerDetail.Location = new System.Drawing.Point(68, 212); this.textBoxOwnerDetail.Multiline = true; this.textBoxOwnerDetail.Name = "textBoxOwnerDetail"; this.textBoxOwnerDetail.Size = new System.Drawing.Size(345, 85); this.textBoxOwnerDetail.TabIndex = 10; // // textBoxGTArea // this.textBoxGTArea.Location = new System.Drawing.Point(68, 133); this.textBoxGTArea.Name = "textBoxGTArea"; this.textBoxGTArea.Size = new System.Drawing.Size(100, 21); this.textBoxGTArea.TabIndex = 6; this.textBoxGTArea.TextChanged += new System.EventHandler(this.TextBoxGTAreaTextChanged); // // textBoxFLOOR_No // this.textBoxFLOOR_No.Location = new System.Drawing.Point(68, 172); this.textBoxFLOOR_No.Name = "textBoxFLOOR_No"; this.textBoxFLOOR_No.Size = new System.Drawing.Size(100, 21); this.textBoxFLOOR_No.TabIndex = 8; this.textBoxFLOOR_No.TextChanged += new System.EventHandler(this.TextBoxFLOOR_NoTextChanged); // // textBoxJZArea // this.textBoxJZArea.Location = new System.Drawing.Point(68, 94); this.textBoxJZArea.Name = "textBoxJZArea"; this.textBoxJZArea.Size = new System.Drawing.Size(100, 21); this.textBoxJZArea.TabIndex = 4; this.textBoxJZArea.TextChanged += new System.EventHandler(this.TextBoxJZAreaTextChanged); // // textBoxOwnerName // this.textBoxOwnerName.Location = new System.Drawing.Point(68, 55); this.textBoxOwnerName.Name = "textBoxOwnerName"; this.textBoxOwnerName.Size = new System.Drawing.Size(100, 21); this.textBoxOwnerName.TabIndex = 2; // // textBoxWyID // this.textBoxWyID.Location = new System.Drawing.Point(68, 16); this.textBoxWyID.Name = "textBoxWyID"; this.textBoxWyID.ReadOnly = true; this.textBoxWyID.Size = new System.Drawing.Size(100, 21); this.textBoxWyID.TabIndex = 0; // // comboBoxCustomerID // this.comboBoxCustomerID.FormattingEnabled = true; this.comboBoxCustomerID.Location = new System.Drawing.Point(265, 55); this.comboBoxCustomerID.Name = "comboBoxCustomerID"; this.comboBoxCustomerID.Size = new System.Drawing.Size(146, 20); this.comboBoxCustomerID.TabIndex = 3; // // label6 // this.label6.Location = new System.Drawing.Point(8, 132); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(71, 23); this.label6.TabIndex = 0; this.label6.Text = "公摊面积:"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label5 // this.label5.Location = new System.Drawing.Point(201, 93); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(71, 23); this.label5.TabIndex = 0; this.label5.Text = "套内面积:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label10 // this.label10.Location = new System.Drawing.Point(201, 171); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(71, 23); this.label10.TabIndex = 0; this.label10.Text = "房间号:"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label9 // this.label9.Location = new System.Drawing.Point(8, 171); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(71, 23); this.label9.TabIndex = 0; this.label9.Text = "楼层号:"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label11 // this.label11.Location = new System.Drawing.Point(201, 54); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(71, 23); this.label11.TabIndex = 0; this.label11.Text = "缴费号:"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label8 // this.label8.Location = new System.Drawing.Point(201, 132); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(71, 23); this.label8.TabIndex = 0; this.label8.Text = "单元号:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label4 // this.label4.Location = new System.Drawing.Point(8, 93); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(71, 23); this.label4.TabIndex = 0; this.label4.Text = "建筑面积:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label12 // this.label12.Location = new System.Drawing.Point(8, 210); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(71, 23); this.label12.TabIndex = 0; this.label12.Text = "业主详情:"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label7 // this.label7.Location = new System.Drawing.Point(8, 54); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(71, 23); this.label7.TabIndex = 0; this.label7.Text = "业主姓名:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label3 // this.label3.Location = new System.Drawing.Point(201, 15); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(71, 23); this.label3.TabIndex = 0; this.label3.Text = "物业名称:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Location = new System.Drawing.Point(8, 15); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 23); this.label2.TabIndex = 0; this.label2.Text = "物业ID:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.Controls.Add(this.dataGridView2); this.panel2.Controls.Add(this.buttonImport); this.panel2.Controls.Add(this.buttonDel); this.panel2.Controls.Add(this.buttonModify); this.panel2.Controls.Add(this.buttonNew); this.panel2.Controls.Add(this.dataGridView1); this.panel2.Location = new System.Drawing.Point(12, 12); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(529, 346); this.panel2.TabIndex = 2; // // dataGridView2 // this.dataGridView2.AllowUserToAddRows = false; this.dataGridView2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView2.ContextMenuStrip = this.contextMenuStrip2; this.dataGridView2.Location = new System.Drawing.Point(3, 190); this.dataGridView2.MultiSelect = false; this.dataGridView2.Name = "dataGridView2"; this.dataGridView2.RowTemplate.Height = 23; this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView2.Size = new System.Drawing.Size(523, 148); this.dataGridView2.TabIndex = 4; // // contextMenuStrip2 // this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.除收费项ToolStripMenuItem }); this.contextMenuStrip2.Name = "contextMenuStrip2"; this.contextMenuStrip2.Size = new System.Drawing.Size(137, 26); // // 删除收费项ToolStripMenuItem // this.除收费项ToolStripMenuItem.Name = "删除收费项ToolStripMenuItem"; this.除收费项ToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.除收费项ToolStripMenuItem.Text = "删除收费项"; this.除收费项ToolStripMenuItem.Click += new System.EventHandler(this.除收费项ToolStripMenuItemClick); // // buttonClose // this.buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonClose.Location = new System.Drawing.Point(901, 12); this.buttonClose.Name = "buttonClose"; this.buttonClose.Size = new System.Drawing.Size(75, 23); this.buttonClose.TabIndex = 3; this.buttonClose.Text = "退出"; this.buttonClose.UseVisualStyleBackColor = true; this.buttonClose.Click += new System.EventHandler(this.ButtonCloseClick); // // buttonImport // this.buttonImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonImport.Location = new System.Drawing.Point(246, 161); this.buttonImport.Name = "buttonImport"; this.buttonImport.Size = new System.Drawing.Size(95, 23); this.buttonImport.TabIndex = 2; this.buttonImport.Text = "导入物业信息"; this.buttonImport.UseVisualStyleBackColor = true; this.buttonImport.Visible = false; this.buttonImport.Click += new System.EventHandler(this.ButtonImportClick); // // buttonDel // this.buttonDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonDel.Location = new System.Drawing.Point(165, 161); this.buttonDel.Name = "buttonDel"; this.buttonDel.Size = new System.Drawing.Size(75, 23); this.buttonDel.TabIndex = 2; this.buttonDel.Text = "删除物业"; this.buttonDel.UseVisualStyleBackColor = true; this.buttonDel.Click += new System.EventHandler(this.ButtonDelClick); // // buttonModify // this.buttonModify.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonModify.Location = new System.Drawing.Point(84, 161); this.buttonModify.Name = "buttonModify"; this.buttonModify.Size = new System.Drawing.Size(75, 23); this.buttonModify.TabIndex = 1; this.buttonModify.Text = "修改物业"; this.buttonModify.UseVisualStyleBackColor = true; this.buttonModify.Click += new System.EventHandler(this.ButtonModifyClick); // // buttonNew // this.buttonNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonNew.Location = new System.Drawing.Point(3, 161); this.buttonNew.Name = "buttonNew"; this.buttonNew.Size = new System.Drawing.Size(75, 23); this.buttonNew.TabIndex = 0; this.buttonNew.Text = "新增物业"; this.buttonNew.UseVisualStyleBackColor = true; this.buttonNew.Click += new System.EventHandler(this.ButtonNewClick); // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1; this.dataGridView1.Location = new System.Drawing.Point(3, 5); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(523, 150); this.dataGridView1.TabIndex = 0; this.dataGridView1.SelectionChanged += new System.EventHandler(this.DataGridView1SelectionChanged); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.新增物业ToolStripMenuItem, this.修改物业ToolStripMenuItem, this.除物业ToolStripMenuItem, this.toolStripMenuItem1, this.增加收费项ToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(137, 98); // // 新增物业ToolStripMenuItem // this.新增物业ToolStripMenuItem.Name = "新增物业ToolStripMenuItem"; this.新增物业ToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.新增物业ToolStripMenuItem.Text = "新增物业"; this.新增物业ToolStripMenuItem.Click += new System.EventHandler(this.新增物业ToolStripMenuItemClick); // // 修改物业ToolStripMenuItem // this.修改物业ToolStripMenuItem.Name = "修改物业ToolStripMenuItem"; this.修改物业ToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.修改物业ToolStripMenuItem.Text = "修改物业"; this.修改物业ToolStripMenuItem.Click += new System.EventHandler(this.修改物业ToolStripMenuItemClick); // // 删除物业ToolStripMenuItem // this.除物业ToolStripMenuItem.Name = "删除物业ToolStripMenuItem"; this.除物业ToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.除物业ToolStripMenuItem.Text = "删除物业"; this.除物业ToolStripMenuItem.Click += new System.EventHandler(this.除物业ToolStripMenuItemClick); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(133, 6); // // 增加收费项ToolStripMenuItem // this.增加收费项ToolStripMenuItem.Name = "增加收费项ToolStripMenuItem"; this.增加收费项ToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.增加收费项ToolStripMenuItem.Text = "增加收费项"; this.增加收费项ToolStripMenuItem.Click += new System.EventHandler(this.增加收费项ToolStripMenuItemClick); // // FormWyInfos // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(988, 369); this.Controls.Add(this.buttonClose); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Controls.Add(this.label1); this.Name = "FormWyInfos"; this.Text = "物业信息"; this.Load += new System.EventHandler(this.FormWyInfosLoad); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); this.contextMenuStrip2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
public MainWindow(VMMainView vm) { InitializeComponent(); this.DataContext = vm; #region ui stuff #region system tray //WPF System Tray Application:http://social.msdn.microsoft.com/Forums/en/wpf/thread/21992d0b-a02c-4042-a188-47b0a2b99b0b System.Windows.Forms.NotifyIcon notifyIcon = new System.Windows.Forms.NotifyIcon(); using (System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(Application.GetResourceStream(new Uri("/PortableBasemapServer;component/Images/Map.png", UriKind.RelativeOrAbsolute)).Stream)) { IntPtr ptr = bmp.GetHicon(); notifyIcon.Icon = new System.Drawing.Icon(System.Drawing.Icon.FromHandle(ptr), 40, 40); PBS.Util.Utility.DeleteObject(ptr); } notifyIcon.DoubleClick += (s, a) => { if (this.WindowState == WindowState.Minimized) { this.Show(); this.WindowState = WindowState.Normal; } else { this.WindowState = WindowState.Minimized; } }; this.StateChanged += (s, a) => { if (vm.IsShowInSysTray) { if (this.WindowState == WindowState.Minimized) { this.Hide(); notifyIcon.Visible = true; //_notifyIcon.BalloonTipTitle = "PBS"; //_notifyIcon.BalloonTipText = FindResource("msgSysTrayBalloon").ToString(); //_notifyIcon.ShowBalloonTip(1000); } } else { notifyIcon.Visible = false; } }; //context menu System.Windows.Forms.ContextMenuStrip cms = new System.Windows.Forms.ContextMenuStrip(); System.Windows.Forms.ToolStripMenuItem cmiExit = new System.Windows.Forms.ToolStripMenuItem(); cmiExit.Click += (s, a) => { Application.Current.Shutdown(); }; cms.Items.Add(cmiExit); cms.Opened += (s, a) => { cmiExit.Text = Application.Current.FindResource("cmiExit").ToString(); }; notifyIcon.ContextMenuStrip = cms; notifyIcon.MouseMove += (s, a) => { string usingPorts = string.Empty; foreach (KeyValuePair <int, PortEntity> kv in ServiceManager.PortEntities) { usingPorts += kv.Key.ToString() + ", "; } if (!string.IsNullOrEmpty(usingPorts)) { usingPorts = usingPorts.Remove(usingPorts.Length - 2, 2); } notifyIcon.Text = Application.Current.FindResource("msgUsingPorts").ToString() + usingPorts + "\r\n" + Application.Current.FindResource("msgStartedServiceCount").ToString() + ServiceManager.Services.Count; }; if (vm.IsShowInSysTray) { notifyIcon.Visible = true; } vm.IsShowInSysTrayChanged += (s, a) => { notifyIcon.Visible = (s as VMMainView).IsShowInSysTray; }; #endregion //window closing Application.Current.MainWindow.Closing += (s, a) => { if (ServiceManager.Services.Count > 0 && !vm.IsLoadLastConfiguration) { if (MessageBox.Show(Application.Current.FindResource("msgExitWarning").ToString(), Application.Current.FindResource("msgWarning").ToString(), MessageBoxButton.OKCancel, MessageBoxImage.Warning) == MessageBoxResult.Cancel) { a.Cancel = true; return; } } vm.DoCleanJobs(); if (notifyIcon != null) { notifyIcon.Dispose(); notifyIcon = null; } }; #endregion this.Show(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.buttonClose = new System.Windows.Forms.Button(); this.dataGridView2 = new System.Windows.Forms.DataGridView(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.buttonPrint = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.textBoxFilter = new System.Windows.Forms.TextBox(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.回退到未收费状态ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1; this.dataGridView1.Location = new System.Drawing.Point(3, 3); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(213, 222); this.dataGridView1.TabIndex = 0; this.dataGridView1.SelectionChanged += new System.EventHandler(this.DataGridView1SelectionChanged); // // buttonClose // this.buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonClose.Location = new System.Drawing.Point(503, 12); this.buttonClose.Name = "buttonClose"; this.buttonClose.Size = new System.Drawing.Size(75, 23); this.buttonClose.TabIndex = 1; this.buttonClose.Text = "退出"; this.buttonClose.UseVisualStyleBackColor = true; this.buttonClose.Click += new System.EventHandler(this.ButtonCloseClick); // // dataGridView2 // this.dataGridView2.AllowUserToAddRows = false; this.dataGridView2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView2.Location = new System.Drawing.Point(3, 3); this.dataGridView2.Name = "dataGridView2"; this.dataGridView2.RowTemplate.Height = 23; this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView2.Size = new System.Drawing.Size(337, 222); this.dataGridView2.TabIndex = 0; // // splitContainer1 // this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainer1.Location = new System.Drawing.Point(12, 53); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.dataGridView1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.dataGridView2); this.splitContainer1.Size = new System.Drawing.Size(566, 228); this.splitContainer1.SplitterDistance = 219; this.splitContainer1.TabIndex = 2; // // buttonPrint // this.buttonPrint.Location = new System.Drawing.Point(12, 12); this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.Size = new System.Drawing.Size(112, 23); this.buttonPrint.TabIndex = 3; this.buttonPrint.Text = "打印收费单"; this.buttonPrint.UseVisualStyleBackColor = true; this.buttonPrint.Click += new System.EventHandler(this.ButtonPrintClick); // // label2 // this.label2.Location = new System.Drawing.Point(145, 12); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(83, 23); this.label2.TabIndex = 5; this.label2.Text = "收费单过滤:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // textBoxFilter // this.textBoxFilter.Location = new System.Drawing.Point(223, 13); this.textBoxFilter.Name = "textBoxFilter"; this.textBoxFilter.Size = new System.Drawing.Size(230, 21); this.textBoxFilter.TabIndex = 6; this.textBoxFilter.TextChanged += new System.EventHandler(this.TextBoxFilterTextChanged); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.回退到未收费状态ToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(173, 26); // // 回退到未收费状态ToolStripMenuItem // this.回退到未收费状态ToolStripMenuItem.Name = "回退到未收费状态ToolStripMenuItem"; this.回退到未收费状态ToolStripMenuItem.Size = new System.Drawing.Size(172, 22); this.回退到未收费状态ToolStripMenuItem.Text = "回退到未收费状态"; this.回退到未收费状态ToolStripMenuItem.Click += new System.EventHandler(this.回退到未收费状态ToolStripMenuItemClick); // // FormHisSF // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(590, 293); this.Controls.Add(this.textBoxFilter); this.Controls.Add(this.label2); this.Controls.Add(this.buttonPrint); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.buttonClose); this.Name = "FormHisSF"; this.Text = "历史收费单"; this.Load += new System.EventHandler(this.FormHisSFLoad); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void SetupNotifyIcon() { mComponents = new System.ComponentModel.Container(); __NotifyIcon = TrayIcon = new NotifyIcon(mComponents); __NotifyIcon.Icon = System.Drawing.SystemIcons.Application; __NotifyIcon.Text = PRODUCT_NAME; __NotifyIcon.Visible = true; __NotifyIcon.DoubleClick += (sender, evt) => { RestoreApplicationWindow(); }; __NotifyIcon.BalloonTipClicked += (object sender, EventArgs e) => { RestoreApplicationWindow(); }; TrayIcon.Icon = IVPN.Properties.Resources.disconnected; __ContextMenu = new ContextMenuStrip(); __MenuItemDisplayForm = new ToolStripMenuItem(); __MenuItemCheckUpdates = new ToolStripMenuItem(); __MenuItemExitApplication = new ToolStripMenuItem(); __MenuItemConnectToLastServer = new ToolStripMenuItem(); __MenuItemDisconnect = new ToolStripMenuItem(); __MenuItemPause = new ToolStripMenuItem(); __MenuItemResume = new ToolStripMenuItem(); __NotifyIcon.ContextMenuStrip = __ContextMenu; __ContextMenu.Items.Add(new ToolStripMenuItem { Text = string.Format("{0} {1}", PRODUCT_NAME, Platform.Version), Enabled = false }); __ContextMenu.Items.Add(new ToolStripSeparator()); __MenuItemDisplayForm.Text = @"Show " + PRODUCT_NAME; __MenuItemDisplayForm.Click += (object sender, EventArgs evt) => { RestoreApplicationWindow(); }; __ContextMenu.Items.Add(__MenuItemDisplayForm); __MenuItemConnectToLastServer.Text = @"Connect to Last Server"; __MenuItemConnectToLastServer.Visible = false; __MenuItemConnectToLastServer.Click += async(object sender, EventArgs evt) => { await ConnectToLastServer(); }; __ContextMenu.Items.Add(__MenuItemConnectToLastServer); // PAUSE __MenuItemPause = new ToolStripMenuItem { Text = @"Pause" }; var menuSubItemPause5Min = new ToolStripMenuItem { Text = @"Pause for 5 minutes", Tag = "300" }; var menuSubItemPause30Min = new ToolStripMenuItem { Text = @"Pause for 30 minutes", Tag = "1800" }; var menuSubItemPause1Hour = new ToolStripMenuItem { Text = @"Pause for 1 hour", Tag = "3600" }; var menuSubItemPause3Hours = new ToolStripMenuItem { Text = @"Pause for 3 hours", Tag = "10800" }; var menuSubItemPauseCustom = new ToolStripMenuItem { Text = @"Pause for a custom time...", Tag = "0" }; menuSubItemPause5Min.Click += MenuSubItemPauseOnClick; menuSubItemPause30Min.Click += MenuSubItemPauseOnClick; menuSubItemPause1Hour.Click += MenuSubItemPauseOnClick; menuSubItemPause3Hours.Click += MenuSubItemPauseOnClick; menuSubItemPauseCustom.Click += MenuSubItemPauseOnClick; __MenuItemPause.DropDownItems.Add(menuSubItemPause5Min); __MenuItemPause.DropDownItems.Add(menuSubItemPause30Min); __MenuItemPause.DropDownItems.Add(menuSubItemPause1Hour); __MenuItemPause.DropDownItems.Add(menuSubItemPause3Hours); __MenuItemPause.DropDownItems.Add(menuSubItemPauseCustom); __ContextMenu.Items.Add(__MenuItemPause); // RESUME __MenuItemResume = new ToolStripMenuItem { Text = @"Resume" }; __MenuItemResume.Click += (sender, args) => { GetMainViewModel().ResumeCommand.Execute(null); }; __ContextMenu.Items.Add(__MenuItemResume); // DISCONNECT __MenuItemDisconnect.Text = @"Disconnect"; __MenuItemDisconnect.Click += (object sender, EventArgs evt) => { MainViewModel mainViewModel = GetMainViewModel(); if (mainViewModel == null) { return; } if (mainViewModel.ConnectionState == ServiceState.Connected) { mainViewModel.DisconnectCommand.Execute(null); } }; __MenuItemDisconnect.Visible = false; __ContextMenu.Items.Add(__MenuItemDisconnect); // ACCOUNT menu item __AccountSeparatorMenuItem = new ToolStripSeparator(); __ContextMenu.Items.Add(__AccountSeparatorMenuItem); __AccountMenuItem = new ToolStripMenuItem(); __AccountMenuItem.Text = @"Account"; __AccountMenuItem.Visible = false; __AccountSeparatorMenuItem.Visible = false; __UsernameMenuItem = new ToolStripMenuItem(); __UsernameMenuItem.Enabled = false; ToolStripMenuItem logoutMenuItem = new ToolStripMenuItem { Text = @"Logout..." }; logoutMenuItem.Click += LogoutMenuItemOnClick; __AccountMenuItem.DropDownItems.Add(__UsernameMenuItem); __AccountMenuItem.DropDownItems.Add(logoutMenuItem); __ContextMenu.Items.Add(__AccountMenuItem); // PRIVATE EMAILS __PrivateEmailSeparatorMenuItem = new ToolStripSeparator { Visible = false }; __ContextMenu.Items.Add(__PrivateEmailSeparatorMenuItem); __PrivateEmailsMenuItem = new ToolStripMenuItem { Text = @"Private e-mail", Visible = false }; ToolStripMenuItem privEmailGenerate = new ToolStripMenuItem { Text = @"Generate new..." }; ToolStripMenuItem privEmailManage = new ToolStripMenuItem { Text = @"Manage email..." }; privEmailGenerate.Click += PrivEmailGenerateOnClick; privEmailManage.Click += PrivEmailManageOnClick; __PrivateEmailsMenuItem.DropDownItems.Add(privEmailGenerate); __PrivateEmailsMenuItem.DropDownItems.Add(privEmailManage); __ContextMenu.Items.Add(__PrivateEmailsMenuItem); // UPDATES menu item __ContextMenu.Items.Add(new ToolStripSeparator()); __MenuItemCheckUpdates.Text = @"Check for updates..."; __MenuItemCheckUpdates.Click += (object sender, EventArgs evt) => { AutoUpdate.Updater.CheckForUpdatesWithUi(); }; __ContextMenu.Items.Add(__MenuItemCheckUpdates); __ContextMenu.Items.Add(new ToolStripSeparator()); __MenuItemExitApplication.Text = @"Exit " + PRODUCT_NAME; __MenuItemExitApplication.Click += (object sender, EventArgs evt) => { MainWindow window = MainWindow as MainWindow; window?.ExitApplication(false); }; __ContextMenu.Items.Add(__MenuItemExitApplication); Console.WriteLine(@"DoStartup EXIT"); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BehaviorTreeViewDock)); this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.saveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeOthersMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.copyNameMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openFolderMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.floatMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dockMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenu.SuspendLayout(); this.SuspendLayout(); // // contextMenu // this.contextMenu.BackColor = System.Drawing.Color.DarkGray; this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.saveMenuItem, this.closeMenuItem, this.closeOthersMenuItem, this.toolStripSeparator1, this.copyNameMenuItem, this.openFolderMenuItem, this.toolStripSeparator2, this.floatMenuItem, this.dockMenuItem}); this.contextMenu.Name = "contextMenu"; resources.ApplyResources(this.contextMenu, "contextMenu"); this.contextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenu_Opening); // // saveMenuItem // this.saveMenuItem.BackColor = System.Drawing.Color.DarkGray; this.saveMenuItem.ForeColor = System.Drawing.SystemColors.WindowText; this.saveMenuItem.Name = "saveMenuItem"; resources.ApplyResources(this.saveMenuItem, "saveMenuItem"); this.saveMenuItem.Click += new System.EventHandler(this.saveMenuItem_Click); // // closeMenuItem // this.closeMenuItem.BackColor = System.Drawing.Color.DarkGray; this.closeMenuItem.ForeColor = System.Drawing.SystemColors.WindowText; this.closeMenuItem.Name = "closeMenuItem"; resources.ApplyResources(this.closeMenuItem, "closeMenuItem"); this.closeMenuItem.Click += new System.EventHandler(this.closeMenuItem_Click); // // closeOthersMenuItem // this.closeOthersMenuItem.BackColor = System.Drawing.Color.DarkGray; this.closeOthersMenuItem.ForeColor = System.Drawing.SystemColors.WindowText; this.closeOthersMenuItem.Name = "closeOthersMenuItem"; resources.ApplyResources(this.closeOthersMenuItem, "closeOthersMenuItem"); this.closeOthersMenuItem.Click += new System.EventHandler(this.closeOthersMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.BackColor = System.Drawing.Color.DarkGray; this.toolStripSeparator1.ForeColor = System.Drawing.SystemColors.WindowText; this.toolStripSeparator1.Name = "toolStripSeparator1"; resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1"); // // copyNameMenuItem // this.copyNameMenuItem.BackColor = System.Drawing.Color.DarkGray; this.copyNameMenuItem.ForeColor = System.Drawing.SystemColors.WindowText; this.copyNameMenuItem.Name = "copyNameMenuItem"; resources.ApplyResources(this.copyNameMenuItem, "copyNameMenuItem"); this.copyNameMenuItem.Click += new System.EventHandler(this.copyNameMenuItem_Click); // // openFolderMenuItem // this.openFolderMenuItem.BackColor = System.Drawing.Color.DarkGray; this.openFolderMenuItem.ForeColor = System.Drawing.SystemColors.WindowText; this.openFolderMenuItem.Name = "openFolderMenuItem"; resources.ApplyResources(this.openFolderMenuItem, "openFolderMenuItem"); this.openFolderMenuItem.Click += new System.EventHandler(this.openFolderMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.BackColor = System.Drawing.Color.DarkGray; this.toolStripSeparator2.ForeColor = System.Drawing.SystemColors.WindowText; this.toolStripSeparator2.Name = "toolStripSeparator2"; resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2"); // // floatMenuItem // this.floatMenuItem.BackColor = System.Drawing.Color.DarkGray; this.floatMenuItem.ForeColor = System.Drawing.SystemColors.WindowText; this.floatMenuItem.Name = "floatMenuItem"; resources.ApplyResources(this.floatMenuItem, "floatMenuItem"); this.floatMenuItem.Click += new System.EventHandler(this.floatMenuItem_Click); // // dockMenuItem // this.dockMenuItem.BackColor = System.Drawing.Color.DarkGray; this.dockMenuItem.ForeColor = System.Drawing.SystemColors.WindowText; this.dockMenuItem.Name = "dockMenuItem"; resources.ApplyResources(this.dockMenuItem, "dockMenuItem"); this.dockMenuItem.Click += new System.EventHandler(this.dockMenuItem_Click); // // BehaviorTreeViewDock // this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56))))); resources.ApplyResources(this, "$this"); this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)((WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.Document))); this.Name = "BehaviorTreeViewDock"; this.TabText = "Behavior Tree"; this.contextMenu.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormFFmoduleConfig)); this.button1 = new System.Windows.Forms.Button(); this.groupBox_Mouse = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.textBox_keyenter = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.checkBox_autosize = new System.Windows.Forms.CheckBox(); this.groupBox_keybord = new System.Windows.Forms.GroupBox(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader_Command = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader_KeyBind = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.deleteKeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addAnotherKeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.groupBox_font = new System.Windows.Forms.GroupBox(); this.numericUpDown_FontSize = new System.Windows.Forms.NumericUpDown(); this.label5 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); this.textBox_fontpath = new System.Windows.Forms.TextBox(); this.groupBox_speed = new System.Windows.Forms.GroupBox(); this.label7 = new System.Windows.Forms.Label(); this.textBox_timeout = new System.Windows.Forms.TextBox(); this.groupBox_Screen = new System.Windows.Forms.GroupBox(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.groupBox_Mouse.SuspendLayout(); this.groupBox_keybord.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.groupBox_font.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_FontSize)).BeginInit(); this.groupBox_speed.SuspendLayout(); this.groupBox_Screen.SuspendLayout(); this.SuspendLayout(); // // button1 // this.button1.DialogResult = System.Windows.Forms.DialogResult.OK; resources.ApplyResources(this.button1, "button1"); this.button1.Name = "button1"; this.button1.UseVisualStyleBackColor = true; // // groupBox_Mouse // this.groupBox_Mouse.Controls.Add(this.label2); this.groupBox_Mouse.Controls.Add(this.label1); resources.ApplyResources(this.groupBox_Mouse, "groupBox_Mouse"); this.groupBox_Mouse.Name = "groupBox_Mouse"; this.groupBox_Mouse.TabStop = false; // // label2 // resources.ApplyResources(this.label2, "label2"); this.label2.Name = "label2"; // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.Name = "label1"; // // label3 // resources.ApplyResources(this.label3, "label3"); this.label3.Name = "label3"; this.toolTip1.SetToolTip(this.label3, resources.GetString("label3.ToolTip")); // // label4 // resources.ApplyResources(this.label4, "label4"); this.label4.Name = "label4"; this.toolTip1.SetToolTip(this.label4, resources.GetString("label4.ToolTip")); // // textBox_keyenter // this.textBox_keyenter.AcceptsReturn = true; this.textBox_keyenter.AcceptsTab = true; resources.ApplyResources(this.textBox_keyenter, "textBox_keyenter"); this.textBox_keyenter.Name = "textBox_keyenter"; this.toolTip1.SetToolTip(this.textBox_keyenter, resources.GetString("textBox_keyenter.ToolTip")); this.textBox_keyenter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox_keyenter_KeyDown); // // label6 // resources.ApplyResources(this.label6, "label6"); this.label6.Name = "label6"; // // checkBox_autosize // resources.ApplyResources(this.checkBox_autosize, "checkBox_autosize"); this.checkBox_autosize.Name = "checkBox_autosize"; this.checkBox_autosize.UseVisualStyleBackColor = true; this.checkBox_autosize.CheckedChanged += new System.EventHandler(this.checkBox_autosize_CheckedChanged); // // groupBox_keybord // this.groupBox_keybord.Controls.Add(this.label3); this.groupBox_keybord.Controls.Add(this.listView1); this.groupBox_keybord.Controls.Add(this.textBox_keyenter); resources.ApplyResources(this.groupBox_keybord, "groupBox_keybord"); this.groupBox_keybord.Name = "groupBox_keybord"; this.groupBox_keybord.TabStop = false; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader_Command, this.columnHeader_KeyBind}); this.listView1.ContextMenuStrip = this.contextMenuStrip1; this.listView1.FullRowSelect = true; this.listView1.GridLines = true; this.listView1.HideSelection = false; resources.ApplyResources(this.listView1, "listView1"); this.listView1.Name = "listView1"; this.listView1.ShowItemToolTips = true; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); this.listView1.Click += new System.EventHandler(this.listView1_Click); // // columnHeader_Command // resources.ApplyResources(this.columnHeader_Command, "columnHeader_Command"); // // columnHeader_KeyBind // resources.ApplyResources(this.columnHeader_KeyBind, "columnHeader_KeyBind"); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.deleteKeyToolStripMenuItem, this.addAnotherKeyToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1"); // // deleteKeyToolStripMenuItem // this.deleteKeyToolStripMenuItem.Name = "deleteKeyToolStripMenuItem"; resources.ApplyResources(this.deleteKeyToolStripMenuItem, "deleteKeyToolStripMenuItem"); this.deleteKeyToolStripMenuItem.Click += new System.EventHandler(this.deleteKeyToolStripMenuItem_Click); // // addAnotherKeyToolStripMenuItem // this.addAnotherKeyToolStripMenuItem.Name = "addAnotherKeyToolStripMenuItem"; resources.ApplyResources(this.addAnotherKeyToolStripMenuItem, "addAnotherKeyToolStripMenuItem"); this.addAnotherKeyToolStripMenuItem.Click += new System.EventHandler(this.addAnotherKeyToolStripMenuItem_Click); // // groupBox_font // this.groupBox_font.Controls.Add(this.numericUpDown_FontSize); this.groupBox_font.Controls.Add(this.label5); this.groupBox_font.Controls.Add(this.button2); this.groupBox_font.Controls.Add(this.label4); this.groupBox_font.Controls.Add(this.textBox_fontpath); resources.ApplyResources(this.groupBox_font, "groupBox_font"); this.groupBox_font.Name = "groupBox_font"; this.groupBox_font.TabStop = false; // // numericUpDown_FontSize // resources.ApplyResources(this.numericUpDown_FontSize, "numericUpDown_FontSize"); this.numericUpDown_FontSize.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.numericUpDown_FontSize.Name = "numericUpDown_FontSize"; this.numericUpDown_FontSize.Value = new decimal(new int[] { 12, 0, 0, 0}); this.numericUpDown_FontSize.ValueChanged += new System.EventHandler(this.numericUpDown_FontSize_ValueChanged); // // label5 // resources.ApplyResources(this.label5, "label5"); this.label5.Name = "label5"; // // button2 // resources.ApplyResources(this.button2, "button2"); this.button2.Name = "button2"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // textBox_fontpath // resources.ApplyResources(this.textBox_fontpath, "textBox_fontpath"); this.textBox_fontpath.Name = "textBox_fontpath"; this.textBox_fontpath.TextChanged += new System.EventHandler(this.textBox_fontpath_TextChanged); // // groupBox_speed // this.groupBox_speed.Controls.Add(this.label7); this.groupBox_speed.Controls.Add(this.textBox_timeout); this.groupBox_speed.Controls.Add(this.label6); resources.ApplyResources(this.groupBox_speed, "groupBox_speed"); this.groupBox_speed.Name = "groupBox_speed"; this.groupBox_speed.TabStop = false; // // label7 // resources.ApplyResources(this.label7, "label7"); this.label7.Name = "label7"; // // textBox_timeout // resources.ApplyResources(this.textBox_timeout, "textBox_timeout"); this.textBox_timeout.Name = "textBox_timeout"; this.textBox_timeout.TextChanged += new System.EventHandler(this.textBox_timeout_TextChanged); // // groupBox_Screen // this.groupBox_Screen.Controls.Add(this.checkBox_autosize); resources.ApplyResources(this.groupBox_Screen, "groupBox_Screen"); this.groupBox_Screen.Name = "groupBox_Screen"; this.groupBox_Screen.TabStop = false; // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // FormFFmoduleConfig // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.groupBox_Screen); this.Controls.Add(this.groupBox_speed); this.Controls.Add(this.groupBox_font); this.Controls.Add(this.groupBox_keybord); this.Controls.Add(this.groupBox_Mouse); this.Controls.Add(this.button1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "FormFFmoduleConfig"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormFFmoduleConfig_FormClosed); this.Load += new System.EventHandler(this.FormFFmoduleConfig_Load); this.groupBox_Mouse.ResumeLayout(false); this.groupBox_Mouse.PerformLayout(); this.groupBox_keybord.ResumeLayout(false); this.groupBox_keybord.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); this.groupBox_font.ResumeLayout(false); this.groupBox_font.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_FontSize)).EndInit(); this.groupBox_speed.ResumeLayout(false); this.groupBox_speed.PerformLayout(); this.groupBox_Screen.ResumeLayout(false); this.groupBox_Screen.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panelFind = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.textFind = new ComponentLib.Controls.TextEdit(); this.buttonSpecAny2 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.gridEntries = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.contextMenuEntries = new System.Windows.Forms.ContextMenuStrip(this.components); this.separatorTop = new System.Windows.Forms.ToolStripSeparator(); this.menuAdd = new System.Windows.Forms.ToolStripMenuItem(); this.menuDelete = new System.Windows.Forms.ToolStripMenuItem(); this.menuMove = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.menuSynonyms = new System.Windows.Forms.ToolStripMenuItem(); this.menuDefineSynonyms = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.menuAntonyms = new System.Windows.Forms.ToolStripMenuItem(); this.menuDefineAntonyms = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.menuColumns = new System.Windows.Forms.ToolStripMenuItem(); this.bindingEntry = new System.Windows.Forms.BindingSource(this.components); this.backgroundSpellChecker = new System.ComponentModel.BackgroundWorker(); ((System.ComponentModel.ISupportInitialize)(this.panelFind)).BeginInit(); this.panelFind.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridEntries)).BeginInit(); this.contextMenuEntries.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bindingEntry)).BeginInit(); this.SuspendLayout(); // // panelFind // this.panelFind.Controls.Add(this.textFind); this.panelFind.Controls.Add(this.kryptonLabel1); this.panelFind.Dock = System.Windows.Forms.DockStyle.Top; this.panelFind.Location = new System.Drawing.Point(0, 0); this.panelFind.Name = "panelFind"; this.panelFind.Size = new System.Drawing.Size(805, 30); this.panelFind.TabIndex = 3; // // textFind // this.textFind.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textFind.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Toolkit.ButtonSpecAny[] { this.buttonSpecAny2 }); this.textFind.EmptyText = "Строка поиска"; this.textFind.Location = new System.Drawing.Point(51, 5); this.textFind.Name = "textFind"; this.textFind.Size = new System.Drawing.Size(751, 20); this.textFind.StateCommon.Content.Color1 = System.Drawing.SystemColors.ControlDark; this.textFind.TabIndex = 0; this.textFind.Text = "Строка поиска"; this.textFind.ValueText = null; this.textFind.TextChanged += new System.EventHandler(this.textFind_TextChanged); // // buttonSpecAny2 // this.buttonSpecAny2.Edge = ComponentFactory.Krypton.Toolkit.PaletteRelativeEdgeAlign.Near; this.buttonSpecAny2.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.Close; this.buttonSpecAny2.UniqueName = "087F14188A5C4FAFC8AB230E62545E16"; this.buttonSpecAny2.Click += new System.EventHandler(this.buttonSpecAny2_Click); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(3, 6); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(46, 22); this.kryptonLabel1.TabIndex = 0; this.kryptonLabel1.Values.Text = "Поиск"; // // gridEntries // this.gridEntries.AutoGenerateColumns = false; this.gridEntries.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2 }); this.gridEntries.ContextMenuStrip = this.contextMenuEntries; this.gridEntries.DataSource = this.bindingEntry; this.gridEntries.Dock = System.Windows.Forms.DockStyle.Fill; this.gridEntries.HideOuterBorders = true; this.gridEntries.Location = new System.Drawing.Point(0, 30); this.gridEntries.Name = "gridEntries"; this.gridEntries.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.gridEntries.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.gridEntries.Size = new System.Drawing.Size(805, 339); this.gridEntries.TabIndex = 4; this.gridEntries.VirtualMode = true; this.gridEntries.CancelRowEdit += new System.Windows.Forms.QuestionEventHandler(this.GridEntriesCancelRowEdit); this.gridEntries.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.GridEntriesCellMouseDown); this.gridEntries.CellMouseMove += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.GridEntriesCellMouseMove); this.gridEntries.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.GridEntriesCellMouseUp); this.gridEntries.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.gridEntries_CellPainting); this.gridEntries.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.GridEntriesCellValueNeeded); this.gridEntries.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.GridEntriesCellValuePushed); this.gridEntries.RowValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridEntriesRowValidated); this.gridEntries.SelectionChanged += new System.EventHandler(this.GridEntriesSelectionChanged); this.gridEntries.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.GridEntriesQueryContinueDrag); // // Column1 // this.Column1.HeaderText = "Column1"; this.Column1.Name = "Column1"; // // Column2 // this.Column2.HeaderText = "Column2"; this.Column2.Name = "Column2"; // // contextMenuEntries // this.contextMenuEntries.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.contextMenuEntries.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.separatorTop, this.menuAdd, this.menuDelete, this.menuMove, this.toolStripSeparator1, this.menuSynonyms, this.menuAntonyms, this.toolStripSeparator4, this.menuColumns }); this.contextMenuEntries.Name = "contextMenuEntries"; this.contextMenuEntries.Size = new System.Drawing.Size(210, 154); this.contextMenuEntries.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuEntriesOpening); // // separatorTop // this.separatorTop.Name = "separatorTop"; this.separatorTop.Size = new System.Drawing.Size(206, 6); // // menuAdd // this.menuAdd.Image = global::VocabularyTest.Addons.VocabularyWindow.Images.textfield_add; this.menuAdd.Name = "menuAdd"; this.menuAdd.ShortcutKeys = System.Windows.Forms.Keys.Insert; this.menuAdd.Size = new System.Drawing.Size(209, 22); this.menuAdd.Text = "Добавить строку..."; this.menuAdd.Click += new System.EventHandler(this.menuAdd_Click); // // menuDelete // this.menuDelete.Image = global::VocabularyTest.Addons.VocabularyWindow.Images.textfield_delete; this.menuDelete.Name = "menuDelete"; this.menuDelete.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete))); this.menuDelete.Size = new System.Drawing.Size(209, 22); this.menuDelete.Text = "Удалить строку"; this.menuDelete.Click += new System.EventHandler(this.menuDelete_Click); // // menuMove // this.menuMove.Name = "menuMove"; this.menuMove.Size = new System.Drawing.Size(209, 22); this.menuMove.Text = "Переместить"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(206, 6); // // menuSynonyms // this.menuSynonyms.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuDefineSynonyms, this.toolStripSeparator3 }); this.menuSynonyms.Name = "menuSynonyms"; this.menuSynonyms.Size = new System.Drawing.Size(209, 22); this.menuSynonyms.Text = "Синонимы"; // // menuDefineSynonyms // this.menuDefineSynonyms.Name = "menuDefineSynonyms"; this.menuDefineSynonyms.Size = new System.Drawing.Size(140, 22); this.menuDefineSynonyms.Text = "Определить"; this.menuDefineSynonyms.Click += new System.EventHandler(this.menuDefineSynonyms_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(137, 6); // // menuAntonyms // this.menuAntonyms.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuDefineAntonyms, this.toolStripSeparator2 }); this.menuAntonyms.Name = "menuAntonyms"; this.menuAntonyms.Size = new System.Drawing.Size(209, 22); this.menuAntonyms.Text = "Антонимы"; // // menuDefineAntonyms // this.menuDefineAntonyms.Name = "menuDefineAntonyms"; this.menuDefineAntonyms.Size = new System.Drawing.Size(140, 22); this.menuDefineAntonyms.Text = "Определить"; this.menuDefineAntonyms.Click += new System.EventHandler(this.menuDefineAntonyms_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(137, 6); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(206, 6); // // menuColumns // this.menuColumns.Image = global::VocabularyTest.Addons.VocabularyWindow.Images.columns_view; this.menuColumns.Name = "menuColumns"; this.menuColumns.Size = new System.Drawing.Size(209, 22); this.menuColumns.Text = "Столбцы словаря..."; this.menuColumns.Click += new System.EventHandler(this.menuColumns_Click); // // backgroundSpellChecker // this.backgroundSpellChecker.WorkerSupportsCancellation = true; this.backgroundSpellChecker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundSpellChecker_DoWork); this.backgroundSpellChecker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundSpellChecker_RunWorkerCompleted); // // VocabularyWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(805, 369); this.Controls.Add(this.gridEntries); this.Controls.Add(this.panelFind); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Name = "VocabularyWindow"; this.Text = "Словарь"; ((System.ComponentModel.ISupportInitialize)(this.panelFind)).EndInit(); this.panelFind.ResumeLayout(false); this.panelFind.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridEntries)).EndInit(); this.contextMenuEntries.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bindingEntry)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panel2 = new System.Windows.Forms.Panel(); this.treeView1 = new System.Windows.Forms.TreeView(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.历史入库价ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.radioButtonCurStock = new System.Windows.Forms.RadioButton(); this.radioButtonHisStock = new System.Windows.Forms.RadioButton(); this.comboBoxPeriod = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.buttonCX = new System.Windows.Forms.Button(); this.buttonPrint = new System.Windows.Forms.Button(); this.label10 = new System.Windows.Forms.Label(); this.textBoxFindGoods = new System.Windows.Forms.TextBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox3 = new System.Windows.Forms.CheckBox(); this.buttonPrint1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.comboBoxWareHouseID = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.Controls.Add(this.treeView1); this.panel2.Controls.Add(this.dataGridView1); this.panel2.Location = new System.Drawing.Point(27, 135); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(693, 139); this.panel2.TabIndex = 6; // // treeView1 // this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.treeView1.Location = new System.Drawing.Point(13, 3); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(153, 133); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TreeView1AfterSelect); // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1 }); this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1; this.dataGridView1.Location = new System.Drawing.Point(172, 3); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(509, 133); this.dataGridView1.TabIndex = 1; // // Column1 // this.Column1.HeaderText = "Column1"; this.Column1.Name = "Column1"; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.历史入库价ToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(137, 26); // // 历史入库价ToolStripMenuItem // this.历史入库价ToolStripMenuItem.Name = "历史入库价ToolStripMenuItem"; this.历史入库价ToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.历史入库价ToolStripMenuItem.Text = "历史入库价"; this.历史入库价ToolStripMenuItem.Click += new System.EventHandler(this.历史入库价ToolStripMenuItemClick); // // radioButtonCurStock // this.radioButtonCurStock.Checked = true; this.radioButtonCurStock.Location = new System.Drawing.Point(27, 40); this.radioButtonCurStock.Name = "radioButtonCurStock"; this.radioButtonCurStock.Size = new System.Drawing.Size(82, 24); this.radioButtonCurStock.TabIndex = 0; this.radioButtonCurStock.TabStop = true; this.radioButtonCurStock.Text = "当前库存"; this.radioButtonCurStock.UseVisualStyleBackColor = true; this.radioButtonCurStock.Click += new System.EventHandler(this.RadioButtonCurStockClick); // // radioButtonHisStock // this.radioButtonHisStock.Location = new System.Drawing.Point(137, 40); this.radioButtonHisStock.Name = "radioButtonHisStock"; this.radioButtonHisStock.Size = new System.Drawing.Size(91, 24); this.radioButtonHisStock.TabIndex = 1; this.radioButtonHisStock.Text = "历史库存"; this.radioButtonHisStock.UseVisualStyleBackColor = true; this.radioButtonHisStock.Click += new System.EventHandler(this.RadioButtonHisStockClick); // // comboBoxPeriod // this.comboBoxPeriod.FormattingEnabled = true; this.comboBoxPeriod.Location = new System.Drawing.Point(402, 42); this.comboBoxPeriod.Name = "comboBoxPeriod"; this.comboBoxPeriod.Size = new System.Drawing.Size(96, 20); this.comboBoxPeriod.TabIndex = 2; // // label1 // this.label1.Location = new System.Drawing.Point(284, 41); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(112, 23); this.label1.TabIndex = 0; this.label1.Text = "请选择库存周期:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // buttonCX // this.buttonCX.Enabled = false; this.buttonCX.Location = new System.Drawing.Point(520, 41); this.buttonCX.Name = "buttonCX"; this.buttonCX.Size = new System.Drawing.Size(115, 23); this.buttonCX.TabIndex = 3; this.buttonCX.Text = "查询历史库存"; this.buttonCX.UseVisualStyleBackColor = true; this.buttonCX.Click += new System.EventHandler(this.ButtonCXClick); // // buttonPrint // this.buttonPrint.Location = new System.Drawing.Point(520, 76); this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.Size = new System.Drawing.Size(115, 23); this.buttonPrint.TabIndex = 5; this.buttonPrint.Text = "全库存打印"; this.buttonPrint.UseVisualStyleBackColor = true; this.buttonPrint.Click += new System.EventHandler(this.ButtonPrintClick); // // label10 // this.label10.Location = new System.Drawing.Point(27, 76); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(67, 23); this.label10.TabIndex = 0; this.label10.Text = "限定货品:"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // textBoxFindGoods // this.textBoxFindGoods.Location = new System.Drawing.Point(100, 76); this.textBoxFindGoods.Name = "textBoxFindGoods"; this.textBoxFindGoods.Size = new System.Drawing.Size(398, 21); this.textBoxFindGoods.TabIndex = 4; this.textBoxFindGoods.TextChanged += new System.EventHandler(this.TextBoxFindGoodsTextChanged); // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(27, 103); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(104, 24); this.checkBox1.TabIndex = 7; this.checkBox1.Text = "显示正库存"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged); // // checkBox2 // this.checkBox2.Location = new System.Drawing.Point(124, 103); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(104, 24); this.checkBox2.TabIndex = 7; this.checkBox2.Text = "显示零库存"; this.checkBox2.UseVisualStyleBackColor = true; this.checkBox2.CheckedChanged += new System.EventHandler(this.CheckBox2CheckedChanged); // // checkBox3 // this.checkBox3.Location = new System.Drawing.Point(216, 103); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(104, 24); this.checkBox3.TabIndex = 7; this.checkBox3.Text = "显示负库存"; this.checkBox3.UseVisualStyleBackColor = true; this.checkBox3.CheckedChanged += new System.EventHandler(this.CheckBox3CheckedChanged); // // buttonPrint1 // this.buttonPrint1.Location = new System.Drawing.Point(520, 103); this.buttonPrint1.Name = "buttonPrint1"; this.buttonPrint1.Size = new System.Drawing.Size(115, 23); this.buttonPrint1.TabIndex = 5; this.buttonPrint1.Text = "打印非零库存"; this.buttonPrint1.UseVisualStyleBackColor = true; this.buttonPrint1.Click += new System.EventHandler(this.ButtonPrint1Click); // // button1 // this.button1.Location = new System.Drawing.Point(383, 103); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(115, 23); this.button1.TabIndex = 5; this.button1.Text = "打印选中库存"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.Button1Click); // // comboBoxWareHouseID // this.comboBoxWareHouseID.FormattingEnabled = true; this.comboBoxWareHouseID.Location = new System.Drawing.Point(124, 12); this.comboBoxWareHouseID.Name = "comboBoxWareHouseID"; this.comboBoxWareHouseID.Size = new System.Drawing.Size(183, 20); this.comboBoxWareHouseID.TabIndex = 8; this.comboBoxWareHouseID.SelectedIndexChanged += new System.EventHandler(this.ComboBoxWareHouseIDSelectedIndexChanged); // // label2 // this.label2.Location = new System.Drawing.Point(27, 11); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(104, 23); this.label2.TabIndex = 0; this.label2.Text = "请指定库房:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // FormStock1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(732, 286); this.Controls.Add(this.comboBoxWareHouseID); this.Controls.Add(this.checkBox3); this.Controls.Add(this.checkBox2); this.Controls.Add(this.checkBox1); this.Controls.Add(this.label10); this.Controls.Add(this.textBoxFindGoods); this.Controls.Add(this.button1); this.Controls.Add(this.buttonPrint1); this.Controls.Add(this.buttonPrint); this.Controls.Add(this.buttonCX); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.comboBoxPeriod); this.Controls.Add(this.radioButtonHisStock); this.Controls.Add(this.radioButtonCurStock); this.Controls.Add(this.panel2); this.Name = "FormStock1"; this.Text = "库存信息"; this.Load += new System.EventHandler(this.FormStock1Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortProxyGUI)); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5}); this.listView1.ContextMenuStrip = this.contextMenuStrip1; resources.ApplyResources(this.listView1, "listView1"); this.listView1.FullRowSelect = true; this.listView1.HideSelection = false; this.listView1.Name = "listView1"; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseUp); // // columnHeader1 // resources.ApplyResources(this.columnHeader1, "columnHeader1"); // // columnHeader2 // resources.ApplyResources(this.columnHeader2, "columnHeader2"); // // columnHeader3 // resources.ApplyResources(this.columnHeader3, "columnHeader3"); // // columnHeader4 // resources.ApplyResources(this.columnHeader4, "columnHeader4"); // // columnHeader5 // resources.ApplyResources(this.columnHeader5, "columnHeader5"); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1, this.toolStripMenuItem2, this.toolStripSeparator1, this.toolStripMenuItem3, this.toolStripSeparator2, this.toolStripMenuItem4}); this.contextMenuStrip1.Name = "contextMenuStrip1"; resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1"); this.contextMenuStrip1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.contextMenuStrip1_MouseClick); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1"); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; resources.ApplyResources(this.toolStripMenuItem2, "toolStripMenuItem2"); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1"); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; resources.ApplyResources(this.toolStripMenuItem3, "toolStripMenuItem3"); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2"); // // toolStripMenuItem4 // this.toolStripMenuItem4.Name = "toolStripMenuItem4"; resources.ApplyResources(this.toolStripMenuItem4, "toolStripMenuItem4"); // // PortProxyGUI // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.listView1); this.Name = "PortProxyGUI"; this.Load += new System.EventHandler(this.PortProxyGUI_Load); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormPurchasePlanNomenclature)); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.findButton = new System.Windows.Forms.Button(); this.searchTextBox = new System.Windows.Forms.TextBox(); this.buttonSave = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader14 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); this.columnHeader8 = new System.Windows.Forms.ColumnHeader(); this.columnHeader9 = new System.Windows.Forms.ColumnHeader(); this.columnHeader10 = new System.Windows.Forms.ColumnHeader(); this.columnHeader11 = new System.Windows.Forms.ColumnHeader(); this.columnHeader12 = new System.Windows.Forms.ColumnHeader(); this.columnHeader13 = new System.Windows.Forms.ColumnHeader(); this.columnHeader15 = new System.Windows.Forms.ColumnHeader(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.выбратьНоменклатуруToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.показатьВесьПереченьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.filterTextBox = new System.Windows.Forms.ToolStripTextBox(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.findButton); this.panel1.Controls.Add(this.searchTextBox); this.panel1.Controls.Add(this.buttonSave); this.panel1.Controls.Add(this.buttonCancel); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 355); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(519, 72); this.panel1.TabIndex = 4; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(12, 5); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(495, 31); this.label1.TabIndex = 20; this.label1.Text = "..."; // // findButton // this.findButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.findButton.Image = ((System.Drawing.Image)(resources.GetObject("findButton.Image"))); this.findButton.Location = new System.Drawing.Point(258, 37); this.findButton.Name = "findButton"; this.findButton.Size = new System.Drawing.Size(25, 23); this.findButton.TabIndex = 18; this.toolTip1.SetToolTip(this.findButton, "Поиск"); this.findButton.UseVisualStyleBackColor = true; this.findButton.Click += new System.EventHandler(this.FindButtonClick); // // searchTextBox // this.searchTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.searchTextBox.Location = new System.Drawing.Point(12, 39); this.searchTextBox.Name = "searchTextBox"; this.searchTextBox.Size = new System.Drawing.Size(245, 20); this.searchTextBox.TabIndex = 2; this.toolTip1.SetToolTip(this.searchTextBox, "Введите значение для поиска"); this.searchTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBox1KeyDown); // // buttonSave // this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonSave.Image = ((System.Drawing.Image)(resources.GetObject("buttonSave.Image"))); this.buttonSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.buttonSave.Location = new System.Drawing.Point(351, 37); this.buttonSave.Name = "buttonSave"; this.buttonSave.Size = new System.Drawing.Size(75, 23); this.buttonSave.TabIndex = 1; this.buttonSave.Text = "Выбрать"; this.buttonSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.buttonSave.UseVisualStyleBackColor = true; this.buttonSave.Click += new System.EventHandler(this.ButtonSaveClick); // // buttonCancel // this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.Image = ((System.Drawing.Image)(resources.GetObject("buttonCancel.Image"))); this.buttonCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.buttonCancel.Location = new System.Drawing.Point(432, 37); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.TabIndex = 0; this.buttonCancel.Text = "Отмена"; this.buttonCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // // listView1 // this.listView1.Activation = System.Windows.Forms.ItemActivation.OneClick; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader14, this.columnHeader4, this.columnHeader5, this.columnHeader6, this.columnHeader7, this.columnHeader8, this.columnHeader9, this.columnHeader10, this.columnHeader11, this.columnHeader12, this.columnHeader13, this.columnHeader15 }); this.listView1.ContextMenuStrip = this.contextMenuStrip1; this.listView1.Cursor = System.Windows.Forms.Cursors.Default; this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; this.listView1.FullRowSelect = true; this.listView1.LargeImageList = this.imageList1; this.listView1.Location = new System.Drawing.Point(0, 25); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(519, 330); this.listView1.SmallImageList = this.imageList1; this.listView1.StateImageList = this.imageList1; this.listView1.TabIndex = 7; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.SelectedIndexChanged += new System.EventHandler(this.ListView1SelectedIndexChanged); // // columnHeader1 // this.columnHeader1.Text = "..."; this.columnHeader1.Width = 40; // // columnHeader2 // this.columnHeader2.Text = "Наименование"; this.columnHeader2.Width = 250; // // columnHeader14 // this.columnHeader14.Text = "Контрагент"; this.columnHeader14.Width = 250; // // columnHeader3 // this.columnHeader3.Text = "Цена"; this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.columnHeader3.Width = 100; // // columnHeader4 // this.columnHeader4.Text = "Производитель"; this.columnHeader4.Width = 250; // // columnHeader5 // this.columnHeader5.Text = "Остаток"; this.columnHeader5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // columnHeader6 // this.columnHeader6.Text = "Срок годности"; // // columnHeader7 // this.columnHeader7.Text = "Скидка №1"; this.columnHeader7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // columnHeader8 // this.columnHeader8.Text = "Скидка №2"; this.columnHeader8.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // columnHeader9 // this.columnHeader9.Text = "Скидка №3"; this.columnHeader9.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // columnHeader10 // this.columnHeader10.Text = "Скидка №4"; this.columnHeader10.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // columnHeader11 // this.columnHeader11.Text = "Код товара"; // // columnHeader12 // this.columnHeader12.Text = "Серия"; // // columnHeader13 // this.columnHeader13.Text = "Артикул"; // // columnHeader15 // this.columnHeader15.Text = "Прайс-лист"; this.columnHeader15.Width = 100; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.выбратьНоменклатуруToolStripMenuItem, this.показатьВесьПереченьToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(207, 48); // // выбратьНоменклатуруToolStripMenuItem // this.выбратьНоменклатуруToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("выбратьНоменклатуруToolStripMenuItem.Image"))); this.выбратьНоменклатуруToolStripMenuItem.Name = "выбратьНоменклатуруToolStripMenuItem"; this.выбратьНоменклатуруToolStripMenuItem.Size = new System.Drawing.Size(206, 22); this.выбратьНоменклатуруToolStripMenuItem.Text = "Выбрать номенклатуру"; this.выбратьНоменклатуруToolStripMenuItem.Click += new System.EventHandler(this.ВыбратьНоменклатуруToolStripMenuItemClick); // // показатьВесьПереченьToolStripMenuItem // this.показатьВесьПереченьToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("показатьВесьПереченьToolStripMenuItem.Image"))); this.показатьВесьПереченьToolStripMenuItem.Name = "показатьВесьПереченьToolStripMenuItem"; this.показатьВесьПереченьToolStripMenuItem.Size = new System.Drawing.Size(206, 22); this.показатьВесьПереченьToolStripMenuItem.Text = "Показать весь перечень"; this.показатьВесьПереченьToolStripMenuItem.Click += new System.EventHandler(this.ПоказатьВесьПереченьToolStripMenuItemClick); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "page.png"); // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.filterTextBox, this.toolStripButton1 }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(519, 25); this.toolStrip1.TabIndex = 8; this.toolStrip1.Text = "toolStrip1"; // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(126, 22); this.toolStripLabel1.Text = "Фильтр по значению:"; // // filterTextBox // this.filterTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.filterTextBox.Name = "filterTextBox"; this.filterTextBox.Size = new System.Drawing.Size(200, 25); this.filterTextBox.ToolTipText = "Введите значение для фильтра"; this.filterTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FilterTextBoxKeyDown); // // toolStripButton1 // this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(90, 22); this.toolStripButton1.Text = "Применить"; this.toolStripButton1.Click += new System.EventHandler(this.ToolStripButton1Click); // // FormPurchasePlanNomenclature // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(519, 427); this.Controls.Add(this.listView1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.panel1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FormPurchasePlanNomenclature"; this.Text = "Номенклатура из прайс-листов"; this.Activated += new System.EventHandler(this.FormPurchasePlanNomenclatureActivated); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormPurchasePlanNomenclatureFormClosed); this.Load += new System.EventHandler(this.FormPurchasePlanNomenclatureLoad); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.listView = new System.Windows.Forms.ListView(); this.chItem = new System.Windows.Forms.ColumnHeader(); this.chCurrency = new System.Windows.Forms.ColumnHeader(); this.columnHeaderIsIap = new System.Windows.Forms.ColumnHeader(); this.columnHeaderUnknown7 = new System.Windows.Forms.ColumnHeader(); this.columnHeaderYieldsCurrency = new System.Windows.Forms.ColumnHeader(); this.columnHeaderTags = new System.Windows.Forms.ColumnHeader(); this.btnBuy = new System.Windows.Forms.Button(); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.buyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // listView // this.listView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.chItem, this.chCurrency, this.columnHeaderIsIap, this.columnHeaderUnknown7, this.columnHeaderYieldsCurrency, this.columnHeaderTags }); this.listView.ContextMenuStrip = this.contextMenuStrip; this.listView.FullRowSelect = true; this.listView.GridLines = true; this.listView.Location = new System.Drawing.Point(20, 16); this.listView.Margin = new System.Windows.Forms.Padding(4); this.listView.Name = "listView"; this.listView.Size = new System.Drawing.Size(704, 364); this.listView.TabIndex = 81; this.listView.UseCompatibleStateImageBehavior = false; this.listView.View = System.Windows.Forms.View.Details; // // chItem // this.chItem.Text = "Item"; this.chItem.Width = 200; // // chCurrency // this.chCurrency.Text = "Currency"; // // columnHeaderIsIap // this.columnHeaderIsIap.Text = "IsIap"; // // columnHeaderUnknown7 // this.columnHeaderUnknown7.Text = "Unknown7"; // // columnHeaderYieldsCurrency // this.columnHeaderYieldsCurrency.Text = "YieldsCurrency"; // // columnHeaderTags // this.columnHeaderTags.Text = "Tags"; this.columnHeaderTags.Width = 100; // // btnBuy // this.btnBuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnBuy.ContextMenuStrip = this.contextMenuStrip; this.btnBuy.Location = new System.Drawing.Point(20, 389); this.btnBuy.Margin = new System.Windows.Forms.Padding(2); this.btnBuy.Name = "btnBuy"; this.btnBuy.Size = new System.Drawing.Size(81, 29); this.btnBuy.TabIndex = 82; this.btnBuy.Text = "Buy"; this.btnBuy.UseVisualStyleBackColor = true; this.btnBuy.Click += new System.EventHandler(this.btnBuy_Click); // // contextMenuStrip // this.contextMenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20); this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.buyToolStripMenuItem, this.refreshToolStripMenuItem }); this.contextMenuStrip.Name = "contextMenuStrip1"; this.contextMenuStrip.Size = new System.Drawing.Size(114, 48); // // buyToolStripMenuItem // this.buyToolStripMenuItem.Name = "buyToolStripMenuItem"; this.buyToolStripMenuItem.Size = new System.Drawing.Size(113, 22); this.buyToolStripMenuItem.Text = "Buy"; this.buyToolStripMenuItem.Click += new System.EventHandler(this.buyToolStripMenuItem_Click); // // refreshToolStripMenuItem // this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; this.refreshToolStripMenuItem.Size = new System.Drawing.Size(113, 22); this.refreshToolStripMenuItem.Text = "Refresh"; this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click); // // ShopPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.btnBuy); this.Controls.Add(this.listView); this.Name = "ShopPanel"; this.Size = new System.Drawing.Size(744, 435); this.contextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VocabularyForm)); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.создатьЗаписьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.изменитьЗаписьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.удалитьЗаписьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.выбратьЗаписьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox(); this.toolStripButton9 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton10 = new System.Windows.Forms.ToolStripButton(); this.panel1 = new System.Windows.Forms.Panel(); this.buttonReturn = new System.Windows.Forms.Button(); this.buttonClose = new System.Windows.Forms.Button(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.contextMenuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "folder.png"); this.imageList1.Images.SetKeyName(1, "page.png"); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.создатьЗаписьToolStripMenuItem, this.изменитьЗаписьToolStripMenuItem, this.удалитьЗаписьToolStripMenuItem, this.toolStripMenuItem2, this.выбратьЗаписьToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(172, 98); // // создатьЗаписьToolStripMenuItem // this.создатьЗаписьToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("создатьЗаписьToolStripMenuItem.Image"))); this.создатьЗаписьToolStripMenuItem.Name = "создатьЗаписьToolStripMenuItem"; this.создатьЗаписьToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.создатьЗаписьToolStripMenuItem.Text = "Создать запись."; this.создатьЗаписьToolStripMenuItem.Click += new System.EventHandler(this.СоздатьЗаписьToolStripMenuItemClick); // // изменитьЗаписьToolStripMenuItem // this.изменитьЗаписьToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("изменитьЗаписьToolStripMenuItem.Image"))); this.изменитьЗаписьToolStripMenuItem.Name = "изменитьЗаписьToolStripMenuItem"; this.изменитьЗаписьToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.изменитьЗаписьToolStripMenuItem.Text = "Изменить запись."; this.изменитьЗаписьToolStripMenuItem.Click += new System.EventHandler(this.ИзменитьЗаписьToolStripMenuItemClick); // // удалитьЗаписьToolStripMenuItem // this.удалитьЗаписьToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("удалитьЗаписьToolStripMenuItem.Image"))); this.удалитьЗаписьToolStripMenuItem.Name = "удалитьЗаписьToolStripMenuItem"; this.удалитьЗаписьToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.удалитьЗаписьToolStripMenuItem.Text = "Удалить запись."; this.удалитьЗаписьToolStripMenuItem.Click += new System.EventHandler(this.УдалитьЗаписьToolStripMenuItemClick); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new System.Drawing.Size(168, 6); this.toolStripMenuItem2.Visible = false; // // выбратьЗаписьToolStripMenuItem // this.выбратьЗаписьToolStripMenuItem.Name = "выбратьЗаписьToolStripMenuItem"; this.выбратьЗаписьToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.выбратьЗаписьToolStripMenuItem.Text = "Выбрать запись."; this.выбратьЗаписьToolStripMenuItem.Visible = false; this.выбратьЗаписьToolStripMenuItem.Click += new System.EventHandler(this.ВыбратьЗаписьToolStripMenuItemClick); // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButton1, this.toolStripButton2, this.toolStripButton3, this.toolStripSeparator5, this.toolStripComboBox1, this.toolStripButton9, this.toolStripSeparator6, this.toolStripButton10 }); this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(609, 25); this.toolStrip1.TabIndex = 19; this.toolStrip1.Text = "toolStrip1"; // // toolStripButton1 // this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(23, 22); this.toolStripButton1.Text = "Добавить"; this.toolStripButton1.Click += new System.EventHandler(this.ToolStripButton1Click); // // toolStripButton2 // this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new System.Drawing.Size(23, 22); this.toolStripButton2.Text = "Изменить"; this.toolStripButton2.Click += new System.EventHandler(this.ToolStripButton2Click); // // toolStripButton3 // this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new System.Drawing.Size(23, 22); this.toolStripButton3.Text = "Удалить"; this.toolStripButton3.Click += new System.EventHandler(this.ToolStripButton3Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // toolStripComboBox1 // this.toolStripComboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Standard; this.toolStripComboBox1.Name = "toolStripComboBox1"; this.toolStripComboBox1.Size = new System.Drawing.Size(200, 25); this.toolStripComboBox1.Text = "Введите данные для поиска"; this.toolStripComboBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ToolStripComboBox1KeyDown); // // toolStripButton9 // this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image"))); this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton9.Name = "toolStripButton9"; this.toolStripButton9.Size = new System.Drawing.Size(62, 22); this.toolStripButton9.Text = "Поиск"; this.toolStripButton9.Click += new System.EventHandler(this.ToolStripButton9Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); // // toolStripButton10 // this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image"))); this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton10.Name = "toolStripButton10"; this.toolStripButton10.Size = new System.Drawing.Size(81, 22); this.toolStripButton10.Text = "Обновить"; this.toolStripButton10.Click += new System.EventHandler(this.ToolStripButton10Click); // // panel1 // this.panel1.Controls.Add(this.buttonReturn); this.panel1.Controls.Add(this.buttonClose); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 366); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(609, 45); this.panel1.TabIndex = 20; // // buttonReturn // this.buttonReturn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonReturn.Image = ((System.Drawing.Image)(resources.GetObject("buttonReturn.Image"))); this.buttonReturn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.buttonReturn.Location = new System.Drawing.Point(441, 10); this.buttonReturn.Name = "buttonReturn"; this.buttonReturn.Size = new System.Drawing.Size(75, 23); this.buttonReturn.TabIndex = 1; this.buttonReturn.Text = "Выбрать"; this.buttonReturn.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.buttonReturn.UseVisualStyleBackColor = true; this.buttonReturn.Visible = false; this.buttonReturn.Click += new System.EventHandler(this.Button1Click); // // buttonClose // this.buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonClose.Location = new System.Drawing.Point(522, 10); this.buttonClose.Name = "buttonClose"; this.buttonClose.Size = new System.Drawing.Size(75, 23); this.buttonClose.TabIndex = 0; this.buttonClose.Text = "Закрыть"; this.buttonClose.UseVisualStyleBackColor = true; this.buttonClose.Click += new System.EventHandler(this.ButtonCloseClick); // // listView1 // this.listView1.Activation = System.Windows.Forms.ItemActivation.OneClick; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4 }); this.listView1.ContextMenuStrip = this.contextMenuStrip1; this.listView1.Cursor = System.Windows.Forms.Cursors.Default; this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; this.listView1.FullRowSelect = true; this.listView1.LargeImageList = this.imageList1; this.listView1.Location = new System.Drawing.Point(0, 25); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(609, 341); this.listView1.SmallImageList = this.imageList1; this.listView1.StateImageList = this.imageList1; this.listView1.TabIndex = 22; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.SelectedIndexChanged += new System.EventHandler(this.ListView1SelectedIndexChanged); // // columnHeader1 // this.columnHeader1.Text = "..."; this.columnHeader1.Width = 40; // // columnHeader2 // this.columnHeader2.Text = "English"; this.columnHeader2.Width = 250; // // columnHeader3 // this.columnHeader3.Text = "Русский"; this.columnHeader3.Width = 250; // // columnHeader4 // this.columnHeader4.Text = "№"; // // VocabularyForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(609, 411); this.Controls.Add(this.listView1); this.Controls.Add(this.panel1); this.Controls.Add(this.toolStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "VocabularyForm"; this.Text = "Словарь"; this.Load += new System.EventHandler(this.VocabularyFormLoad); this.contextMenuStrip1.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.textBox_ = new System.Windows.Forms.TextBox(); this.showToolTipbutton_ = new System.Windows.Forms.Button(); this.balloonCheckBox_ = new System.Windows.Forms.CheckBox(); this.toolTip_ = new System.Windows.Forms.ToolTip(this.components); this.notifyIcon_ = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenuStrip_ = new System.Windows.Forms.ContextMenuStrip(this.components); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip_.SuspendLayout(); this.SuspendLayout(); // // textBox_ // this.textBox_.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBox_.Location = new System.Drawing.Point(12, 12); this.textBox_.Multiline = true; this.textBox_.Name = "textBox_"; this.textBox_.Size = new System.Drawing.Size(406, 173); this.textBox_.TabIndex = 0; this.textBox_.Text = "Hello, world!"; // // showToolTipbutton_ // this.showToolTipbutton_.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.showToolTipbutton_.Location = new System.Drawing.Point(12, 224); this.showToolTipbutton_.Name = "showToolTipbutton_"; this.showToolTipbutton_.Size = new System.Drawing.Size(406, 33); this.showToolTipbutton_.TabIndex = 1; this.showToolTipbutton_.Text = "Say It"; this.showToolTipbutton_.UseVisualStyleBackColor = true; this.showToolTipbutton_.Click += new System.EventHandler(this.showToolTipbutton__Click); // // balloonCheckBox_ // this.balloonCheckBox_.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.balloonCheckBox_.AutoSize = true; this.balloonCheckBox_.Location = new System.Drawing.Point(12, 197); this.balloonCheckBox_.Name = "balloonCheckBox_"; this.balloonCheckBox_.Size = new System.Drawing.Size(90, 16); this.balloonCheckBox_.TabIndex = 2; this.balloonCheckBox_.Text = "Is Balloon?"; this.balloonCheckBox_.UseVisualStyleBackColor = true; this.balloonCheckBox_.CheckedChanged += new System.EventHandler(this.balloonCheckBox__CheckedChanged); // // notifyIcon_ // this.notifyIcon_.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info; this.notifyIcon_.ContextMenuStrip = this.contextMenuStrip_; this.notifyIcon_.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_.Icon"))); this.notifyIcon_.Visible = true; this.notifyIcon_.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon__MouseDoubleClick); // // contextMenuStrip_ // this.contextMenuStrip_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exitToolStripMenuItem}); this.contextMenuStrip_.Name = "contextMenuStrip_"; this.contextMenuStrip_.Size = new System.Drawing.Size(97, 26); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(430, 269); this.Controls.Add(this.balloonCheckBox_); this.Controls.Add(this.showToolTipbutton_); this.Controls.Add(this.textBox_); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MainForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Main Form"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.Load += new System.EventHandler(this.MainForm_Load); this.contextMenuStrip_.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.plot1 = new OxyPlot.WindowsForms.PlotView(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.bottomPanel = new System.Windows.Forms.Panel(); this.closeButton = new System.Windows.Forms.Button(); this.captionLabel = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.splitter = new System.Windows.Forms.Splitter(); this.bottomPanel.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // plot1 // this.plot1.ContextMenuStrip = this.contextMenuStrip1; this.plot1.Dock = System.Windows.Forms.DockStyle.Fill; this.plot1.Location = new System.Drawing.Point(0, 0); this.plot1.Margin = new System.Windows.Forms.Padding(4); this.plot1.Name = "plot1"; this.plot1.PanCursor = System.Windows.Forms.Cursors.Hand; this.plot1.Size = new System.Drawing.Size(757, 361); this.plot1.TabIndex = 1; this.plot1.Text = "plot1"; this.plot1.ZoomHorizontalCursor = System.Windows.Forms.Cursors.SizeWE; this.plot1.ZoomRectangleCursor = System.Windows.Forms.Cursors.SizeNWSE; this.plot1.ZoomVerticalCursor = System.Windows.Forms.Cursors.SizeNS; this.plot1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.OnMouseDoubleClick); // // contextMenuStrip1 // this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); // // bottomPanel // this.bottomPanel.Controls.Add(this.closeButton); this.bottomPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.bottomPanel.Location = new System.Drawing.Point(0, 378); this.bottomPanel.Margin = new System.Windows.Forms.Padding(4); this.bottomPanel.Name = "bottomPanel"; this.bottomPanel.Size = new System.Drawing.Size(757, 239); this.bottomPanel.TabIndex = 3; // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.Image = global::UserInterface.Properties.Resources.Close; this.closeButton.Location = new System.Drawing.Point(728, 1); this.closeButton.Margin = new System.Windows.Forms.Padding(4); this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(29, 28); this.closeButton.TabIndex = 0; this.closeButton.UseVisualStyleBackColor = true; this.closeButton.Click += new System.EventHandler(this.OnCloseEditorPanel); // // captionLabel // this.captionLabel.AutoSize = true; this.captionLabel.Dock = System.Windows.Forms.DockStyle.Bottom; this.captionLabel.Location = new System.Drawing.Point(0, 361); this.captionLabel.MaximumSize = new System.Drawing.Size(500, 50); this.captionLabel.Name = "captionLabel"; this.captionLabel.Size = new System.Drawing.Size(0, 17); this.captionLabel.TabIndex = 4; this.captionLabel.DoubleClick += new System.EventHandler(this.OnCaptionLabelDoubleClick); // // panel1 // this.panel1.Controls.Add(this.plot1); this.panel1.Controls.Add(this.captionLabel); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(757, 378); this.panel1.TabIndex = 5; // // splitter // this.splitter.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter.Location = new System.Drawing.Point(0, 375); this.splitter.Name = "splitter"; this.splitter.Size = new System.Drawing.Size(757, 3); this.splitter.TabIndex = 6; this.splitter.TabStop = false; // // GraphView // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitter); this.Controls.Add(this.panel1); this.Controls.Add(this.bottomPanel); this.Name = "GraphView"; this.Size = new System.Drawing.Size(757, 617); this.bottomPanel.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.textKeyword = new System.Windows.Forms.TextBox(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.menuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.modifyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.typeAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.typePasswordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.changeMasterKeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.databaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.status = new System.Windows.Forms.ToolStripStatusLabel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.showToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.button6 = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // textKeyword // this.textKeyword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textKeyword.Location = new System.Drawing.Point(14, 32); this.textKeyword.Margin = new System.Windows.Forms.Padding(5); this.textKeyword.Name = "textKeyword"; this.textKeyword.Size = new System.Drawing.Size(591, 23); this.textKeyword.TabIndex = 0; this.textKeyword.TextChanged += new System.EventHandler(this.Search); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuToolStripMenuItem, this.databaseToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 3, 0, 3); this.menuStrip1.Size = new System.Drawing.Size(624, 27); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // // menuToolStripMenuItem // this.menuToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.copyToolStripMenuItem, this.modifyToolStripMenuItem, this.deleteToolStripMenuItem, this.typeAccountToolStripMenuItem, this.typePasswordToolStripMenuItem, this.changeMasterKeyToolStripMenuItem, this.toolStripSeparator1, this.exitToolStripMenuItem }); this.menuToolStripMenuItem.Name = "menuToolStripMenuItem"; this.menuToolStripMenuItem.Size = new System.Drawing.Size(53, 21); this.menuToolStripMenuItem.Text = "Menu"; // // newToolStripMenuItem // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); this.newToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.NewPassword); // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.copyToolStripMenuItem.Text = "Copy"; this.copyToolStripMenuItem.Click += new System.EventHandler(this.CopyPassword); // // modifyToolStripMenuItem // this.modifyToolStripMenuItem.Name = "modifyToolStripMenuItem"; this.modifyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); this.modifyToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.modifyToolStripMenuItem.Text = "Modify"; this.modifyToolStripMenuItem.Click += new System.EventHandler(this.ModifyPassword); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.deleteToolStripMenuItem.Text = "Delete"; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.DeletePassword); // // typeAccountToolStripMenuItem // this.typeAccountToolStripMenuItem.Name = "typeAccountToolStripMenuItem"; this.typeAccountToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.typeAccountToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.typeAccountToolStripMenuItem.Text = "Type account"; this.typeAccountToolStripMenuItem.Click += new System.EventHandler(this.TypeAccount); // // typePasswordToolStripMenuItem // this.typePasswordToolStripMenuItem.Name = "typePasswordToolStripMenuItem"; this.typePasswordToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.typePasswordToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.typePasswordToolStripMenuItem.Text = "Type password"; this.typePasswordToolStripMenuItem.Click += new System.EventHandler(this.TypePassword); // // changeMasterKeyToolStripMenuItem // this.changeMasterKeyToolStripMenuItem.Name = "changeMasterKeyToolStripMenuItem"; this.changeMasterKeyToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.changeMasterKeyToolStripMenuItem.Text = "Change Master Key"; this.changeMasterKeyToolStripMenuItem.Click += new System.EventHandler(this.ChangeMasterKey); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(206, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(209, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.Exit); // // databaseToolStripMenuItem // this.databaseToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exportToolStripMenuItem, this.importToolStripMenuItem }); this.databaseToolStripMenuItem.Name = "databaseToolStripMenuItem"; this.databaseToolStripMenuItem.Size = new System.Drawing.Size(75, 21); this.databaseToolStripMenuItem.Text = "Database"; // // exportToolStripMenuItem // this.exportToolStripMenuItem.Name = "exportToolStripMenuItem"; this.exportToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exportToolStripMenuItem.Text = "Export"; this.exportToolStripMenuItem.Click += new System.EventHandler(this.Export); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1, this.status }); this.statusStrip1.Location = new System.Drawing.Point(0, 479); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0); this.statusStrip1.Size = new System.Drawing.Size(624, 22); this.statusStrip1.TabIndex = 3; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17); // // status // this.status.Name = "status"; this.status.Size = new System.Drawing.Size(0, 17); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button1.Location = new System.Drawing.Point(15, 442); this.button1.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(80, 30); this.button1.TabIndex = 4; this.button1.Text = "New"; this.toolTip1.SetToolTip(this.button1, "Create a new password"); this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.NewPassword); // // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button2.Location = new System.Drawing.Point(107, 442); this.button2.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(80, 30); this.button2.TabIndex = 5; this.button2.Text = "Copy"; this.toolTip1.SetToolTip(this.button2, "Copy password to clipboard"); this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.CopyPassword); // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button3.Location = new System.Drawing.Point(199, 442); this.button3.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(80, 30); this.button3.TabIndex = 6; this.button3.Text = "Modify"; this.toolTip1.SetToolTip(this.button3, "Modify a password"); this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.ModifyPassword); // // button4 // this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button4.Location = new System.Drawing.Point(381, 442); this.button4.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(100, 30); this.button4.TabIndex = 8; this.button4.Text = "Type account"; this.toolTip1.SetToolTip(this.button4, "Auto account typing"); this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.TypeAccount); // // button5 // this.button5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button5.Location = new System.Drawing.Point(493, 442); this.button5.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(110, 30); this.button5.TabIndex = 9; this.button5.Text = "Type password"; this.toolTip1.SetToolTip(this.button5, "Auto password typing"); this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.TypePassword); // // listView1 // this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5, this.columnHeader6 }); this.listView1.FullRowSelect = true; this.listView1.HideSelection = false; this.listView1.Location = new System.Drawing.Point(16, 67); this.listView1.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(591, 361); this.listView1.TabIndex = 1; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.Resize += new System.EventHandler(this.Minimized); // // columnHeader1 // this.columnHeader1.Text = "ID"; this.columnHeader1.Width = 40; // // columnHeader2 // this.columnHeader2.Text = "Title"; this.columnHeader2.Width = 150; // // columnHeader3 // this.columnHeader3.Text = "Remark"; this.columnHeader3.Width = 200; // // columnHeader4 // this.columnHeader4.Text = "Account"; this.columnHeader4.Width = 200; // // columnHeader5 // this.columnHeader5.Text = "Create"; this.columnHeader5.Width = 130; // // columnHeader6 // this.columnHeader6.Text = "Update"; this.columnHeader6.Width = 130; // // notifyIcon1 // this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; this.notifyIcon1.Icon = global::LajiPwd.Resource.icon; this.notifyIcon1.Text = "LajiPwd"; this.notifyIcon1.Visible = true; this.notifyIcon1.DoubleClick += new System.EventHandler(this.TaskbarShow); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.showToolStripMenuItem, this.exitToolStripMenuItem1 }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(108, 48); // // showToolStripMenuItem // this.showToolStripMenuItem.Name = "showToolStripMenuItem"; this.showToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.showToolStripMenuItem.Text = "Show"; this.showToolStripMenuItem.Click += new System.EventHandler(this.TaskbarShow); // // exitToolStripMenuItem1 // this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1"; this.exitToolStripMenuItem1.Size = new System.Drawing.Size(107, 22); this.exitToolStripMenuItem1.Text = "Exit"; this.exitToolStripMenuItem1.Click += new System.EventHandler(this.Exit); // // button6 // this.button6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button6.Location = new System.Drawing.Point(290, 442); this.button6.Margin = new System.Windows.Forms.Padding(5); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(80, 30); this.button6.TabIndex = 7; this.button6.Text = "Delete"; this.toolTip1.SetToolTip(this.button6, "Delete a password"); this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.DeletePassword); // // importToolStripMenuItem // this.importToolStripMenuItem.Name = "importToolStripMenuItem"; this.importToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.importToolStripMenuItem.Text = "Import"; this.importToolStripMenuItem.Click += new System.EventHandler(this.Import); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(624, 501); this.Controls.Add(this.button6); this.Controls.Add(this.listView1); this.Controls.Add(this.button5); this.Controls.Add(this.button4); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.textKeyword); this.Controls.Add(this.menuStrip1); this.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); this.Icon = global::LajiPwd.Resource.icon; this.MainMenuStrip = this.menuStrip1; this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.MinimumSize = new System.Drawing.Size(640, 540); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "LajiPwd"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Close); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.AvoidRegionLock = new System.Windows.Forms.CheckBox(); this.label4 = new System.Windows.Forms.Label(); this.SnipePokemonPokeCom = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.checkBoxSnipeGym = new System.Windows.Forms.CheckBox(); this.PokemonImage = new System.Windows.Forms.PictureBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.SnipeMe = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.label64 = new System.Windows.Forms.Label(); this.SnipeInfo = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.checkBoxExternalWeb = new System.Windows.Forms.CheckBox(); this.buttonGo = new System.Windows.Forms.Button(); this.comboBoxLinks = new System.Windows.Forms.ComboBox(); this.btnInstall = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.timerSnipe = new System.Windows.Forms.Timer(this.components); this.nudSecondsSnipe = new System.Windows.Forms.NumericUpDown(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.nudTriesSnipe = new System.Windows.Forms.NumericUpDown(); this.checkBoxSnipeTransfer = new System.Windows.Forms.CheckBox(); this.gbLocations = new System.Windows.Forms.GroupBox(); this.label3 = new System.Windows.Forms.Label(); this.listView = new System.Windows.Forms.ListView(); this.cuURI = new System.Windows.Forms.ColumnHeader(); this.chIV = new System.Windows.Forms.ColumnHeader(); this.chProbability = new System.Windows.Forms.ColumnHeader(); this.chDate = new System.Windows.Forms.ColumnHeader(); this.chLastUpdate = new System.Windows.Forms.ColumnHeader(); this.chId = new System.Windows.Forms.ColumnHeader(); this.chName = new System.Windows.Forms.ColumnHeader(); this.chTillHidden = new System.Windows.Forms.ColumnHeader(); this.chUsed = new System.Windows.Forms.ColumnHeader(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.snipeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.markAsUsedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.timerLocations = new System.Windows.Forms.Timer(this.components); this.numSnipeMinutes = new System.Windows.Forms.NumericUpDown(); this.label5 = new System.Windows.Forms.Label(); this.timerAutosnipe = new System.Windows.Forms.Timer(this.components); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.checkBoxMinIVSnipe = new System.Windows.Forms.CheckBox(); this.checkBoxMinProbSnipe = new System.Windows.Forms.CheckBox(); this.numMinProbSnipe = new System.Windows.Forms.NumericUpDown(); this.numMinIVSnipe = new System.Windows.Forms.NumericUpDown(); this.checkBoxSelectAll = new System.Windows.Forms.CheckBox(); this.checkedListBox_ToSnipe = new System.Windows.Forms.CheckedListBox(); this.buttonImport = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PokemonImage)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudSecondsSnipe)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudTriesSnipe)).BeginInit(); this.gbLocations.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numSnipeMinutes)).BeginInit(); this.groupBox5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numMinProbSnipe)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numMinIVSnipe)).BeginInit(); this.SuspendLayout(); // // AvoidRegionLock // this.AvoidRegionLock.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.AvoidRegionLock.AutoSize = true; this.AvoidRegionLock.Enabled = false; this.AvoidRegionLock.Location = new System.Drawing.Point(240, 400); this.AvoidRegionLock.Margin = new System.Windows.Forms.Padding(4); this.AvoidRegionLock.Name = "AvoidRegionLock"; this.AvoidRegionLock.Size = new System.Drawing.Size(177, 17); this.AvoidRegionLock.TabIndex = 78; this.AvoidRegionLock.Text = "Avoid Region Locked Pokemon"; this.AvoidRegionLock.UseVisualStyleBackColor = true; this.AvoidRegionLock.CheckedChanged += new System.EventHandler(this.AvoidRegionLock_CheckedChanged); // // label4 // this.label4.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ForeColor = System.Drawing.Color.DarkRed; this.label4.Location = new System.Drawing.Point(13, 159); this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(182, 21); this.label4.TabIndex = 81; this.label4.Text = "(ex: 30.123456, -97.123456 )"; // // SnipePokemonPokeCom // this.SnipePokemonPokeCom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.SnipePokemonPokeCom.AutoSize = true; this.SnipePokemonPokeCom.Location = new System.Drawing.Point(240, 375); this.SnipePokemonPokeCom.Margin = new System.Windows.Forms.Padding(4); this.SnipePokemonPokeCom.Name = "SnipePokemonPokeCom"; this.SnipePokemonPokeCom.Size = new System.Drawing.Size(195, 17); this.SnipePokemonPokeCom.TabIndex = 80; this.SnipePokemonPokeCom.Text = "Enable Automatic Pokemon Sniping"; this.SnipePokemonPokeCom.UseVisualStyleBackColor = true; this.SnipePokemonPokeCom.CheckedChanged += new System.EventHandler(this.SnipePokemonPokeCom_CheckedChanged); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.Controls.Add(this.checkBoxSnipeGym); this.groupBox1.Controls.Add(this.PokemonImage); this.groupBox1.Controls.Add(this.comboBox1); this.groupBox1.Controls.Add(this.SnipeMe); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label64); this.groupBox1.Controls.Add(this.SnipeInfo); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Location = new System.Drawing.Point(11, 2); this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox1.Size = new System.Drawing.Size(207, 272); this.groupBox1.TabIndex = 84; this.groupBox1.TabStop = false; this.groupBox1.Text = "Manual Sniping "; // // checkBoxSnipeGym // this.checkBoxSnipeGym.Location = new System.Drawing.Point(13, 52); this.checkBoxSnipeGym.Name = "checkBoxSnipeGym"; this.checkBoxSnipeGym.Size = new System.Drawing.Size(117, 21); this.checkBoxSnipeGym.TabIndex = 82; this.checkBoxSnipeGym.Text = "Gym"; this.checkBoxSnipeGym.UseVisualStyleBackColor = true; this.checkBoxSnipeGym.CheckedChanged += new System.EventHandler(this.checkBoxSnipeGym_CheckedChanged); // // PokemonImage // this.PokemonImage.Location = new System.Drawing.Point(136, 34); this.PokemonImage.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.PokemonImage.Name = "PokemonImage"; this.PokemonImage.Size = new System.Drawing.Size(60, 60); this.PokemonImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.PokemonImage.TabIndex = 76; this.PokemonImage.TabStop = false; // // comboBox1 // this.comboBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.comboBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(13, 98); this.comboBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(182, 21); this.comboBox1.TabIndex = 75; this.comboBox1.SelectedValueChanged += new System.EventHandler(this.comboBox1_SelectedValueChanged); // // SnipeMe // this.SnipeMe.BackColor = System.Drawing.Color.MediumAquamarine; this.SnipeMe.Enabled = false; this.SnipeMe.Location = new System.Drawing.Point(13, 225); this.SnipeMe.Margin = new System.Windows.Forms.Padding(4); this.SnipeMe.Name = "SnipeMe"; this.SnipeMe.Size = new System.Drawing.Size(182, 27); this.SnipeMe.TabIndex = 74; this.SnipeMe.Text = "Snipe Me!"; this.SnipeMe.UseVisualStyleBackColor = false; this.SnipeMe.Click += new System.EventHandler(this.SnipeMe_Click); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(13, 81); this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(86, 13); this.label6.TabIndex = 72; this.label6.Text = "Pokemon Name:"; // // label64 // this.label64.AutoSize = true; this.label64.Location = new System.Drawing.Point(13, 146); this.label64.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label64.Name = "label64"; this.label64.Size = new System.Drawing.Size(98, 13); this.label64.TabIndex = 72; this.label64.Text = "Latitude, Longitude"; // // SnipeInfo // this.SnipeInfo.Location = new System.Drawing.Point(13, 184); this.SnipeInfo.Margin = new System.Windows.Forms.Padding(4); this.SnipeInfo.Name = "SnipeInfo"; this.SnipeInfo.Size = new System.Drawing.Size(182, 20); this.SnipeInfo.TabIndex = 73; this.SnipeInfo.TextChanged += new System.EventHandler(this.SnipeInfo_TextChanged); // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.checkBoxExternalWeb); this.groupBox2.Controls.Add(this.buttonGo); this.groupBox2.Controls.Add(this.comboBoxLinks); this.groupBox2.Controls.Add(this.btnInstall); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.label2); this.groupBox2.ForeColor = System.Drawing.Color.DarkRed; this.groupBox2.Location = new System.Drawing.Point(4, 421); this.groupBox2.Margin = new System.Windows.Forms.Padding(4); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(726, 81); this.groupBox2.TabIndex = 85; this.groupBox2.TabStop = false; this.groupBox2.Text = "URI Service"; // // checkBoxExternalWeb // this.checkBoxExternalWeb.ForeColor = System.Drawing.SystemColors.ControlText; this.checkBoxExternalWeb.Location = new System.Drawing.Point(11, 55); this.checkBoxExternalWeb.Name = "checkBoxExternalWeb"; this.checkBoxExternalWeb.Size = new System.Drawing.Size(169, 20); this.checkBoxExternalWeb.TabIndex = 96; this.checkBoxExternalWeb.Text = "Open In External Browser"; this.checkBoxExternalWeb.UseVisualStyleBackColor = true; // // buttonGo // this.buttonGo.ForeColor = System.Drawing.SystemColors.ControlText; this.buttonGo.Location = new System.Drawing.Point(485, 52); this.buttonGo.Name = "buttonGo"; this.buttonGo.Size = new System.Drawing.Size(54, 23); this.buttonGo.TabIndex = 95; this.buttonGo.Text = "Go"; this.buttonGo.UseVisualStyleBackColor = true; this.buttonGo.Click += new System.EventHandler(this.buttonGo_Click); // // comboBoxLinks // this.comboBoxLinks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxLinks.FormattingEnabled = true; this.comboBoxLinks.Location = new System.Drawing.Point(289, 54); this.comboBoxLinks.Name = "comboBoxLinks"; this.comboBoxLinks.Size = new System.Drawing.Size(190, 21); this.comboBoxLinks.TabIndex = 94; // // btnInstall // this.btnInstall.ForeColor = System.Drawing.SystemColors.ControlText; this.btnInstall.Location = new System.Drawing.Point(611, 52); this.btnInstall.Margin = new System.Windows.Forms.Padding(4); this.btnInstall.Name = "btnInstall"; this.btnInstall.Size = new System.Drawing.Size(103, 22); this.btnInstall.TabIndex = 5; this.btnInstall.Text = "Install Service"; this.btnInstall.UseVisualStyleBackColor = true; this.btnInstall.Click += new System.EventHandler(this.btnInstall_Click); // // label1 // this.label1.AutoSize = true; this.label1.ForeColor = System.Drawing.SystemColors.ControlText; this.label1.Location = new System.Drawing.Point(7, 16); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(616, 13); this.label1.TabIndex = 86; this.label1.Text = "Handles \"pokesniper2:// and msniper://\" URI Protocols. So if you have another app" + "lication to do it. Is advisable uninstall before"; // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.SystemColors.ControlText; this.label2.Location = new System.Drawing.Point(7, 35); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(403, 13); this.label2.TabIndex = 87; this.label2.Text = "With Service Installed you can snipe directly from pokesniper URIs like these pag" + "es:"; // // timerSnipe // this.timerSnipe.Interval = 10000; this.timerSnipe.Tick += new System.EventHandler(this.timer1_Tick); // // nudSecondsSnipe // this.nudSecondsSnipe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.nudSecondsSnipe.Location = new System.Drawing.Point(172, 312); this.nudSecondsSnipe.Maximum = new decimal(new int[] { 600, 0, 0, 0 }); this.nudSecondsSnipe.Minimum = new decimal(new int[] { 2, 0, 0, 0 }); this.nudSecondsSnipe.Name = "nudSecondsSnipe"; this.nudSecondsSnipe.Size = new System.Drawing.Size(46, 20); this.nudSecondsSnipe.TabIndex = 86; this.nudSecondsSnipe.Value = new decimal(new int[] { 7, 0, 0, 0 }); this.nudSecondsSnipe.ValueChanged += new System.EventHandler(this.nudSecondsSnipe_ValueChanged); // // label8 // this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label8.Location = new System.Drawing.Point(47, 312); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(117, 20); this.label8.TabIndex = 87; this.label8.Text = "Seconds to wait there:"; // // label9 // this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label9.Location = new System.Drawing.Point(15, 281); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(149, 17); this.label9.TabIndex = 89; this.label9.Text = "Num Tries Finding Encounter:"; // // nudTriesSnipe // this.nudTriesSnipe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.nudTriesSnipe.Location = new System.Drawing.Point(172, 279); this.nudTriesSnipe.Maximum = new decimal(new int[] { 300, 0, 0, 0 }); this.nudTriesSnipe.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.nudTriesSnipe.Name = "nudTriesSnipe"; this.nudTriesSnipe.Size = new System.Drawing.Size(46, 20); this.nudTriesSnipe.TabIndex = 88; this.nudTriesSnipe.Value = new decimal(new int[] { 2, 0, 0, 0 }); this.nudTriesSnipe.ValueChanged += new System.EventHandler(this.nudTriesSnipe_ValueChanged); // // checkBoxSnipeTransfer // this.checkBoxSnipeTransfer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxSnipeTransfer.AutoSize = true; this.checkBoxSnipeTransfer.ForeColor = System.Drawing.SystemColors.ControlText; this.checkBoxSnipeTransfer.Location = new System.Drawing.Point(15, 351); this.checkBoxSnipeTransfer.Name = "checkBoxSnipeTransfer"; this.checkBoxSnipeTransfer.Size = new System.Drawing.Size(192, 17); this.checkBoxSnipeTransfer.TabIndex = 97; this.checkBoxSnipeTransfer.Text = "Transfer directly at snipe succesful."; this.checkBoxSnipeTransfer.UseVisualStyleBackColor = true; // // gbLocations // this.gbLocations.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gbLocations.Controls.Add(this.label3); this.gbLocations.Controls.Add(this.listView); this.gbLocations.Location = new System.Drawing.Point(401, 3); this.gbLocations.Name = "gbLocations"; this.gbLocations.Size = new System.Drawing.Size(333, 363); this.gbLocations.TabIndex = 98; this.gbLocations.TabStop = false; this.gbLocations.Text = "Locations"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(8, 340); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(133, 13); this.label3.TabIndex = 90; this.label3.Text = " Double click to Snipe"; this.label3.DoubleClick += new System.EventHandler(this.label3_DoubleClick); // // listView // this.listView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.cuURI, this.chIV, this.chProbability, this.chDate, this.chLastUpdate, this.chId, this.chName, this.chTillHidden, this.chUsed }); this.listView.ContextMenuStrip = this.contextMenuStrip1; this.listView.FullRowSelect = true; this.listView.GridLines = true; this.listView.Location = new System.Drawing.Point(8, 20); this.listView.Margin = new System.Windows.Forms.Padding(4); this.listView.Name = "listView"; this.listView.Size = new System.Drawing.Size(318, 312); this.listView.TabIndex = 81; this.listView.UseCompatibleStateImageBehavior = false; this.listView.View = System.Windows.Forms.View.Details; this.listView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick); this.listView.DoubleClick += new System.EventHandler(this.listView_DoubleClick); // // cuURI // this.cuURI.Text = "URI"; this.cuURI.Width = 140; // // chIV // this.chIV.Text = "IV"; this.chIV.Width = 40; // // chProbability // this.chProbability.Text = "Probability"; // // chDate // this.chDate.Text = "Creation Date"; // // chLastUpdate // this.chLastUpdate.Text = "Last Update"; // // chId // this.chId.Text = "Id"; // // chName // this.chName.Text = "Name"; // // chTillHidden // this.chTillHidden.Text = "Till Hidden"; // // chUsed // this.chUsed.Text = "Used"; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.snipeToolStripMenuItem, this.markAsUsedToolStripMenuItem, this.deleteToolStripMenuItem, this.deleteAllToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(191, 92); // // snipeToolStripMenuItem // this.snipeToolStripMenuItem.Name = "snipeToolStripMenuItem"; this.snipeToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.snipeToolStripMenuItem.Text = "Snipe"; this.snipeToolStripMenuItem.Click += new System.EventHandler(this.snipeToolStripMenuItem_Click); // // markAsUsedToolStripMenuItem // this.markAsUsedToolStripMenuItem.Name = "markAsUsedToolStripMenuItem"; this.markAsUsedToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.markAsUsedToolStripMenuItem.Text = "Mark/Unmark as used"; this.markAsUsedToolStripMenuItem.Click += new System.EventHandler(this.markAsUsedToolStripMenuItem_Click); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.deleteToolStripMenuItem.Text = "Delete Seleted"; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); // // deleteAllToolStripMenuItem // this.deleteAllToolStripMenuItem.Name = "deleteAllToolStripMenuItem"; this.deleteAllToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.deleteAllToolStripMenuItem.Text = "Delete All"; this.deleteAllToolStripMenuItem.Click += new System.EventHandler(this.deleteAllToolStripMenuItem_Click); // // timerLocations // this.timerLocations.Enabled = true; this.timerLocations.Interval = 10000; this.timerLocations.Tick += new System.EventHandler(this.timerLocations_Tick); // // numSnipeMinutes // this.numSnipeMinutes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.numSnipeMinutes.Location = new System.Drawing.Point(684, 372); this.numSnipeMinutes.Maximum = new decimal(new int[] { 300, 0, 0, 0 }); this.numSnipeMinutes.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numSnipeMinutes.Name = "numSnipeMinutes"; this.numSnipeMinutes.Size = new System.Drawing.Size(46, 20); this.numSnipeMinutes.TabIndex = 99; this.numSnipeMinutes.Value = new decimal(new int[] { 3, 0, 0, 0 }); this.numSnipeMinutes.ValueChanged += new System.EventHandler(this.numSnipeMinutes_ValueChanged); // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label5.Location = new System.Drawing.Point(472, 374); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(204, 18); this.label5.TabIndex = 100; this.label5.Text = "Minutes to wait between snipes:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // timerAutosnipe // this.timerAutosnipe.Interval = 120000; this.timerAutosnipe.Tick += new System.EventHandler(this.timerAutosnipe_Tick); // // groupBox5 // this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox5.Controls.Add(this.checkBoxMinIVSnipe); this.groupBox5.Controls.Add(this.checkBoxMinProbSnipe); this.groupBox5.Controls.Add(this.numMinProbSnipe); this.groupBox5.Controls.Add(this.numMinIVSnipe); this.groupBox5.Controls.Add(this.checkBoxSelectAll); this.groupBox5.Controls.Add(this.checkedListBox_ToSnipe); this.groupBox5.Location = new System.Drawing.Point(231, 3); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(164, 365); this.groupBox5.TabIndex = 101; this.groupBox5.TabStop = false; this.groupBox5.Text = "Pokemons to Snipe"; // // checkBoxMinIVSnipe // this.checkBoxMinIVSnipe.Location = new System.Drawing.Point(9, 17); this.checkBoxMinIVSnipe.Name = "checkBoxMinIVSnipe"; this.checkBoxMinIVSnipe.Size = new System.Drawing.Size(90, 24); this.checkBoxMinIVSnipe.TabIndex = 74; this.checkBoxMinIVSnipe.Text = "Min IV"; this.checkBoxMinIVSnipe.UseVisualStyleBackColor = true; // // checkBoxMinProbSnipe // this.checkBoxMinProbSnipe.Enabled = false; this.checkBoxMinProbSnipe.Location = new System.Drawing.Point(9, 41); this.checkBoxMinProbSnipe.Name = "checkBoxMinProbSnipe"; this.checkBoxMinProbSnipe.Size = new System.Drawing.Size(90, 24); this.checkBoxMinProbSnipe.TabIndex = 73; this.checkBoxMinProbSnipe.Text = "Min Prob."; this.checkBoxMinProbSnipe.UseVisualStyleBackColor = true; // // numMinProbSnipe // this.numMinProbSnipe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.numMinProbSnipe.Enabled = false; this.numMinProbSnipe.Location = new System.Drawing.Point(119, 41); this.numMinProbSnipe.Margin = new System.Windows.Forms.Padding(2); this.numMinProbSnipe.Name = "numMinProbSnipe"; this.numMinProbSnipe.Size = new System.Drawing.Size(37, 20); this.numMinProbSnipe.TabIndex = 71; this.numMinProbSnipe.Tag = "MinIVSave"; this.numMinProbSnipe.Value = new decimal(new int[] { 90, 0, 0, 0 }); // // numMinIVSnipe // this.numMinIVSnipe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.numMinIVSnipe.Location = new System.Drawing.Point(119, 20); this.numMinIVSnipe.Margin = new System.Windows.Forms.Padding(2); this.numMinIVSnipe.Name = "numMinIVSnipe"; this.numMinIVSnipe.Size = new System.Drawing.Size(37, 20); this.numMinIVSnipe.TabIndex = 69; this.numMinIVSnipe.Tag = "MinIVSave"; this.numMinIVSnipe.Value = new decimal(new int[] { 90, 0, 0, 0 }); this.numMinIVSnipe.ValueChanged += new System.EventHandler(this.numMinIVSnipe_ValueChanged); // // checkBoxSelectAll // this.checkBoxSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxSelectAll.AutoSize = true; this.checkBoxSelectAll.Location = new System.Drawing.Point(9, 336); this.checkBoxSelectAll.Name = "checkBoxSelectAll"; this.checkBoxSelectAll.Size = new System.Drawing.Size(69, 17); this.checkBoxSelectAll.TabIndex = 32; this.checkBoxSelectAll.Text = "Select all"; this.checkBoxSelectAll.UseVisualStyleBackColor = true; this.checkBoxSelectAll.CheckedChanged += new System.EventHandler(this.checkBoxSelectAll_CheckedChanged); // // checkedListBox_ToSnipe // this.checkedListBox_ToSnipe.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkedListBox_ToSnipe.CheckOnClick = true; this.checkedListBox_ToSnipe.FormattingEnabled = true; this.checkedListBox_ToSnipe.Location = new System.Drawing.Point(9, 68); this.checkedListBox_ToSnipe.Name = "checkedListBox_ToSnipe"; this.checkedListBox_ToSnipe.ScrollAlwaysVisible = true; this.checkedListBox_ToSnipe.Size = new System.Drawing.Size(147, 259); this.checkedListBox_ToSnipe.TabIndex = 0; this.checkedListBox_ToSnipe.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.checkedListBox_ToSnipe_ItemCheck); // // buttonImport // this.buttonImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonImport.ForeColor = System.Drawing.SystemColors.ControlText; this.buttonImport.Location = new System.Drawing.Point(537, 398); this.buttonImport.Name = "buttonImport"; this.buttonImport.Size = new System.Drawing.Size(193, 23); this.buttonImport.TabIndex = 102; this.buttonImport.Text = "Import mypogosnipers list"; this.buttonImport.UseVisualStyleBackColor = true; this.buttonImport.Click += new System.EventHandler(this.button1_Click); // // SniperPanel // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.Controls.Add(this.buttonImport); this.Controls.Add(this.groupBox5); this.Controls.Add(this.label5); this.Controls.Add(this.numSnipeMinutes); this.Controls.Add(this.gbLocations); this.Controls.Add(this.checkBoxSnipeTransfer); this.Controls.Add(this.label9); this.Controls.Add(this.nudTriesSnipe); this.Controls.Add(this.label8); this.Controls.Add(this.nudSecondsSnipe); this.Controls.Add(this.groupBox2); this.Controls.Add(this.AvoidRegionLock); this.Controls.Add(this.groupBox1); this.Controls.Add(this.SnipePokemonPokeCom); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "SniperPanel"; this.Size = new System.Drawing.Size(759, 517); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.PokemonImage)).EndInit(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudSecondsSnipe)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudTriesSnipe)).EndInit(); this.gbLocations.ResumeLayout(false); this.gbLocations.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numSnipeMinutes)).EndInit(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numMinProbSnipe)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numMinIVSnipe)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.plot1 = new OxyPlot.WindowsForms.PlotView(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.bottomPanel = new System.Windows.Forms.Panel(); this.closeButton = new System.Windows.Forms.Button(); this.captionLabel = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.splitter = new System.Windows.Forms.Splitter(); this.bottomPanel.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // plot1 // this.plot1.ContextMenuStrip = this.contextMenuStrip1; this.plot1.Dock = System.Windows.Forms.DockStyle.Fill; this.plot1.Location = new System.Drawing.Point(0, 0); this.plot1.Margin = new System.Windows.Forms.Padding(4); this.plot1.Name = "plot1"; this.plot1.PanCursor = System.Windows.Forms.Cursors.Hand; this.plot1.Size = new System.Drawing.Size(757, 361); this.plot1.TabIndex = 1; this.plot1.Text = "plot1"; this.plot1.ZoomHorizontalCursor = System.Windows.Forms.Cursors.SizeWE; this.plot1.ZoomRectangleCursor = System.Windows.Forms.Cursors.SizeNWSE; this.plot1.ZoomVerticalCursor = System.Windows.Forms.Cursors.SizeNS; this.plot1.Click += new System.EventHandler(this.OnClick); this.plot1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.OnMouseDoubleClick); // // contextMenuStrip1 // this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(67, 4); // // bottomPanel // this.bottomPanel.Controls.Add(this.closeButton); this.bottomPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.bottomPanel.Location = new System.Drawing.Point(0, 378); this.bottomPanel.Margin = new System.Windows.Forms.Padding(4); this.bottomPanel.Name = "bottomPanel"; this.bottomPanel.Size = new System.Drawing.Size(757, 239); this.bottomPanel.TabIndex = 3; // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.Image = global::UserInterface.Properties.Resources.Close; this.closeButton.Location = new System.Drawing.Point(728, 1); this.closeButton.Margin = new System.Windows.Forms.Padding(4); this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(29, 28); this.closeButton.TabIndex = 0; this.closeButton.UseVisualStyleBackColor = true; this.closeButton.Click += new System.EventHandler(this.OnCloseEditorPanel); // // captionLabel // this.captionLabel.AutoSize = true; this.captionLabel.Dock = System.Windows.Forms.DockStyle.Bottom; this.captionLabel.Location = new System.Drawing.Point(0, 361); this.captionLabel.MaximumSize = new System.Drawing.Size(500, 50); this.captionLabel.Name = "captionLabel"; this.captionLabel.Size = new System.Drawing.Size(0, 17); this.captionLabel.TabIndex = 4; this.captionLabel.DoubleClick += new System.EventHandler(this.OnCaptionLabelDoubleClick); // // panel1 // this.panel1.Controls.Add(this.plot1); this.panel1.Controls.Add(this.captionLabel); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(757, 378); this.panel1.TabIndex = 5; // // splitter // this.splitter.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter.Location = new System.Drawing.Point(0, 375); this.splitter.Name = "splitter"; this.splitter.Size = new System.Drawing.Size(757, 3); this.splitter.TabIndex = 6; this.splitter.TabStop = false; // // GraphView // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitter); this.Controls.Add(this.panel1); this.Controls.Add(this.bottomPanel); this.Name = "GraphView"; this.Size = new System.Drawing.Size(757, 617); this.bottomPanel.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.ToolBar1 = new System.Windows.Forms.ToolStrip(); this.tbImageSave = new System.Windows.Forms.ToolStripButton(); this.tbs1 = new System.Windows.Forms.ToolStripSeparator(); this.tbGensCommon = new System.Windows.Forms.ToolStripDropDownButton(); this.MenuGensCommon = new System.Windows.Forms.ContextMenuStrip(this.components); this.tbGensAncestors = new System.Windows.Forms.ToolStripDropDownButton(); this.MenuGensAncestors = new System.Windows.Forms.ContextMenuStrip(this.components); this.tbGensDescendants = new System.Windows.Forms.ToolStripDropDownButton(); this.MenuGensDescendants = new System.Windows.Forms.ContextMenuStrip(this.components); this.tbs2 = new System.Windows.Forms.ToolStripSeparator(); this.tbModes = new System.Windows.Forms.ToolStripDropDownButton(); this.MenuModes = new System.Windows.Forms.ContextMenuStrip(this.components); this.miModeBoth = new System.Windows.Forms.ToolStripMenuItem(); this.miModeAncestors = new System.Windows.Forms.ToolStripMenuItem(); this.miModeDescendants = new System.Windows.Forms.ToolStripMenuItem(); this.N7 = new System.Windows.Forms.ToolStripSeparator(); this.miTraceSelected = new System.Windows.Forms.ToolStripMenuItem(); this.miTraceKinships = new System.Windows.Forms.ToolStripMenuItem(); this.miCertaintyIndex = new System.Windows.Forms.ToolStripMenuItem(); this.N8 = new System.Windows.Forms.ToolStripSeparator(); this.miFillColor = new System.Windows.Forms.ToolStripMenuItem(); this.miFillImage = new System.Windows.Forms.ToolStripMenuItem(); this.N9 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.tbFilter = new System.Windows.Forms.ToolStripButton(); this.tbPrev = new System.Windows.Forms.ToolStripButton(); this.tbNext = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.tbDocPreview = new System.Windows.Forms.ToolStripButton(); this.tbDocPrint = new System.Windows.Forms.ToolStripButton(); this.tbOptions = new System.Windows.Forms.ToolStripButton(); this.MenuPerson = new System.Windows.Forms.ContextMenuStrip(this.components); this.miEdit = new System.Windows.Forms.ToolStripMenuItem(); this.N1 = new System.Windows.Forms.ToolStripSeparator(); this.miFatherAdd = new System.Windows.Forms.ToolStripMenuItem(); this.miMotherAdd = new System.Windows.Forms.ToolStripMenuItem(); this.miFamilyAdd = new System.Windows.Forms.ToolStripMenuItem(); this.miSpouseAdd = new System.Windows.Forms.ToolStripMenuItem(); this.miSonAdd = new System.Windows.Forms.ToolStripMenuItem(); this.miDaughterAdd = new System.Windows.Forms.ToolStripMenuItem(); this.N2 = new System.Windows.Forms.ToolStripSeparator(); this.miDelete = new System.Windows.Forms.ToolStripMenuItem(); this.N11 = new System.Windows.Forms.ToolStripSeparator(); this.miGoToRecord = new System.Windows.Forms.ToolStripMenuItem(); this.N3 = new System.Windows.Forms.ToolStripSeparator(); this.miRebuildTree = new System.Windows.Forms.ToolStripMenuItem(); this.miRebuildKinships = new System.Windows.Forms.ToolStripMenuItem(); this.N10 = new System.Windows.Forms.ToolStripSeparator(); this.miSelectColor = new System.Windows.Forms.ToolStripMenuItem(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.tbBorders = new System.Windows.Forms.ToolStripDropDownButton(); this.MenuBorders = new System.Windows.Forms.ContextMenuStrip(this.components); this.ToolBar1.SuspendLayout(); this.MenuModes.SuspendLayout(); this.MenuPerson.SuspendLayout(); this.SuspendLayout(); // // ToolBar1 // this.ToolBar1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.ToolBar1.ImageScalingSize = new System.Drawing.Size(20, 20); this.ToolBar1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tbImageSave, this.tbs1, this.tbGensCommon, this.tbGensAncestors, this.tbGensDescendants, this.tbs2, this.tbModes, this.toolStripSeparator1, this.tbFilter, this.tbPrev, this.tbNext, this.toolStripSeparator2, this.tbDocPreview, this.tbDocPrint, this.tbOptions, this.toolStripSeparator3, this.tbBorders }); this.ToolBar1.Location = new System.Drawing.Point(0, 0); this.ToolBar1.Name = "ToolBar1"; this.ToolBar1.Size = new System.Drawing.Size(771, 25); this.ToolBar1.TabIndex = 0; // // tbImageSave // this.tbImageSave.Name = "tbImageSave"; this.tbImageSave.Size = new System.Drawing.Size(23, 22); this.tbImageSave.Click += new System.EventHandler(this.tbImageSave_Click); // // tbs1 // this.tbs1.Name = "tbs1"; this.tbs1.Size = new System.Drawing.Size(6, 25); // // tbGensCommon // this.tbGensCommon.DropDown = this.MenuGensCommon; this.tbGensCommon.Name = "tbGensCommon"; this.tbGensCommon.Size = new System.Drawing.Size(108, 22); this.tbGensCommon.Text = "tbGensCommon"; // // MenuGensCommon // this.MenuGensCommon.Name = "MenuGensCommon"; this.MenuGensCommon.OwnerItem = this.tbGensCommon; this.MenuGensCommon.Size = new System.Drawing.Size(61, 4); // // tbGensAncestors // this.tbGensAncestors.DropDown = this.MenuGensAncestors; this.tbGensAncestors.Name = "tbGensAncestors"; this.tbGensAncestors.Size = new System.Drawing.Size(109, 22); this.tbGensAncestors.Text = "tbGensAncestors"; // // MenuGensAncestors // this.MenuGensAncestors.Name = "MenuGensAncestors"; this.MenuGensAncestors.Size = new System.Drawing.Size(61, 4); // // tbGensDescendants // this.tbGensDescendants.DropDown = this.MenuGensDescendants; this.tbGensDescendants.Name = "tbGensDescendants"; this.tbGensDescendants.Size = new System.Drawing.Size(124, 22); this.tbGensDescendants.Text = "tbGensDescendants"; // // MenuGensDescendants // this.MenuGensDescendants.Name = "MenuGensDescendants"; this.MenuGensDescendants.Size = new System.Drawing.Size(61, 4); // // tbs2 // this.tbs2.Name = "tbs2"; this.tbs2.Size = new System.Drawing.Size(6, 25); // // tbModes // this.tbModes.DropDown = this.MenuModes; this.tbModes.Name = "tbModes"; this.tbModes.Size = new System.Drawing.Size(13, 22); // // MenuModes // this.MenuModes.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miModeBoth, this.miModeAncestors, this.miModeDescendants, this.N7, this.miTraceSelected, this.miTraceKinships, this.miCertaintyIndex, this.N8, this.miFillColor, this.miFillImage, this.N9 }); this.MenuModes.Name = "MenuModes"; this.MenuModes.OwnerItem = this.tbModes; this.MenuModes.Size = new System.Drawing.Size(187, 198); // // miModeBoth // this.miModeBoth.Name = "miModeBoth"; this.miModeBoth.Size = new System.Drawing.Size(186, 22); this.miModeBoth.Text = "miModeBoth"; this.miModeBoth.Click += new System.EventHandler(this.miModeItem_Click); // // miModeAncestors // this.miModeAncestors.Name = "miModeAncestors"; this.miModeAncestors.Size = new System.Drawing.Size(186, 22); this.miModeAncestors.Text = "miModeAncestors"; this.miModeAncestors.Click += new System.EventHandler(this.miModeItem_Click); // // miModeDescendants // this.miModeDescendants.Name = "miModeDescendants"; this.miModeDescendants.Size = new System.Drawing.Size(186, 22); this.miModeDescendants.Text = "miModeDescendants"; this.miModeDescendants.Click += new System.EventHandler(this.miModeItem_Click); // // N7 // this.N7.Name = "N7"; this.N7.Size = new System.Drawing.Size(183, 6); // // miTraceSelected // this.miTraceSelected.Name = "miTraceSelected"; this.miTraceSelected.Size = new System.Drawing.Size(186, 22); this.miTraceSelected.Text = "miTraceSelected"; this.miTraceSelected.Click += new System.EventHandler(this.miTraceSelected_Click); // // miTraceKinships // this.miTraceKinships.Name = "miTraceKinships"; this.miTraceKinships.Size = new System.Drawing.Size(186, 22); this.miTraceKinships.Text = "miTraceKinships"; this.miTraceKinships.Click += new System.EventHandler(this.miTraceKinships_Click); // // miCertaintyIndex // this.miCertaintyIndex.Name = "miCertaintyIndex"; this.miCertaintyIndex.Size = new System.Drawing.Size(186, 22); this.miCertaintyIndex.Text = "miCertaintyIndex"; this.miCertaintyIndex.Click += new System.EventHandler(this.miCertaintyIndex_Click); // // N8 // this.N8.Name = "N8"; this.N8.Size = new System.Drawing.Size(183, 6); // // miFillColor // this.miFillColor.Name = "miFillColor"; this.miFillColor.Size = new System.Drawing.Size(186, 22); this.miFillColor.Text = "miFillColor"; this.miFillColor.Click += new System.EventHandler(this.miFillColor_Click); // // miFillImage // this.miFillImage.Name = "miFillImage"; this.miFillImage.Size = new System.Drawing.Size(186, 22); this.miFillImage.Text = "miFillImage"; this.miFillImage.Click += new System.EventHandler(this.miFillImage_Click); // // N9 // this.N9.Name = "N9"; this.N9.Size = new System.Drawing.Size(183, 6); this.N9.Visible = false; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // tbFilter // this.tbFilter.ImageTransparentColor = System.Drawing.Color.White; this.tbFilter.Name = "tbFilter"; this.tbFilter.Size = new System.Drawing.Size(23, 22); this.tbFilter.Click += new System.EventHandler(this.ToolBar1_ButtonClick); // // tbPrev // this.tbPrev.Enabled = false; this.tbPrev.Name = "tbPrev"; this.tbPrev.Size = new System.Drawing.Size(23, 22); this.tbPrev.Click += new System.EventHandler(this.ToolBar1_ButtonClick); // // tbNext // this.tbNext.Enabled = false; this.tbNext.Name = "tbNext"; this.tbNext.Size = new System.Drawing.Size(23, 22); this.tbNext.Click += new System.EventHandler(this.ToolBar1_ButtonClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // tbDocPreview // this.tbDocPreview.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tbDocPreview.ImageTransparentColor = System.Drawing.Color.Magenta; this.tbDocPreview.Name = "tbDocPreview"; this.tbDocPreview.Size = new System.Drawing.Size(23, 22); this.tbDocPreview.Text = "toolStripButton1"; this.tbDocPreview.Click += new System.EventHandler(this.tbDocPreview_Click); // // tbDocPrint // this.tbDocPrint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tbDocPrint.ImageTransparentColor = System.Drawing.Color.Magenta; this.tbDocPrint.Name = "tbDocPrint"; this.tbDocPrint.Size = new System.Drawing.Size(23, 22); this.tbDocPrint.Text = "toolStripButton2"; this.tbDocPrint.Click += new System.EventHandler(this.tbDocPrint_Click); // // tbOptions // this.tbOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tbOptions.ImageTransparentColor = System.Drawing.Color.Magenta; this.tbOptions.Name = "tbOptions"; this.tbOptions.Size = new System.Drawing.Size(23, 22); this.tbOptions.Text = "tbOptions"; this.tbOptions.Click += new System.EventHandler(this.tbOptions_Click); // // MenuPerson // this.MenuPerson.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miEdit, this.N1, this.miFatherAdd, this.miMotherAdd, this.miFamilyAdd, this.miSpouseAdd, this.miSonAdd, this.miDaughterAdd, this.N2, this.miDelete, this.N11, this.miGoToRecord, this.N3, this.miRebuildTree, this.miRebuildKinships, this.N10, this.miSelectColor }); this.MenuPerson.Name = "MenuPerson"; this.MenuPerson.Size = new System.Drawing.Size(173, 298); this.MenuPerson.Opening += new System.ComponentModel.CancelEventHandler(this.MenuPerson_Opening); // // miEdit // this.miEdit.Name = "miEdit"; this.miEdit.Size = new System.Drawing.Size(172, 22); this.miEdit.Text = "miEdit"; this.miEdit.Click += new System.EventHandler(this.miEdit_Click); // // N1 // this.N1.Name = "N1"; this.N1.Size = new System.Drawing.Size(169, 6); // // miFatherAdd // this.miFatherAdd.Name = "miFatherAdd"; this.miFatherAdd.Size = new System.Drawing.Size(172, 22); this.miFatherAdd.Text = "miFatherAdd"; this.miFatherAdd.Click += new System.EventHandler(this.miFatherAdd_Click); // // miMotherAdd // this.miMotherAdd.Name = "miMotherAdd"; this.miMotherAdd.Size = new System.Drawing.Size(172, 22); this.miMotherAdd.Text = "miMotherAdd"; this.miMotherAdd.Click += new System.EventHandler(this.miMotherAdd_Click); // // miFamilyAdd // this.miFamilyAdd.Name = "miFamilyAdd"; this.miFamilyAdd.Size = new System.Drawing.Size(172, 22); this.miFamilyAdd.Text = "miFamilyAdd"; this.miFamilyAdd.Click += new System.EventHandler(this.miFamilyAdd_Click); // // miSpouseAdd // this.miSpouseAdd.Name = "miSpouseAdd"; this.miSpouseAdd.Size = new System.Drawing.Size(172, 22); this.miSpouseAdd.Text = "miSpouseAdd"; this.miSpouseAdd.Click += new System.EventHandler(this.miSpouseAdd_Click); // // miSonAdd // this.miSonAdd.Name = "miSonAdd"; this.miSonAdd.Size = new System.Drawing.Size(172, 22); this.miSonAdd.Text = "miSonAdd"; this.miSonAdd.Click += new System.EventHandler(this.miSonAdd_Click); // // miDaughterAdd // this.miDaughterAdd.Name = "miDaughterAdd"; this.miDaughterAdd.Size = new System.Drawing.Size(172, 22); this.miDaughterAdd.Text = "miDaughterAdd"; this.miDaughterAdd.Click += new System.EventHandler(this.miDaughterAdd_Click); // // N2 // this.N2.Name = "N2"; this.N2.Size = new System.Drawing.Size(169, 6); // // miDelete // this.miDelete.Name = "miDelete"; this.miDelete.Size = new System.Drawing.Size(172, 22); this.miDelete.Text = "miDelete"; this.miDelete.Click += new System.EventHandler(this.miDelete_Click); // // N11 // this.N11.Name = "N11"; this.N11.Size = new System.Drawing.Size(169, 6); // // miGoToRecord // this.miGoToRecord.Name = "miGoToRecord"; this.miGoToRecord.Size = new System.Drawing.Size(172, 22); this.miGoToRecord.Text = "miGoToRecord"; this.miGoToRecord.Click += new System.EventHandler(this.miGoToRecord_Click); // // N3 // this.N3.Name = "N3"; this.N3.Size = new System.Drawing.Size(169, 6); // // miRebuildTree // this.miRebuildTree.Name = "miRebuildTree"; this.miRebuildTree.Size = new System.Drawing.Size(172, 22); this.miRebuildTree.Text = "miRebuildTree"; this.miRebuildTree.Click += new System.EventHandler(this.miRebuildTree_Click); // // miRebuildKinships // this.miRebuildKinships.Name = "miRebuildKinships"; this.miRebuildKinships.Size = new System.Drawing.Size(172, 22); this.miRebuildKinships.Text = "miRebuildKinships"; this.miRebuildKinships.Click += new System.EventHandler(this.miRebuildKinships_Click); // // N10 // this.N10.Name = "N10"; this.N10.Size = new System.Drawing.Size(169, 6); // // miSelectColor // this.miSelectColor.Name = "miSelectColor"; this.miSelectColor.Size = new System.Drawing.Size(172, 22); this.miSelectColor.Text = "miSelectColor"; this.miSelectColor.Click += new System.EventHandler(this.miSelectColor_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // tbBorders // this.tbBorders.DropDown = this.MenuBorders; this.tbBorders.ImageTransparentColor = System.Drawing.Color.Magenta; this.tbBorders.Name = "tbBorders"; this.tbBorders.Size = new System.Drawing.Size(71, 22); this.tbBorders.Text = "tbBorders"; // // MenuBorders // this.MenuBorders.Name = "MenuBorders"; this.MenuBorders.Size = new System.Drawing.Size(61, 4); // // TreeChartWin // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(771, 362); this.Controls.Add(this.ToolBar1); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.KeyPreview = true; this.Margin = new System.Windows.Forms.Padding(2); this.Name = "TreeChartWin"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "TreeChartWin"; this.Title = "TreeChartWin"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TreeChartWin_KeyDown); this.Controls.SetChildIndex(this.ToolBar1, 0); this.ToolBar1.ResumeLayout(false); this.ToolBar1.PerformLayout(); this.MenuModes.ResumeLayout(false); this.MenuPerson.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }