public FRM_ORDERS_LIST() { InitializeComponent(); if (frm == null) { frm = this; } if (raCA.Checked == true) { this.dgvOrders.DataSource = order.SearchOrders(""); } else if (raMA.Checked == true) { this.dgvOrders.DataSource = order.SearchOrders3(""); } else { this.dgvOrders.DataSource = order.SearchOrders2(""); } }
private void mamulkaBeecmuushtarkaToolStripMenuItem_Click(object sender, EventArgs e) { FRM_ORDERS_LIST frm = new FRM_ORDERS_LIST(); frm.ShowDialog(); }
static void frm_FormClosed(object sender, FormClosedEventArgs e) { frm = null; }