Commit 7eeaf7c5 authored by VihangiSalgado's avatar VihangiSalgado

Project Interface

parent 6e0a43a4
......@@ -34,8 +34,8 @@
this.textBox1 = new System.Windows.Forms.TextBox();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.panel1 = new System.Windows.Forms.Panel();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
......@@ -105,15 +105,6 @@
this.panel1.Size = new System.Drawing.Size(454, 210);
this.panel1.TabIndex = 5;
//
// button1
//
this.button1.Location = new System.Drawing.Point(149, 151);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(90, 32);
this.button1.TabIndex = 5;
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Location = new System.Drawing.Point(288, 151);
......@@ -122,6 +113,17 @@
this.button2.TabIndex = 6;
this.button2.Text = "Cancel";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.Button2_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(149, 151);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(90, 32);
this.button1.TabIndex = 5;
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1_Click);
//
// Entry
//
......
......@@ -31,5 +31,15 @@ namespace WindowsFormsApp1
{
}
private void Button2_Click(object sender, EventArgs e)
{
this.Close();
}
private void Button1_Click(object sender, EventArgs e)
{
//this.Close();
}
}
}
......@@ -18,8 +18,8 @@ namespace WindowsFormsApp1
// panel1.BackColor = Color.FromArgb(255, Color.Blue);
}
//Form1 assist = new Form1();
Form2 crateProject = new Form2();
//Form1 assist = new Form1();
Form2 form = new Form2();
private void Form1_Load(object sender, EventArgs e)
{
......@@ -35,7 +35,9 @@ namespace WindowsFormsApp1
private void Button2_Click(object sender, EventArgs e)
{
crateProject.Show();
form.Show();
// this.Close();
}
private void Label1_Click(object sender, EventArgs e)
......
......@@ -19,7 +19,7 @@ namespace WindowsFormsApp1
}
Form3 TextProject = new Form3();
Form2 current = new Form2();
// Form2 current = new Form2();
private void Label1_Click(object sender, EventArgs e)
{
......@@ -52,7 +52,7 @@ namespace WindowsFormsApp1
private void Button2_Click(object sender, EventArgs e)
{
//current.Close();
//this.Close();
TextProject.Show();
String location = textBox2.Text;
......
......@@ -17,8 +17,8 @@ namespace WindowsFormsApp1
InitializeComponent();
}
Entry entry = new Entry();
Step step = new Step();
Entry Entry = new Entry();
Step Step = new Step();
private void Button1_Click(object sender, EventArgs e)
{
......@@ -147,12 +147,12 @@ namespace WindowsFormsApp1
private void CreateEntryToolStripMenuItem_Click(object sender, EventArgs e)
{
entry.Show();
Entry.Show();
}
private void CreateStepToolStripMenuItem_Click(object sender, EventArgs e)
{
step.Show();
Step.Show();
}
}
}
......@@ -201,24 +201,25 @@
this.openInExplorerToolStripMenuItem1,
this.copyPathToolStripMenuItem1});
this.contextMenuStrip2.Name = "contextMenuStrip2";
this.contextMenuStrip2.Size = new System.Drawing.Size(190, 76);
this.contextMenuStrip2.Size = new System.Drawing.Size(211, 104);
//
// createStepToolStripMenuItem
//
this.createStepToolStripMenuItem.Name = "createStepToolStripMenuItem";
this.createStepToolStripMenuItem.Size = new System.Drawing.Size(189, 24);
this.createStepToolStripMenuItem.Size = new System.Drawing.Size(210, 24);
this.createStepToolStripMenuItem.Text = "Create Step ";
this.createStepToolStripMenuItem.Click += new System.EventHandler(this.CreateStepToolStripMenuItem_Click);
//
// openInExplorerToolStripMenuItem1
//
this.openInExplorerToolStripMenuItem1.Name = "openInExplorerToolStripMenuItem1";
this.openInExplorerToolStripMenuItem1.Size = new System.Drawing.Size(189, 24);
this.openInExplorerToolStripMenuItem1.Size = new System.Drawing.Size(210, 24);
this.openInExplorerToolStripMenuItem1.Text = "Open in Explorer";
//
// copyPathToolStripMenuItem1
//
this.copyPathToolStripMenuItem1.Name = "copyPathToolStripMenuItem1";
this.copyPathToolStripMenuItem1.Size = new System.Drawing.Size(189, 24);
this.copyPathToolStripMenuItem1.Size = new System.Drawing.Size(210, 24);
this.copyPathToolStripMenuItem1.Text = "Copy Path";
//
// panel5
......@@ -238,25 +239,25 @@
this.openInExplorerToolStripMenuItem,
this.copyPathToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(211, 104);
this.contextMenuStrip1.Size = new System.Drawing.Size(190, 76);
//
// createShotToolStripMenuItem
//
this.createShotToolStripMenuItem.Name = "createShotToolStripMenuItem";
this.createShotToolStripMenuItem.Size = new System.Drawing.Size(210, 24);
this.createShotToolStripMenuItem.Size = new System.Drawing.Size(189, 24);
this.createShotToolStripMenuItem.Text = "Create Shot ";
this.createShotToolStripMenuItem.Click += new System.EventHandler(this.CreateShotToolStripMenuItem_Click);
//
// openInExplorerToolStripMenuItem
//
this.openInExplorerToolStripMenuItem.Name = "openInExplorerToolStripMenuItem";
this.openInExplorerToolStripMenuItem.Size = new System.Drawing.Size(210, 24);
this.openInExplorerToolStripMenuItem.Size = new System.Drawing.Size(189, 24);
this.openInExplorerToolStripMenuItem.Text = "Open in Explorer";
//
// copyPathToolStripMenuItem
//
this.copyPathToolStripMenuItem.Name = "copyPathToolStripMenuItem";
this.copyPathToolStripMenuItem.Size = new System.Drawing.Size(210, 24);
this.copyPathToolStripMenuItem.Size = new System.Drawing.Size(189, 24);
this.copyPathToolStripMenuItem.Text = "Copy Path";
//
// panel2
......
......@@ -17,7 +17,9 @@ namespace WindowsFormsApp1
InitializeComponent();
}
Shot shot = new Shot();
Shot Shot = new Shot();
Step Step = new Step();
private void Label1_Click(object sender, EventArgs e)
{
......@@ -26,7 +28,12 @@ namespace WindowsFormsApp1
private void CreateShotToolStripMenuItem_Click(object sender, EventArgs e)
{
shot.Show();
Shot.Show();
}
private void CreateStepToolStripMenuItem_Click(object sender, EventArgs e)
{
Step.Show();
}
}
}
......@@ -15,7 +15,7 @@ namespace WindowsFormsApp1
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.SetCompatibleTextRenderingDefault(true);
Application.Run(new Form1());
}
}
......
......@@ -36,5 +36,15 @@ namespace WindowsFormsApp1
{
}
private void Button2_Click(object sender, EventArgs e)
{
this.Close();
}
private void Button1_Click(object sender, EventArgs e)
{
//this.Close();
}
}
}
......@@ -46,5 +46,10 @@ namespace WindowsFormsApp1
{
}
private void Button2_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment