在GUI C#.net项目上工作时,我想编辑它显示的对话框 . 但是,我找不到打开对话框编辑器的方法,也找不到任何可能的编辑选项 . .sln
文件由电子元件公司(FTDI)创建,可从此处下载 . (嗯,我需要找到正确的链接 . )
我有enabled the toolbar for dialog editor . (没有不同 . )
当我反向单击资源视图的"Form"元素时,我希望菜单说"edit dialog"或类似的东西 . 这是我看到的:
选择"Go To Definition"会显示一个C#声明( partial class Form1 : Form
) . 我想以图形方式编辑对话框以重新排列某些控件并添加新元素 .
更新:
----使用解决方案探索者---
以下是我在解决方案资源管理器中看到的内容:
第二次更新
MPSSE Sensor Demo.Designed.cs
开头于:
namespace SensorDemo
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
... (300+ more lines of boring declaration of UI elements)
MPSSE Sensor Demo.cs
主要包含应用程序逻辑:
// #define FT232H // Enable only one of these defines depending on your device type
#define FT2232H
// #define FT4232H
//######################################################
// This code is provided as an example only and is not supported or guaranteed by FTDI
// It is the responsibility of the designer of the system incorporating any part of this code to ensure correct
// ... blah blah blah
using System;
using System.Windows.Forms;
using FTD2XX_NET;
using System.Threading;
namespace SensorDemo
{
class myFTDI : FTDI
.... (2100+ more lines of logic with occasional assignments to UI elements)