- youmanager_src.zip
- Manager
- youmanager_demo.zip
- Demo
- AxInterop.DIRECTORSHOCKWAVELib.dll
- AxInterop.ShockwaveFlashObjects.dll
- AxInterop.WMPLib.dll
- Google.GData.Client.dll
- Google.GData.Extensions.dll
- Google.GData.YouTube.dll
- Interop.DIRECTORSHOCKWAVELib.dll
- Interop.ShockwaveFlashObjects.dll
- Interop.WMPLib.dll
- You Manager.exe
- youmanager_demo.zip
- AxInterop.DIRECTORSHOCKWAVELib.dll
- AxInterop.ShockwaveFlashObjects.dll
- AxInterop.WMPLib.dll
- Google.GData.Client.dll
- Google.GData.Extensions.dll
- Google.GData.YouTube.dll
- Interop.DIRECTORSHOCKWAVELib.dll
- Interop.ShockwaveFlashObjects.dll
- Interop.WMPLib.dll
- You Manager.exe
- youmanager_src.zip
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Manager
{
public partial class SSettings : Form
{
#region searchsettings
string author = "", orderby = "", qry = "", safesearch = "", sname = "";
int choice = 0;
public int Choice
{
get { return choice; }
set { choice = value; }
}
public string Sname
{
get { return sname; }
set { sname = value; }
}
public string Safesearch
{
get { return safesearch; }
set { safesearch = value; }
}
public string Qry
{
get { return qry; }
set { qry = value; }
}
public string Orderby
{
get { return orderby; }
set { orderby = value; }
}
public string Author
{
get { return author; }
set { author = value; }
}
#endregion
public SSettings()
{
InitializeComponent();
}
private void SSettings_Load(object sender, EventArgs e)
{
cmbOrderBy.SelectedIndex = 0;
cmbSafesearch.SelectedIndex = 0;
}
private void btnOK_Click(object sender, EventArgs e)
{
if (txtAuthor.Text != "" || txtQuerry.Text != "")
{
if (cmbOrderBy.SelectedIndex >= 0 || cmbOrderBy.SelectedIndex <= 3)
{
if (cmbSafesearch.SelectedIndex >= 0 || cmbSafesearch.SelectedIndex <= 2)
{
choice = 1;
author = txtAuthor.Text;
orderby = cmbOrderBy.SelectedIndex.ToString();
qry = txtQuerry.Text;
safesearch = cmbSafesearch.SelectedIndex.ToString();
this.Hide();
}
}
}
else { MessageBox.Show("Please enter the correct data");}
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void button1_Click(object sender, EventArgs e)
{
if (txtSname.Text != "")
{
sname = txtSname.Text;
choice = 2;
this.Hide();
}
else { MessageBox.Show("Please enter the name"); }
}
private void button2_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I completed my engineering in 2010.. Then i am working as freelancer.