public AddMenuToOrderView(string stat) { InitializeComponent(); this.stat = stat; _menu = new Menu(); _detail = new OrderDetail(); _temp = new TempOrder(); Init_DataBinding_Menu(""); }
public OrderDataView(string username) { InitializeComponent(); _order = new Order(); _temp = new TempOrder(); _detail = new OrderDetail(); this.username = username; comboBoxStatus.Items.AddRange(new string[] { "Tercetak", "Belum Tercetak" }); comboBoxStatus.Text = "Belum Tercetak"; Init_DataBinding(DateTime.Now, "", "all"); }
public OrderRecordView(string stat, string username, int id_order) { InitializeComponent(); this.status = true; this.stat = stat; nama_user = username; this.id_order = id_order; _order = new Order(); _detail = new OrderDetail(); _temp = new TempOrder(); _menu = new Menu(); Init_List_View(); Init_DataBinding_Order(); }
public UserForm() { InitializeComponent(); _temp = new TempOrder(); _admin = new MainProgram(); }