清理多余引用
This commit is contained in:
@@ -364,7 +364,7 @@ public class ModifyTabApp
|
||||
alignSource.Items.Add(ribbonRowPanel);
|
||||
alignSource.Items.Add(ribbonRowPanel1);
|
||||
//新建面板
|
||||
Autodesk.Windows.RibbonPanel alignElemsPanel = new() { FloatingOrientation = System.Windows.Controls.Orientation.Vertical };
|
||||
Autodesk.Windows.RibbonPanel alignElemsPanel = new() { FloatingOrientation = Orientation.Vertical };
|
||||
alignElemsPanel.Source = alignSource;
|
||||
tab.Panels.Add(alignElemsPanel);
|
||||
}
|
||||
@@ -375,7 +375,7 @@ public class ModifyTabApp
|
||||
private void SelectionPanel(RibbonTab tab)
|
||||
{
|
||||
//新建面板
|
||||
Autodesk.Windows.RibbonPanel ribbonPanel = new() { FloatingOrientation = System.Windows.Controls.Orientation.Vertical };
|
||||
Autodesk.Windows.RibbonPanel ribbonPanel = new() { FloatingOrientation = Orientation.Vertical };
|
||||
|
||||
//面板资源
|
||||
RibbonPanelSource selSource = new() { Id = "ID_SSI_Panel", Title = "选择元素" };
|
||||
|
||||
Reference in New Issue
Block a user