/// <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); } }); }
/// <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); } })); }