Example #1
0
        private void mailbtn_Click(object sender, EventArgs e)
        {
            dialogcontainer dg = new dialogcontainer();

            mail ml = new mail(emaillbl.Text);

            ml.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(ml);
            dg.Size     = new Size(638, 550);
            dg.lbl.Text = "Send Mail";

            dg.Show();
            ml.Show();
        }
Example #2
0
        private void mailbtn_Click(object sender, EventArgs e)
        {
            arrow1.Visible = false;
            arrow2.Visible = false;
            arrow3.Visible = false;
            arrow4.Visible = false;
            arrow5.Visible = false;
            arrow6.Visible = false;
            arrow7.Visible = false;
            arrow8.Visible = false;
            arrow9.Visible = false;
            dialogcontainer dg = new dialogcontainer();

            mail ml = new mail("");

            ml.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(ml);
            dg.Size     = new Size(638, 550);
            dg.lbl.Text = "Send Mail";

            dg.Show();
            ml.Show();
        }