private ChatSplitDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Input.MouseButtonEventArgs | |
리턴 | void |
private void ChatSplitDoubleClick(object sender, MouseButtonEventArgs e)
{
if (chatIsMaxed)
{
ChatGridEmptyPart.Height = new GridLength(100, GridUnitType.Star);
ChatGridChatPart.Height = new GridLength(playerTabs.ActualHeight);
ChatSplit.DragIncrement = 1;
chatIsMaxed = false;
}
else
{
ChatGridEmptyPart.Height = new GridLength(0, GridUnitType.Star);
ChatGridChatPart.Height = new GridLength(100, GridUnitType.Star);
ChatSplit.DragIncrement = 10000;
chatIsMaxed = true;
}
}