Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2020_068
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2020_068
2020_068
Commits
82b1d858
Commit
82b1d858
authored
May 26, 2020
by
VihangiSalgado
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
File Management
parent
fc88d1bc
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
69 deletions
+81
-69
AssistPlugin/WindowsFormsApp1/Form1.Designer.cs
AssistPlugin/WindowsFormsApp1/Form1.Designer.cs
+60
-69
AssistPlugin/WindowsFormsApp1/Form2.cs
AssistPlugin/WindowsFormsApp1/Form2.cs
+21
-0
No files found.
AssistPlugin/WindowsFormsApp1/Form1.Designer.cs
View file @
82b1d858
This diff is collapsed.
Click to expand it.
AssistPlugin/WindowsFormsApp1/Form2.cs
View file @
82b1d858
...
@@ -49,12 +49,14 @@ namespace WindowsFormsApp1
...
@@ -49,12 +49,14 @@ namespace WindowsFormsApp1
private
void
Button2_Click
(
object
sender
,
EventArgs
e
)
private
void
Button2_Click
(
object
sender
,
EventArgs
e
)
{
{
String
location
=
textBox2
.
Text
;
String
location
=
textBox2
.
Text
;
String
FolederName
=
textBox1
.
Text
;
String
FolederName
=
textBox1
.
Text
;
String
path
=
location
;
String
path
=
location
;
String
file
=
System
.
IO
.
Path
.
Combine
(
path
,
FolederName
);
String
file
=
System
.
IO
.
Path
.
Combine
(
path
,
FolederName
);
DirectoryInfo
directoryInfo
=
Directory
.
CreateDirectory
(
file
);
DirectoryInfo
directoryInfo
=
Directory
.
CreateDirectory
(
file
);
string
subFile
=
FolederName
;
if
(
checkBox1
.
Checked
)
if
(
checkBox1
.
Checked
)
{
{
...
@@ -71,6 +73,25 @@ namespace WindowsFormsApp1
...
@@ -71,6 +73,25 @@ namespace WindowsFormsApp1
directoryInfo
.
CreateSubdirectory
(
"Scenes"
);
directoryInfo
.
CreateSubdirectory
(
"Scenes"
);
}
}
string
rootpath
=
@"C:\Assist Backup"
;
string
folder
=
System
.
IO
.
Path
.
Combine
(
rootpath
,
FolederName
);
DirectoryInfo
rootInfo
=
Directory
.
CreateDirectory
(
folder
);
if
(
checkBox1
.
Checked
)
{
rootInfo
.
CreateSubdirectory
(
"Assets"
);
}
if
(
checkBox2
.
Checked
)
{
rootInfo
.
CreateSubdirectory
(
"Shots"
);
}
if
(
checkBox3
.
Checked
)
{
rootInfo
.
CreateSubdirectory
(
"Scenes"
);
}
MessageBox
.
Show
(
"Successfully Created"
);
MessageBox
.
Show
(
"Successfully Created"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment