Skip to content

Commit

Permalink
added project
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarRadojicic committed May 6, 2023
1 parent 119aa37 commit 92659d3
Show file tree
Hide file tree
Showing 38 changed files with 3,243 additions and 0 deletions.
1,020 changes: 1,020 additions & 0 deletions PaintSetup/PaintSetup.vdproj

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions Projekat.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32929.385
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Projekat", "Projekat\Projekat.csproj", "{189E7DCD-ECBE-4739-B7A0-CA0C8C1A2CDC}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "PaintSetup", "PaintSetup\PaintSetup.vdproj", "{8E86D7AC-1FF2-4FCF-A812-E1123FD3C1BF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{189E7DCD-ECBE-4739-B7A0-CA0C8C1A2CDC}.Debug|Any CPU.ActiveCfg = Release|Any CPU
{189E7DCD-ECBE-4739-B7A0-CA0C8C1A2CDC}.Debug|Any CPU.Build.0 = Release|Any CPU
{189E7DCD-ECBE-4739-B7A0-CA0C8C1A2CDC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{189E7DCD-ECBE-4739-B7A0-CA0C8C1A2CDC}.Release|Any CPU.Build.0 = Release|Any CPU
{8E86D7AC-1FF2-4FCF-A812-E1123FD3C1BF}.Debug|Any CPU.ActiveCfg = Release
{8E86D7AC-1FF2-4FCF-A812-E1123FD3C1BF}.Release|Any CPU.ActiveCfg = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {457BA666-24D8-4B8E-9E78-43DDF1BF32BD}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions Projekat/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
14 changes: 14 additions & 0 deletions Projekat/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Projekat
{
class Class1
{
public static int Kanvas_Height{get; set;}
public static int Kanvas_Width{get; set;}
}
}
154 changes: 154 additions & 0 deletions Projekat/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions Projekat/Form1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Projekat
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
Form2 Form2 = new Form2();


Class1.Kanvas_Height = Convert.ToInt32(Math.Round(numericUpDown1.Value));
Class1.Kanvas_Width = Convert.ToInt32(Math.Round(numericUpDown2.Value));

Hide();
Form2.TopMost = true;
Form2.ShowDialog();
Close();
}

private void Form1_Load(object sender, EventArgs e)
{

}
}
}
Loading

0 comments on commit 92659d3

Please sign in to comment.