private void toolStripButton_Scan_Click(object sender, EventArgs e) { object o = ObjectUtil.GetObject(context.ProcessDispatcher.WriteToService("CarPLC1", "AlarmCode")); if (o.ToString() == "6") { App.View.Task.frmInStockTask f = new App.View.Task.frmInStockTask(); ((View.BaseForm)f).Context = context; f.ShowDialog(); } }
private void toolStripButton_Scan_Click(object sender, EventArgs e) { App.View.Task.frmInStockTask f = new App.View.Task.frmInStockTask(); ((View.BaseForm)f).Context = context; f.ShowDialog(); }
private void toolStripButton_Scan_Click(object sender, EventArgs e) { App.View.Task.frmInStockTask f = new App.View.Task.frmInStockTask(); f.ShowDialog(); }