Example #1
0
        private void btnAcctive_Click(object sender, EventArgs e)
        {
            frmActive frmActive = new frmActive();

            frmActive.isActive = new frmActive.ActiveOK(isActive);
            frmActive.ShowDialog();
        }
Example #2
0
        public static bool ShowActive(string id, string name)
        {
            frmActive act = new frmActive(id, name);

            act.Owner = _this;
            if (act.ShowDialog() == true)
            {
                return(true);
            }
            return(false);
        }
        private void btnKichHoat_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmActive f = new frmActive();

            f.ShowDialog();
        }