コード例 #1
0
        private void buttonSearchClick(object sender, EventArgs e)
        {
            FormConsuSearchTotal frm = new FormConsuSearchTotal(mainform, id, comboBoxSearch.SelectedItem.ToString(), textBoxSearch.Text);

            frm.Owner = this;
            frm.Show();
            this.Visible = false;
        }
コード例 #2
0
        private void labelTotalSearchClick(object sender, EventArgs e)
        {
            this.Visible = false;
            FormConsuSearchTotal frm = new FormConsuSearchTotal(mainform, id);

            frm.Owner = this;
            frm.Show();
            frm.Activate();
        }