Пример #1
0
        /// <summary>
        /// 打开汽车入厂记录查询
        /// </summary>
        public void OpenBuyFuelLoadToday()
        {
            this.InvokeEx(() =>
            {
                string uniqueKey = FrmBuyFuelLoadToday.UniqueKey;

                if (FrmMainFrame.superTabControlManager.GetTab(uniqueKey) == null)
                {
                    FrmBuyFuelLoadToday item = new FrmBuyFuelLoadToday();
                    FrmMainFrame.superTabControlManager.CreateTab(item.Text, uniqueKey, item, true);
                }
                else
                {
                    FrmMainFrame.superTabControlManager.ChangeToTab(uniqueKey);
                }
            });
        }
Пример #2
0
        /// <summary>
        /// 打开汽车入厂记录查询
        /// </summary>
        public void OpenBuyFuelLoadToday()
        {
            SetColoTable();

            this.buttonX6.ColorTable = eButtonColor.Blue;

            this.Invoke((Action)(() =>
            {
                string uniqueKey = FrmBuyFuelLoadToday.UniqueKey;

                if (FrmMainFrame.superTabControlManager.GetTab(uniqueKey) == null)
                {
                    FrmBuyFuelLoadToday item = new FrmBuyFuelLoadToday();
                    FrmMainFrame.superTabControlManager.CreateTab(item.Text, uniqueKey, item, true);
                }
                else
                {
                    FrmMainFrame.superTabControlManager.ChangeToTab(uniqueKey);
                }
            }));
        }