private void FavoriteBtn_Click(object sender, EventArgs e) { add_favorite af = new add_favorite(url, title); af.Owner = this; af.MdiParent = MdiParent; af.Show(); }
private void NewBtn_Click(object sender, EventArgs e) { add_favorite af = new add_favorite("", ""); af.Owner = this; af.MdiParent = MdiParent; af.Show(); }
private void EditBtn_Click(object sender, EventArgs e) { if (fpTreeView.SelectedNode == null) { return; } if (fpTreeView.SelectedNode.Text == null) { return; } if (fpTreeView.SelectedNode.Tag == null) { return; } add_favorite af = new add_favorite(fpTreeView.SelectedNode.Tag.ToString(), fpTreeView.SelectedNode.Text, true); af.Owner = this; af.MdiParent = MdiParent; af.Show(); }