private void Display_field_Load(object sender, EventArgs e) { Form new_form = new Choosing_method(); new_form.TopLevel = false; new_form.Parent = this; new_form.Show(); }
private void Switch_form() { Form new_form = new Choosing_method(); new_form.TopLevel = false; new_form.Parent = this.Parent; this.Hide(); new_form.Show(); this.Parent.Controls.Remove(this); this.Close(); }
static string Add_header() { return(bills.Get_bills_name() + "\t\t\t\t" + Add_date_and_time() + "\n\t\t" + Choosing_method.Get_method() + "\n"); }