Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Presentational.Form1 F1 = new Presentational.Form1();
            F1.ShowDialog();

            refreshData();
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            int?id = getId();

            if (id != null)
            {
                Presentational.Form1 F1 = new Presentational.Form1(id);
                F1.ShowDialog();

                refreshData();
            }
        }