mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Refactored the Office Destinations, including the Interop & configuration, to the new Office plug-in. Also refactored some code to be more consistent.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2131 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
5714b59a14
commit
4d399a60ac
34 changed files with 739 additions and 365 deletions
|
@ -170,7 +170,7 @@ namespace Greenshot {
|
|||
}
|
||||
|
||||
private void DisplayPluginTab() {
|
||||
if (!PluginHelper.instance.HasPlugins()) {
|
||||
if (!PluginHelper.Instance.HasPlugins()) {
|
||||
this.tabcontrol.TabPages.Remove(tab_plugins);
|
||||
} else {
|
||||
// Draw the Plugin listview
|
||||
|
@ -181,7 +181,7 @@ namespace Greenshot {
|
|||
foreach (string column in columns) {
|
||||
listview_plugins.Columns.Add(column);
|
||||
}
|
||||
PluginHelper.instance.FillListview(this.listview_plugins);
|
||||
PluginHelper.Instance.FillListview(this.listview_plugins);
|
||||
// Maximize Column size!
|
||||
for (int i = 0; i < listview_plugins.Columns.Count; i++) {
|
||||
listview_plugins.AutoResizeColumn(i, ColumnHeaderAutoResizeStyle.ColumnContent);
|
||||
|
@ -393,7 +393,7 @@ namespace Greenshot {
|
|||
coreConfiguration.UpdateCheckInterval = (int)numericUpDown_daysbetweencheck.Value;
|
||||
|
||||
// Make sure the current language & settings are reflected in the Main-context menu
|
||||
MainForm.instance.UpdateUI();
|
||||
MainForm.Instance.UpdateUI();
|
||||
|
||||
try {
|
||||
// Check if the Run for all is set
|
||||
|
@ -453,11 +453,11 @@ namespace Greenshot {
|
|||
}
|
||||
|
||||
void Listview_pluginsSelectedIndexChanged(object sender, EventArgs e) {
|
||||
button_pluginconfigure.Enabled = PluginHelper.instance.isSelectedItemConfigurable(listview_plugins);
|
||||
button_pluginconfigure.Enabled = PluginHelper.Instance.isSelectedItemConfigurable(listview_plugins);
|
||||
}
|
||||
|
||||
void Button_pluginconfigureClick(object sender, EventArgs e) {
|
||||
PluginHelper.instance.ConfigureSelectedItem(listview_plugins);
|
||||
PluginHelper.Instance.ConfigureSelectedItem(listview_plugins);
|
||||
}
|
||||
|
||||
void Combobox_languageSelectedIndexChanged(object sender, EventArgs e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue