private void button_Click(object sender, EventArgs e) { Guna.UI2.WinForms.Guna2TileButton button = (Guna.UI2.WinForms.Guna2TileButton)sender; int business_type_id = Convert.ToInt32(button.Name); string business_type = button.Text; frmAddSupplier addSupplier = new frmAddSupplier(); addSupplier.business_type_id = business_type_id; addSupplier.business_type = business_type; addSupplier.request_from = request_from; addSupplier.ShowDialog(); }
public frmAddSupplier() { instance = this; InitializeComponent(); Guna.UI.Lib.GraphicsHelper.ShadowForm(this); }