Esempio n. 1
0
 public AboutBox(Form dgcopy)
 {
     dg = dgcopy as dialogcontainer;
     InitializeComponent();
     this.Text = String.Format("About {0}", AssemblyTitle);
     this.labelProductName.Text   = AssemblyProduct;
     this.labelVersion.Text       = String.Format("Version {0}", AssemblyVersion);
     this.labelCopyright.Text     = AssemblyCopyright;
     this.labelCompanyName.Text   = AssemblyCompany;
     this.textBoxDescription.Text = AssemblyDescription;
 }
Esempio n. 2
0
        public removeproperty(Form dgcopy)
        {
            dg = dgcopy as dialogcontainer;
            InitializeComponent();
            loading.Visible = true;
            formlbl.Visible = true;
            BackgroundWorker pageload = new BackgroundWorker();

            pageload.DoWork                    += Pageload_DoWork;
            pageload.RunWorkerCompleted        += Pageload_RunWorkerCompleted;
            pageload.WorkerSupportsCancellation = true;
            pageload.RunWorkerAsync();
        }
Esempio n. 3
0
        private void userbtn_Click(object sender, EventArgs e)
        {
            dialogcontainer dg = new dialogcontainer();
            settings        st = new settings();

            st.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(st);
            dg.Size     = new Size(620, 479);
            dg.lbl.Text = "User Settings";
            dg.Show();
            st.Show();
        }
Esempio n. 4
0
        public verifiedproperties(Form dgcopy)
        {
            dg = dgcopy as dialogcontainer;

            InitializeComponent();
            loading.Visible = true;
            formlbl.Visible = true;
            BackgroundWorker pageload = new BackgroundWorker();

            pageload.DoWork             += Pageload_DoWork;
            pageload.RunWorkerCompleted += Pageload_RunWorkerCompleted;
            pageload.RunWorkerAsync();
        }
Esempio n. 5
0
        private void forgotbtn_Click(object sender, EventArgs e)
        {
            dialogcontainer dg  = new dialogcontainer();
            forgotpwd       fgt = new forgotpwd(dg);

            fgt.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(fgt);
            dg.Size     = new Size(470, 400);
            dg.lbl.Text = "Reset Password";
            dg.Show();
            fgt.Show();
        }
Esempio n. 6
0
        private void unverpic_Click(object sender, EventArgs e)
        {
            dialogcontainer dg = new dialogcontainer();

            unverifiedproperties ver = new unverifiedproperties(dg);

            ver.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(ver);
            dg.Size     = new Size(1206, 734);
            dg.lbl.Text = "Unverified Properties";
            dg.Show();
            ver.Show();
        }
Esempio n. 7
0
        private void rmpbtn_Click(object sender, EventArgs e)
        {
            dialogcontainer dg = new dialogcontainer();

            removeproperty rmp = new removeproperty(dg);

            rmp.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(rmp);
            dg.Size     = new Size(1206, 734);
            dg.lbl.Text = "Remove Property";
            dg.Show();
            rmp.Show();
        }
Esempio n. 8
0
        private void ablbl_Click(object sender, EventArgs e)
        {
            dialogcontainer dg = new dialogcontainer();

            AboutBox ab = new AboutBox(dg);

            ab.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(ab);
            dg.Size     = new Size(451, 352);
            dg.lbl.Text = "About";

            dg.Show();
            ab.Show();
        }
Esempio n. 9
0
        private void addpbtn_Click(object sender, EventArgs e)
        {
            dialogcontainer dg = new dialogcontainer();

            newproperty np = new newproperty(dg);

            np.TopLevel = false;
            dg.dialogpnl.Controls.Clear();
            dg.dialogpnl.Controls.Add(np);
            dg.Size          = new Size(1206, 734);
            dg.lbl.Text      = "Add New Property";
            np.dpnl.Location = new Point(4, 5);
            dg.Show();
            np.Show();
        }
Esempio n. 10
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();
        }
Esempio n. 11
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();
        }
Esempio n. 12
0
 public newproperty(Form dgcopy)
 {
     dg = dgcopy as dialogcontainer;
     InitializeComponent();
 }
Esempio n. 13
0
 public forgotpwd(Form dgcopy)
 {
     dg = dgcopy as dialogcontainer;
     InitializeComponent();
 }