⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmmain.cs

📁 C sharp 调用WindowsAPI的平台调用例子
💻 CS
📖 第 1 页 / 共 5 页
字号:

        this.mnuFile.Visible = (bool) resources.GetObject("mnuFile.Visible");

        //

        //mnuExit

        //

        this.mnuExit.Enabled = (bool) resources.GetObject("mnuExit.Enabled");

        this.mnuExit.Index = 0;

        this.mnuExit.Shortcut = (System.Windows.Forms.Shortcut) resources.GetObject("mnuExit.Shortcut");

        this.mnuExit.ShowShortcut = (bool) resources.GetObject("mnuExit.ShowShortcut");

        this.mnuExit.Text = resources.GetString("mnuExit.Text");

        this.mnuExit.Visible = (bool) resources.GetObject("mnuExit.Visible");

		this.mnuExit.Click += new EventHandler(mnuExit_Click);

        //

        //mnuHelp

        //

        this.mnuHelp.Enabled = (bool) resources.GetObject("mnuHelp.Enabled");

        this.mnuHelp.Index = 1;

        this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {this.mnuAbout});

        this.mnuHelp.Shortcut = (System.Windows.Forms.Shortcut) resources.GetObject("mnuHelp.Shortcut");

        this.mnuHelp.ShowShortcut = (bool) resources.GetObject("mnuHelp.ShowShortcut");

        this.mnuHelp.Text = resources.GetString("mnuHelp.Text");

        this.mnuHelp.Visible = (bool) resources.GetObject("mnuHelp.Visible");

        //

        //mnuAbout

        //

        this.mnuAbout.Enabled = (bool) resources.GetObject("mnuAbout.Enabled");

        this.mnuAbout.Index = 0;

        this.mnuAbout.Shortcut = (System.Windows.Forms.Shortcut) resources.GetObject("mnuAbout.Shortcut");

        this.mnuAbout.ShowShortcut = (bool) resources.GetObject("mnuAbout.ShowShortcut");

        this.mnuAbout.Text = resources.GetString("mnuAbout.Text");

        this.mnuAbout.Visible = (bool) resources.GetObject("mnuAbout.Visible");

		this.mnuAbout.Click += new EventHandler(mnuAbout_Click);

        //

        //MainTabControl

        //

        this.MainTabControl.AccessibleDescription = resources.GetString("MainTabControl.AccessibleDescription");

        this.MainTabControl.AccessibleName = resources.GetString("MainTabControl.AccessibleName");

        this.MainTabControl.Alignment = (System.Windows.Forms.TabAlignment) resources.GetObject("MainTabControl.Alignment");

        this.MainTabControl.Anchor = (System.Windows.Forms.AnchorStyles) resources.GetObject("MainTabControl.Anchor");

        this.MainTabControl.Appearance = (System.Windows.Forms.TabAppearance) resources.GetObject("MainTabControl.Appearance");

        this.MainTabControl.BackgroundImage = (System.Drawing.Image) resources.GetObject("MainTabControl.BackgroundImage");

        this.MainTabControl.Controls.AddRange(new System.Windows.Forms.Control[] {this.tpActiveProcesses, this.tpActiveWindows, this.tpShowWindow, this.tpAPICalls});

        this.MainTabControl.Dock = (System.Windows.Forms.DockStyle) resources.GetObject("MainTabControl.Dock");

        this.MainTabControl.Enabled = (bool) resources.GetObject("MainTabControl.Enabled");

        this.MainTabControl.Font = (System.Drawing.Font) resources.GetObject("MainTabControl.Font");

        this.MainTabControl.ImeMode = (System.Windows.Forms.ImeMode) resources.GetObject("MainTabControl.ImeMode");

        this.MainTabControl.ItemSize = (System.Drawing.Size) resources.GetObject("MainTabControl.ItemSize");

        this.MainTabControl.Location = (System.Drawing.Point) resources.GetObject("MainTabControl.Location");

        this.MainTabControl.Name = "MainTabControl";

        this.MainTabControl.Padding = (System.Drawing.Point) resources.GetObject("MainTabControl.Padding");

        this.MainTabControl.RightToLeft = (System.Windows.Forms.RightToLeft) resources.GetObject("MainTabControl.RightToLeft");

        this.MainTabControl.SelectedIndex = 0;

        this.MainTabControl.ShowToolTips = (bool) resources.GetObject("MainTabControl.ShowToolTips");

        this.MainTabControl.Size = (System.Drawing.Size) resources.GetObject("MainTabControl.Size");

        this.MainTabControl.TabIndex = (int) resources.GetObject("MainTabControl.TabIndex");

        this.MainTabControl.Text = resources.GetString("MainTabControl.Text");

        this.MainTabControl.Visible = (bool) resources.GetObject("MainTabControl.Visible");

        //

        //tpActiveProcesses

        //

        this.tpActiveProcesses.AccessibleDescription = resources.GetString("tpActiveProcesses.AccessibleDescription");

        this.tpActiveProcesses.AccessibleName = resources.GetString("tpActiveProcesses.AccessibleName");

        this.tpActiveProcesses.Anchor = (System.Windows.Forms.AnchorStyles) resources.GetObject("tpActiveProcesses.Anchor");

        this.tpActiveProcesses.AutoScroll = (bool) resources.GetObject("tpActiveProcesses.AutoScroll");

        this.tpActiveProcesses.AutoScrollMargin = (System.Drawing.Size) resources.GetObject("tpActiveProcesses.AutoScrollMargin");

        this.tpActiveProcesses.AutoScrollMinSize = (System.Drawing.Size) resources.GetObject("tpActiveProcesses.AutoScrollMinSize");

        this.tpActiveProcesses.BackgroundImage = (System.Drawing.Image) resources.GetObject("tpActiveProcesses.BackgroundImage");

        this.tpActiveProcesses.Controls.AddRange(new System.Windows.Forms.Control[] {this.Label2, this.btnRefreshActiveProcesses, this.lvwProcessList});

        this.tpActiveProcesses.Dock = (System.Windows.Forms.DockStyle) resources.GetObject("tpActiveProcesses.Dock");

        this.tpActiveProcesses.Enabled = (bool) resources.GetObject("tpActiveProcesses.Enabled");

        this.tpActiveProcesses.Font = (System.Drawing.Font) resources.GetObject("tpActiveProcesses.Font");

        this.tpActiveProcesses.ImageIndex = (int) resources.GetObject("tpActiveProcesses.ImageIndex");

        this.tpActiveProcesses.ImeMode = (System.Windows.Forms.ImeMode) resources.GetObject("tpActiveProcesses.ImeMode");

        this.tpActiveProcesses.Location = (System.Drawing.Point) resources.GetObject("tpActiveProcesses.Location");

        this.tpActiveProcesses.Name = "tpActiveProcesses";

        this.tpActiveProcesses.RightToLeft = (System.Windows.Forms.RightToLeft) resources.GetObject("tpActiveProcesses.RightToLeft");

        this.tpActiveProcesses.Size = (System.Drawing.Size) resources.GetObject("tpActiveProcesses.Size");

        this.tpActiveProcesses.TabIndex = (int) resources.GetObject("tpActiveProcesses.TabIndex");

        this.tpActiveProcesses.Text = resources.GetString("tpActiveProcesses.Text");

        this.tpActiveProcesses.ToolTipText = resources.GetString("tpActiveProcesses.ToolTipText");

        this.tpActiveProcesses.Visible = (bool) resources.GetObject("tpActiveProcesses.Visible");

        //

        //Label2

        //

        this.Label2.AccessibleDescription = (string) resources.GetObject("Label2.AccessibleDescription");

        this.Label2.AccessibleName = (string) resources.GetObject("Label2.AccessibleName");

        this.Label2.Anchor = (System.Windows.Forms.AnchorStyles) resources.GetObject("Label2.Anchor");

        this.Label2.AutoSize = (bool) resources.GetObject("Label2.AutoSize");

        this.Label2.Dock = (System.Windows.Forms.DockStyle) resources.GetObject("Label2.Dock");

        this.Label2.Enabled = (bool) resources.GetObject("Label2.Enabled");

        this.Label2.Font = (System.Drawing.Font) resources.GetObject("Label2.Font");

        this.Label2.ForeColor = System.Drawing.Color.Black;

        this.Label2.Image = (System.Drawing.Image) resources.GetObject("Label2.Image");

        this.Label2.ImageAlign = (System.Drawing.ContentAlignment) resources.GetObject("Label2.ImageAlign");

        this.Label2.ImageIndex = (int) resources.GetObject("Label2.ImageIndex");

        this.Label2.ImeMode = (System.Windows.Forms.ImeMode) resources.GetObject("Label2.ImeMode");

        this.Label2.Location = (System.Drawing.Point) resources.GetObject("Label2.Location");

        this.Label2.Name = "Label2";

        this.Label2.RightToLeft = (System.Windows.Forms.RightToLeft) resources.GetObject("Label2.RightToLeft");

        this.Label2.Size = (System.Drawing.Size) resources.GetObject("Label2.Size");

        this.Label2.TabIndex = (int) resources.GetObject("Label2.TabIndex");

        this.Label2.Text = resources.GetString("Label2.Text");

        this.Label2.TextAlign = (System.Drawing.ContentAlignment) resources.GetObject("Label2.TextAlign");

        this.Label2.Visible = (bool) resources.GetObject("Label2.Visible");

        //

        //btnRefreshActiveProcesses

        //

        this.btnRefreshActiveProcesses.AccessibleDescription = resources.GetString("btnRefreshActiveProcesses.AccessibleDescription");

        this.btnRefreshActiveProcesses.AccessibleName = resources.GetString("btnRefreshActiveProcesses.AccessibleName");

        this.btnRefreshActiveProcesses.Anchor = (System.Windows.Forms.AnchorStyles) resources.GetObject("btnRefreshActiveProcesses.Anchor");

        this.btnRefreshActiveProcesses.BackColor = System.Drawing.SystemColors.Control;

        this.btnRefreshActiveProcesses.BackgroundImage = (System.Drawing.Image) resources.GetObject("btnRefreshActiveProcesses.BackgroundImage");

        this.btnRefreshActiveProcesses.Dock = (System.Windows.Forms.DockStyle) resources.GetObject("btnRefreshActiveProcesses.Dock");

        this.btnRefreshActiveProcesses.Enabled = (bool) resources.GetObject("btnRefreshActiveProcesses.Enabled");

        this.btnRefreshActiveProcesses.FlatStyle = (System.Windows.Forms.FlatStyle) resources.GetObject("btnRefreshActiveProcesses.FlatStyle");

        this.btnRefreshActiveProcesses.Font = (System.Drawing.Font) resources.GetObject("btnRefreshActiveProcesses.Font");

        this.btnRefreshActiveProcesses.ForeColor = System.Drawing.SystemColors.WindowText;

        this.btnRefreshActiveProcesses.Image = (System.Drawing.Image) resources.GetObject("btnRefreshActiveProcesses.Image");

        this.btnRefreshActiveProcesses.ImageAlign = (System.Drawing.ContentAlignment) resources.GetObject("btnRefreshActiveProcesses.ImageAlign");

        this.btnRefreshActiveProcesses.ImageIndex = (int) resources.GetObject("btnRefreshActiveProcesses.ImageIndex");

        this.btnRefreshActiveProcesses.ImeMode = (System.Windows.Forms.ImeMode) resources.GetObject("btnRefreshActiveProcesses.ImeMode");

        this.btnRefreshActiveProcesses.Location = (System.Drawing.Point) resources.GetObject("btnRefreshActiveProcesses.Location");

        this.btnRefreshActiveProcesses.Name = "btnRefreshActiveProcesses";

        this.btnRefreshActiveProcesses.RightToLeft = (System.Windows.Forms.RightToLeft) resources.GetObject("btnRefreshActiveProcesses.RightToLeft");

        this.btnRefreshActiveProcesses.Size = (System.Drawing.Size) resources.GetObject("btnRefreshActiveProcesses.Size");

        this.btnRefreshActiveProcesses.TabIndex = (int) resources.GetObject("btnRefreshActiveProcesses.TabIndex");

        this.btnRefreshActiveProcesses.Text = resources.GetString("btnRefreshActiveProcesses.Text");

        this.btnRefreshActiveProcesses.TextAlign = (System.Drawing.ContentAlignment) resources.GetObject("btnRefreshActiveProcesses.TextAlign");

        this.btnRefreshActiveProcesses.Visible = (bool) resources.GetObject("btnRefreshActiveProcesses.Visible");

		this.btnRefreshActiveProcesses.Click += new EventHandler(btnRefreshActiveProcesses_Click);

        //

        //lvwProcessList

        //

        this.lvwProcessList.AccessibleDescription = resources.GetString("lvwProcessList.AccessibleDescription");

        this.lvwProcessList.AccessibleName = resources.GetString("lvwProcessList.AccessibleName");

        this.lvwProcessList.Alignment = (System.Windows.Forms.ListViewAlignment) resources.GetObject("lvwProcessList.Alignment");

        this.lvwProcessList.AllowColumnReorder = true;

        this.lvwProcessList.Anchor = (System.Windows.Forms.AnchorStyles) resources.GetObject("lvwProcessList.Anchor");

        this.lvwProcessList.BackgroundImage = (System.Drawing.Image) resources.GetObject("lvwProcessList.BackgroundImage");

        this.lvwProcessList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {this.WindowsTitle, this.ClassName, this.WindowsHandle});

        this.lvwProcessList.Dock = (System.Windows.Forms.DockStyle) resources.GetObject("lvwProcessList.Dock");

        this.lvwProcessList.Enabled = (bool) resources.GetObject("lvwProcessList.Enabled");

        this.lvwProcessList.Font = (System.Drawing.Font) resources.GetObject("lvwProcessList.Font");

        this.lvwProcessList.FullRowSelect = true;

        this.lvwProcessList.ImeMode = (System.Windows.Forms.ImeMode) resources.GetObject("lvwProcessList.ImeMode");

        this.lvwProcessList.LabelWrap = (bool) resources.GetObject("lvwProcessList.LabelWrap");

        this.lvwProcessList.Location = (System.Drawing.Point) resources.GetObject("lvwProcessList.Location");

        this.lvwProcessList.Name = "lvwProcessList";

        this.lvwProcessList.RightToLeft = (System.Windows.Forms.RightToLeft) resources.GetObject("lvwProcessList.RightToLeft");

        this.lvwProcessList.Size = (System.Drawing.Size) resources.GetObject("lvwProcessList.Size");

        this.lvwProcessList.TabIndex = (int) resources.GetObject("lvwProcessList.TabIndex");

        this.lvwProcessList.Text = resources.GetString("lvwProcessList.Text");

        this.lvwProcessList.View = System.Windows.Forms.View.Details;

        this.lvwProcessList.Visible = (bool) resources.GetObject("lvwProcessList.Visible");

        //

        //WindowsTitle

        //

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -