public Counter() { InitializeComponent(); iFt = new iFunction(); con = new MySqlConnection(iFt.dbconnect); Sum = 0; timer.Enabled = true; }
public EditItem(object SelectedItem, int Page) { InitializeComponent(); iFt = new iFunction(); con = new MySqlConnection(iFt.dbconnect); this.Item = SelectedItem; this.Page = Page; InitValue(); }
public History() { InitializeComponent(); iFt = new iFunction(); con = new MySqlConnection(iFt.dbconnect); SumBuy = 0; SumSell = 0; timer1.Enabled = true; }
public Stock() { InitializeComponent(); iFt = new iFunction(); con = new MySqlConnection(iFt.dbconnect); Panel[] pnl = { PanelLen, PanelFrame, PanelContact }; foreach (Panel p in pnl) { p.Visible = false; } }
public AddItem() { InitializeComponent(); iFt = new iFunction(); con = new MySqlConnection(iFt.dbconnect); Panel[] pnl = { PanelLen, PanelFrame, PanelContact }; RadioButton[] rdbtn = { RDBTNLen, RDBTNFrame, RDBTNContact }; foreach (Panel p in pnl) { p.Visible = false; } rdbtn[0].Select(); pnl[0].Visible = true; }