private void btnCancel_Click(object sender, EventArgs e) { Form_Postingan f2 = new Form_Postingan(); this.Visible = false; f2.Show(); }
private void btnBack_Click(object sender, EventArgs e) { this.Visible = false; Form_Postingan fp = new Form_Postingan(); fp.ShowDialog(); }
private void linkLogout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { DialogResult dialogResult = MessageBox.Show("Anda yakin akan Logout?", "", MessageBoxButtons.YesNo); if (dialogResult == DialogResult.Yes) { this.Dispose(); Form_Postingan fp = new Form_Postingan(); fp.Show(); } else if (dialogResult == DialogResult.No) { this.Show(); } }