Junior Spellweaver
- Joined
- Dec 29, 2015
- Messages
- 111
- Reaction score
- 75
Hey guys,
I started about 2 years (2 times breaked) a new Project called 'Shotly', cuz I want to expand C# skillz.
Shotly.NET was an idea from a old friend and a big youtuber. They started the project and I joined into this nice group. But one day it came to a dispute. We did a break and now we're back. I'm currently working alone on Shotly.NET and searched some nice guys via Facebook.
If they are some C# developer here, they can help me maybe.
That things are done:
What must be done:
What's the different between us and the others?
We have a cool language system and a fast server. We're hosting our servers at Voxility with 10gbits DDoS Protection. We try our best to make user happy.
We also search users who can help us to translate Shotly.
Translated languages:
Snippets & Screenshots
see ya
I started about 2 years (2 times breaked) a new Project called 'Shotly', cuz I want to expand C# skillz.
Shotly.NET was an idea from a old friend and a big youtuber. They started the project and I joined into this nice group. But one day it came to a dispute. We did a break and now we're back. I'm currently working alone on Shotly.NET and searched some nice guys via Facebook.
If they are some C# developer here, they can help me maybe.
You must be registered to see links
(send PM if you want to help me)That things are done:
- Capture desktop
- Capture active window
- Language System
- Config-Class (config.ini)
- Capture area
- Graphics
- Log System (log4net ^.^)
What must be done:
- Database
- Rest API in NodeJS
- Website
- API to other uploaders (like Imgur, but the screen will be saved in our servers)
What's the different between us and the others?
We have a cool language system and a fast server. We're hosting our servers at Voxility with 10gbits DDoS Protection. We try our best to make user happy.
We also search users who can help us to translate Shotly.
Translated languages:
- German
- English
Snippets & Screenshots
Code:
public void closeForm() {
shotlyNotification.Visible = false;
shotlyNotification.Icon = null;
shotlyNotification.Visible = false;
shotlyNotification.Dispose();
Logger.Info("Closing Shotly");
Logger.Debug("-------------------------------------------------------------------");
}
Code:
private void setLanguageComponents() {
try
{
//Form
Text = Language.get("SHOTLY_GENERAL_FORM_TEXT");
//Tabs
shotlyGeneralTab1.Text = Language.get("SHOTLY_GENERAL_TAB_1");
shotlyGeneralTab2.Text = Language.get("SHOTLY_GENERAL_TAB_2");
shotlyGeneralTab3.Text = Language.get("SHOTLY_GENERAL_TAB_3");
//Tab1
generalSettingsGroup.Text = Language.get("SHOTLY_GENERAL_TAB_1_SETTINGSBOX");
startupCheckbox.Text = Language.get("SHOTLY_GENERAL_TAB_1_START_WITH_WINDOWS");
if(Config.get("Shotly", "startup") == "false")
{
startupCheckbox.Checked = false;
Logger.Info("Shotly doesn't start with Windows");
}
else
{
startupCheckbox.Checked = true;
Logger.Info("Shotly will start with Windows");
}
//Tab3
shotlyGeneral3Header.Text = Language.get("SHOTLY_GENERAL_TAB_3_HEADER_TEXT");
clipboardGroup.Text = Language.get("SHOTLY_GENERAL_TAB_3_CLIPBOARD");
localScreensGroup.Text = Language.get("SHOTLY_GENERAL_TAB_3_LOCAL_SCREENS");
shotlyGroupLanguage.Text = Language.get("SHOTLY_GENERAL_TAB_3_LANGUAGE");
saveScreensCheck.Text = Language.get("SHOTLY_GENERAL_TAB_3_SAVE_SCREENS_QUESTION");
setDefaultScreenshotPath.Text = Language.get("SHOTLY_GENERAL_TAB_3_SET__DEFAULT_SCREENSHOT_PATH");
openFolder.Text = Language.get("SHOTLY_GENERAL_TAB_3_OPEN_SCREENSHOT_FOLDER");
screenshotPath.Text = Config.get("Shotly", "screenshotPath");
if (Config.get("Shotly", "saveScreenshotsLocal") == "false")
{
setDefaultScreenshotPath.Enabled = false;
setScreenPath.Enabled = false;
openFolder.Enabled = false;
saveScreensCheck.Checked = false;
Logger.Info("Cann't save screenshots locally - check your Settings");
}
else
{
setDefaultScreenshotPath.Enabled = true;
setScreenPath.Enabled = true;
openFolder.Enabled = true;
saveScreensCheck.Checked = true;
Logger.Info("It's possible to save screenshots locally");
}
}
catch(Exception exe)
{
Logger.Error("Cann't set language components - Exception " + exe.ToString());
Main m = new Main();
m.closeForm();
}
}
Code:
private void languageDropDown_SelectedIndexChanged(object sender, EventArgs e) {
try
{
switch (languageDropDown.Text)
{
case "English":
Config.set("lang", "english", "Shotly");
break;
case "Deutsch":
Config.set("lang", "german", "Shotly");
break;
}
Logger.Info("Changed language to " + languageDropDown.Text);
Language.loadLang();
Logger.Info("Loaded Language-File");
setLanguageComponents();
Logger.Info("Loading language components");
}
catch (Exception ex)
{
Logger.Error("Can't set language - Exception" + ex.ToString());
Main m = new Main();
m.closeForm();
}
}
see ya
Last edited: