private void stokToolStripMenuItem_Click(object sender, EventArgs e) { StockForm frm = new StockForm(); frm.MdiParent = this; frm.Show(); }
/// <summary> /// Edition d'un stock /// </summary> /// <param name="p"></param> /// <param name="action"></param> private void NewStock(Product p, int action) { StockForm s = new StockForm((Product)currentProduct.Clone(), action); if (s.ShowDialog() != System.Windows.Forms.DialogResult.OK) { return; } StockManager.Instance.Save(s.getStock()); Reload(ProductManager.Instance.All()); Utils.Notify("Stock du produit modifié"); return; }
static void Main() { try { log.Info("Running...."); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (IApplicationContext ctx = ContextRegistry.GetContext()) { StockForm stockForm = new StockForm(); Application.ThreadException += ThreadException; Application.Run(stockForm); } } catch (Exception e) { log.Error("Spring.RabbitQuickStart.Client is broken.", e); } }
static void Main() { try { log.Info("Running...."); NamespaceParserRegistry.RegisterParser(typeof(GemfireNamespaceParser)); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); BrokerConfiguration.Configure(); using (IApplicationContext ctx = ContextRegistry.GetContext()) { StockForm stockForm = new StockForm(); Application.ThreadException += ThreadException; Application.Run(stockForm); } } catch (Exception e) { log.Error("Spring.Interop.StockTraderSample.Client is broken.", e); throw; } }
private void stockReportToolStripMenuItem_Click(object sender, EventArgs e) { StockForm sForm = new StockForm(); sForm.Show(); }
private void btnStockManagement_Click(object sender, EventArgs e) { StockForm sf = new StockForm(); sf.Show(); }
private void btnItemPUNISHMENT(object sender, EventArgs e) { StockForm frm = new StockForm(); CheckFormStatus(frm); }