Exemple #1
0
        public F_Filho()
        {
            InitializeComponent();

            f_Checkbox = Application.OpenForms["F_Checkbox"] as F_Checkbox;

            cb_carro.Checked  = f_Checkbox.cb_carro.Checked;
            cb_aviao.Checked  = f_Checkbox.cb_aviao.Checked;
            cb_navio.Checked  = f_Checkbox.cb_navio.Checked;
            cb_onibus.Checked = f_Checkbox.cb_onibus.Checked;
        }
Exemple #2
0
        private void checkBoxToolStripMenuItem_Click(object sender, EventArgs e)
        {
            F_Checkbox f_Checkbox = new F_Checkbox();

            f_Checkbox.ShowDialog();
        }