Commit 08d9896d authored by VihangiSalgado's avatar VihangiSalgado

Folder Creation

parent 4b27bd46
......@@ -29,26 +29,57 @@
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.Date = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Location = new System.Drawing.Point(12, 12);
this.panel1.Controls.Add(this.tableLayoutPanel1);
this.panel1.Location = new System.Drawing.Point(9, 58);
this.panel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(841, 245);
this.panel1.Size = new System.Drawing.Size(631, 151);
this.panel1.TabIndex = 0;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.Panel1_Paint);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
this.tableLayoutPanel1.ColumnCount = 3;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 76.17603F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 23.82398F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 134F));
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.Date, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0);
this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 2);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 18.0791F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 81.92091F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(625, 144);
this.tableLayoutPanel1.TabIndex = 0;
this.tableLayoutPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.TableLayoutPanel1_Paint);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.LavenderBlush;
this.button1.Font = new System.Drawing.Font("Calibri", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.button1.Location = new System.Drawing.Point(80, 302);
this.button1.Location = new System.Drawing.Point(60, 245);
this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(271, 41);
this.button1.Size = new System.Drawing.Size(203, 33);
this.button1.TabIndex = 1;
this.button1.Text = "Open Project ";
this.button1.UseVisualStyleBackColor = false;
......@@ -58,29 +89,85 @@
//
this.button2.BackColor = System.Drawing.Color.LavenderBlush;
this.button2.Font = new System.Drawing.Font("Calibri", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button2.Location = new System.Drawing.Point(481, 302);
this.button2.Location = new System.Drawing.Point(361, 245);
this.button2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(271, 41);
this.button2.Size = new System.Drawing.Size(203, 33);
this.button2.TabIndex = 2;
this.button2.Text = "Create New Project";
this.button2.UseVisualStyleBackColor = false;
this.button2.Click += new System.EventHandler(this.Button2_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(9, 27);
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(69, 20);
this.label1.TabIndex = 3;
this.label1.Text = "Recent :";
this.label1.Click += new System.EventHandler(this.Label1_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Dock = System.Windows.Forms.DockStyle.Top;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(4, 1);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(364, 18);
this.label2.TabIndex = 0;
this.label2.Text = "Project Name";
//
// Date
//
this.Date.AutoSize = true;
this.Date.Dock = System.Windows.Forms.DockStyle.Left;
this.Date.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Date.ForeColor = System.Drawing.Color.White;
this.Date.Location = new System.Drawing.Point(375, 1);
this.Date.Name = "Date";
this.Date.Size = new System.Drawing.Size(39, 25);
this.Date.TabIndex = 1;
this.Date.Text = "Date";
this.Date.Click += new System.EventHandler(this.Date_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(492, 1);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(40, 18);
this.label3.TabIndex = 2;
this.label3.Text = "User";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.MidnightBlue;
this.ClientSize = new System.Drawing.Size(865, 389);
this.ClientSize = new System.Drawing.Size(649, 316);
this.Controls.Add(this.label1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "Form1";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Assist ";
this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
......@@ -89,6 +176,11 @@
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label Date;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
}
}
......@@ -15,6 +15,7 @@ namespace WindowsFormsApp1
public Form1()
{
InitializeComponent();
// panel1.BackColor = Color.FromArgb(255, Color.Blue);
}
//Form1 assist = new Form1();
......@@ -37,6 +38,24 @@ namespace WindowsFormsApp1
crateProject.Show();
}
private void Label1_Click(object sender, EventArgs e)
{
}
private void Panel1_Paint(object sender, PaintEventArgs e)
{
}
private void TableLayoutPanel1_Paint(object sender, PaintEventArgs e)
{
}
private void Date_Click(object sender, EventArgs e)
{
}
}
}
......@@ -46,8 +46,26 @@ namespace WindowsFormsApp1
String path = location;
String file = System.IO.Path.Combine(path, FolederName);
System.IO.Directory.CreateDirectory(file);
DirectoryInfo directoryInfo = Directory.CreateDirectory(file);
if (checkBox1.Checked)
{
directoryInfo.CreateSubdirectory("Assets");
}
if (checkBox2.Checked)
{
directoryInfo.CreateSubdirectory("Shots");
}
if (checkBox3.Checked)
{
directoryInfo.CreateSubdirectory("Scenes");
}
MessageBox.Show("Successfully Created");
}
private void TextBox2_TextChanged(object sender, EventArgs e)
......@@ -92,6 +110,16 @@ namespace WindowsFormsApp1
Console.WriteLine(" bla bla bla" + abbrivation);
Console.WriteLine("utrgrguwuifwui");
}
private void RadioButton2_CheckedChanged(object sender, EventArgs e)
{
}
private void RadioButton1_CheckedChanged(object sender, EventArgs e)
{
}
}
}
......
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