예제 #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;
 }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #12
0
 public newproperty(Form dgcopy)
 {
     dg = dgcopy as dialogcontainer;
     InitializeComponent();
 }
예제 #13
0
 public forgotpwd(Form dgcopy)
 {
     dg = dgcopy as dialogcontainer;
     InitializeComponent();
 }