| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using CoreFS.CA06;
- namespace Core.StlMes.Client.PlnSaleOrd.InventoryAdjustment
- {
- public partial class InventoryAdjustment : FrmBase
- {
- public InventoryAdjustment()
- {
- InitializeComponent();
- this.Shown += ugbStovePlan_ExpandedStateChanged;
- }
- public int Width1 { get; set; }
- private void ugbStovePlan_ExpandedStateChanged(object sender, EventArgs e)
- {
- if (sp1.Panel2Collapsed) return;
- if (ugbStovePlan.Expanded)
- {
- sp1.SplitterDistance = sp1.Size.Height - Width1;
- }
- else
- {
- Width1 = sp1.Panel2.Size.Height;
- sp1.SplitterDistance = sp1.Size.Height - 25;
- }
- }
- public override void ToolBar_Click(object sender, string ToolbarKey)
- {
- base.ToolBar_Click(sender, ToolbarKey);
- switch (ToolbarKey)
- {
- case "Query"://查询
- Query();
- break;
- case "Close": //关闭
- this.Close();
- break;
- default:
- break;
- }
- }
- protected virtual void Query()
- {
-
- }
- }
- }
|