43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Resources;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Remontor
|
|
{
|
|
public partial class BarSessionControl : UserControl
|
|
{
|
|
public delegate bool HideWors();
|
|
public HideWors hideWors;
|
|
|
|
public BarSessionControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void ShowBar_Click(object sender, EventArgs e)
|
|
{
|
|
if (!hideWors())
|
|
{
|
|
ShowBar.BackgroundImage = global::Remontor.Properties.Resources.down_min11;
|
|
}
|
|
else
|
|
{
|
|
ShowBar.BackgroundImage = global::Remontor.Properties.Resources.up_min1;
|
|
}
|
|
}
|
|
|
|
private void NewBtn_Click(object sender, EventArgs e)
|
|
{
|
|
Finder.Finder finder = new Finder.Finder();
|
|
finder.ShowDialog();
|
|
}
|
|
}
|
|
}
|