基线:全量源码首提(D1 版本控制落地,含第一轮优化 B1-B4/A1/A4/缩放修复)
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
namespace pdfbt.DockWindows
|
||||
{
|
||||
partial class QuoteWindow
|
||||
{
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null)) components.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Designer generated code
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// QuoteWindow
|
||||
//
|
||||
this.Name = "QuoteWindow";
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// ============================================================
|
||||
// 停靠窗口:报价插件工具栏(左侧)
|
||||
// 把 cadcj 的 Form3 报价界面作为子控件嵌入(TopLevel=false)。
|
||||
// ============================================================
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace pdfbt.DockWindows
|
||||
{
|
||||
/// <summary>停靠窗口:报价插件工具栏(DockState.DockLeft)。</summary>
|
||||
public partial class QuoteWindow : WeifenLuo.WinFormsUI.Docking.DockContent
|
||||
{
|
||||
public QuoteWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
Text = "报价工具";
|
||||
TabText = "报价工具";
|
||||
|
||||
var form = new MyApp.Form3();
|
||||
form.TopLevel = false;
|
||||
form.FormBorderStyle = FormBorderStyle.None;
|
||||
form.Dock = DockStyle.Fill;
|
||||
Controls.Add(form);
|
||||
form.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user