public ItemGroupAdd(ItemGroupView view) { viewForm = view; Code = 0.0; InitializeComponent(); this.Text = this.Text + " (Add)"; BindDropDown(); }
public static ItemGroupView Instance() { if (sForm == null) { sForm = new ItemGroupView(); } return(sForm); }
public ItemGroupAdd(ItemGroupView view, Double code) { viewForm = view; Code = code; InitializeComponent(); if (code > 0) { this.Text = this.Text + " (Edit)"; } else { this.Text = this.Text + " (Add)"; } BindDropDown(); }