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; }
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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
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(); }
public newproperty(Form dgcopy) { dg = dgcopy as dialogcontainer; InitializeComponent(); }
public forgotpwd(Form dgcopy) { dg = dgcopy as dialogcontainer; InitializeComponent(); }