Exemple #1
0
        //public Alert(Form parent, Exception e)
        //{
        //    InitializeComponent();
        //
        //    TopLevel = false;
        //    Parent = parent;
        //    this.Text = "Error";
        //    lbnContents.Text = e.Message;
        //}

        //public Alert(Form parent, RegisterForm rg, String title, String contents)
        //{
        //    InitializeComponent();
        //
        //    TopLevel = false;
        //    Parent = parent;
        //    this.Text = title;  // 명시적 this 지칭
        //    lbnContents.Text = contents;
        //}

        private void btnOK_Click(object sender, EventArgs e)
        {
            if (formName == "Register")
            {
                formManager.ShowRegisterForm();
            }
        }
Exemple #2
0
        private async void btnAgree_ClickAsync(object sender, EventArgs e)
        {
            await Task.Delay(150);

            formManager.ShowRegisterForm();
        }