You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.0 KiB
C#

using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.Alarm.LRAlarmLog;
using Mesnac.Action.ChemicalWeighing.Report.MaterialStatisticsReport;
using Mesnac.Controls.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mesnac.Action.ChemicalWeighing.Test
{
class Form1Action : DatabaseAction, IAction
{
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
//SelectWeightAction.MaterialSynchronousComplete += delegate (object sender, EventArgs e)
//{
// ComboBox comboBox = base.GetControlById("MCCombobox1") as ComboBox;
// comboBox.SelectedIndex = 1;
//};
var list = GetAllMCControls();
foreach (IBaseControl ib in GetAllMCControls())
{
}
//ShowMsg("小料Action事件测试", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}